[TYPO3-mvc] @dontpersist
Bastian Waidelich
bastian at typo3.org
Thu Jul 15 12:41:57 CEST 2010
Felix Oertel wrote:
Hi Felix,
> what do you guys think about an "@dontpersist" annotation on domain
> models to prevent them being persisted automatically
I wouldn't put that information in the model. If at all, that should
rather be an annotation in the controller / action.
> In the very most of my extensions I don't have user input in the FE at
> all and thus don't need auto-persistence.
But objects are only persisted if they were changed anyways.. Why do you
need this feature? Performance?
Best,
Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list