[TYPO3-mvc] Extbase: Retrieving data from a custom table defined at runtime
Mathias Bolt Lesniak, LiliO Design
mathias at lilio.com
Wed Apr 7 13:35:17 CEST 2010
Hi Martin!
On 2. apr. 2010, at 13.14, Martin Kutschker wrote:
> Mathias Bolt Lesniak, liliO Design schrieb:
>>
>> What is the best way to achieve this within Extbase? (In the good old SQL days it wouldn't have been to hard.)
>
> But if you have no behaviour (ie methods of an object) you have only data. How shall ExtBase help
> you? Basically ExtBase provides two features: object persistence with a DDD approach via
> repositories and a MVC framework (more or less tightly couples to FLUID).
I'm not looking for a finished way to do it within ExtBase. I'm rather looking for a way to keep custom table queries within the MVC, preferably without having to wirte a new persistence framework (sic). The necessary behavior of the domain objects can be added by subclassing and overloading Tx_Extbase_DomainObject_AbstractEntity.
The persistence framework in ExtBase accesses tables based on the reflection cache and some other configurations automatically derived from different data (like table name == class name). I'm having a logical problem seeing how it should be impossible to subclass my way into deriving those configurations from a different source. Hey - I'm only asking for a push in the right direction about where to look. I'm not asking for a finished prototype. :-)
Best wishes
Mathias Bolt Lesniak
LiliO Design - www.lilio.com
mathias at lilio.com
More information about the TYPO3-project-typo3v4mvc
mailing list