JMS Serializer quick tour

download JMS Serializer quick tour

of 38

Embed Size (px)

Transcript of JMS Serializer quick tour

JMS SerializerExperience feedbackAim ?SerializeAim ?xml, json, ymlDepuis un objet vers sa version serialiseDeserializeAim ?xml, json, ymlHow it works ?A PHP ComponentHow it works ?Visitor patternHow it works ?Basic usage

Basic usage

Basic usageA SF2 BundleConfigurationAnnotationConfigurationXMLConfigurationYAMLConfigurationYAMLConfigurationConfiguration

Third-Party ConfigurationConfigurationConfiguration

Event systemUsageEvent system

serializer.pre_serializeEvent system

serializer.post_serializeEvent system

serializer.pre_deserializeEvent system

serializer.post_serializeEvent system

Register eventsEvent system

Event system

Event system

HandlersUsageHandlersConfigurationHandlersHandlers

Virtual propertiesUsageVirtual propertiesConfigurationVirtual propertiesVirtual properties

Future ?Questions ?