Working examples attached!
I am very happy to be able to introduce you all to the world's first Extbase Model capable of existing completely without any TCA or ext_tables.sql files - at all. Only the Model class files are used to generate all the necessary schema data.
This is still a work in progress, it is merely proof-of-concept quality and has only limited support - but it works, and it not only automatically creates all your SQL tables and TCA arrays, it also is able to modify the tables on-the-fly as you modify your code. In the future this capability will be activated through a Development context but in this early version everything takes place live.
Note that this is Reflection based, which means you must either clear the cache to trigger an update - or disable the Reflection cache. Alexander Schnitzler has a <link http: www.alexanderschnitzler.de disable-extbase-reflection-cache-during-development-typo3-4-6 external-link-new-window external link in new>great example on how to disable the Reflection cache.
So without further ado:
<link fileadmin site resources public examples t3x_magic-0_0_1-z-201201302220.t3x download file>The Magic extension
<link fileadmin site resources public examples t3x_magicexample-0_0_1-z-201201302220.t3x download file>The Magic Example extension
Feedback is appreciated. The Magic team is open for members who would like to contribute to the project!