[FLOW3-general] Storing JSON object
Dominique Feyer
dfeyer at ttree.ch
Fri Feb 10 14:53:47 CET 2012
After a discussion with Karsten on Twitter, I open a bug on forge:
http://forge.typo3.org/issues/33838
Dominique Feyer wrote:
> Hello,
>
> I work on a project where I need to have some "custom fields" per model
> and per client. The application is multi client, so I need to be flexible.
>
> My current idea is to stored this custom field as JSON object
> (serialized). It's not a problem for searching and/or ordering, we use
> an external ElasticSearch for that.
>
> For an Example model object with those fields:
>
> ExampleObject:
> - id
> - type
> - customFields
>
> The type will store the name of a serialized object, and the fields
> customFields will store the content of the object, but during the life
> of the object, this property will store the normal PHP object.
>
> How can I do that with Doctrine/FLOW3 ?
>
> Thanks for your help
>
> Bests,
>
> Dominique Feyer
More information about the FLOW3-general
mailing list