simplethings/SimpleThingsFormSerializerBundle — pull request #28 by beberlei (2012-07-30 16:31:02+00:00)
Title: [WIP] JMS Serializer Bundle Integration

The serialization performance of larger graphs with the form component is very slow. This is due to the form creating and binding of data. Compared to that JMS Serializer bundle is very fast.

We should aim at using JMS Serializer for serialization, based on Form Type Metadata. The same form type metadata is used for deserialization.

This is a WIP, what needs to be done:

1. Normalization of data with forms is much more powerful than with JMS Serializer. Both are not compatible.
2. Property Paths in forms cannot be replicated in JMS.
3. There can potentially be many form types for one entity. This cannot be replicated with groups in JMS Serializer. We need the form serializer to build an "on demand" metadata factory for a given graph, but cachable.
4. Form "entity" type is not replicable in JMS Serializer with both multiple = true and false