[TYPO3-mvc] How to handle reserved words in field definitions? (Kickstarter)

Sebastian Kurfürst sebastian at typo3.org
Thu Feb 18 10:32:55 CET 2010


Hey,

>> 1) We can add backtics `usage` to the field definition.
>> Not a really good solution, as the core doesn't prefix fields at many
>> places.
> in general i think this should be the way to go, since it is the "most
> clean" solution.
> If core is not "able" to handle this, we might add it in Core. Probably
> this makes it easier for dbal and Xavier too.
> But he's the Database expert und should comment on that.
+1 :-)

>> 2) We can add a prefix to every (property related) field, like
>> tx_myext_usage.
>> This is my preferred solution now, as we solve another issue coming up
>> with extendability of domain models. We have to handle that
>> transparently inside Extbase, so that you never get in touch with the
>> prefix if you not look at your database ;-).
> please Do NOT!
-1 as well, I think that's really ugly for non-extended tables.

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list