Enables your PHP application to expose its entities as REST resources using the feature rich JSON:API specification as API. How and to whom your entities are exposed is highly customizable while minimizing boilerplate code.
What was previously named XyzBuilder* should now be named *Config*.
What was previously named *XyzConfig* should now be named Xyz (or XyzProperty* in rare cases).
The term "Type" should be preferred over "Resource".
Examples:
from
to
ResourceConfig
Schema
ResourceConfigInterface
SchemaInterface
IdentifierConfigBuilder
IdentifierConfig
ResourceConfigBuilderFromEntityGenerator
TypeConfigGenerator
AbstractResourceConfigBuilder
AbstractSchemaConfig
BaseSchemaBuilder
BaseSchemaConfig
MagicResourceConfigBuilder
MagicSchemaConfig
UnifiedResourceConfigBuilder
ArraySchemaConfig
ResourceConfigBuilderInterface
SchemaConfigInterface
PropertyConfigBuilderInterface
PropertyConfigInterface
PropertyConfigInterface
PropertyInterface
PropertyBuilderFactory
PropertyConfigFactory
Also consider the future of the contained build* methods. When moving away from implying the builder pattern, it makes sense to at least rename these methods or even use a different approach.
Additional renamings:
from
to
FieldsException
FieldsetFormatException
ConditionParserInterface (and other "parsers" like its child classes)
Something non-"parser", as a real parser has a very specific way of working
XyzBuilder*
should now be named*Config*
.*XyzConfig*
should now be namedXyz
(orXyzProperty*
in rare cases).Examples:
ResourceConfig
Schema
ResourceConfigInterface
SchemaInterface
IdentifierConfigBuilder
IdentifierConfig
ResourceConfigBuilderFromEntityGenerator
TypeConfigGenerator
AbstractResourceConfigBuilder
AbstractSchemaConfig
BaseSchemaBuilder
BaseSchemaConfig
MagicResourceConfigBuilder
MagicSchemaConfig
UnifiedResourceConfigBuilder
ArraySchemaConfig
ResourceConfigBuilderInterface
SchemaConfigInterface
PropertyConfigBuilderInterface
PropertyConfigInterface
PropertyConfigInterface
PropertyInterface
PropertyBuilderFactory
PropertyConfigFactory
Also consider the future of the contained
build*
methods. When moving away from implying the builder pattern, it makes sense to at least rename these methods or even use a different approach.Additional renamings:
FieldsException
FieldsetFormatException
ConditionParserInterface
(and other "parsers" like its child classes)