blog.Resource

Archive:

News-Feeds:


RSS 2.0
RSS 0.91
RDF
ATOM 0.3
February 9, 2010

Scaffolding for the Extbase Kickstarter

By: Sebastian Kurfürst

I'm working again on the Extbase Kickstarter - namely on the Scaffolding of Controllers and Templates. Check out the screencast!

If you want to watch the video, go to Vimeo!

After quite a long TYPO3 break for me where I got some new ideas and tried out some different technologies, I finally wanted to do some TYPO3 work again - and thought about how to make the Extbase Kickstarter more feature-complete. I tackled Scaffolding, as I believe this is what is badly missing.

Scaffolding is the automatic generation of Create, Update, List, and Delete-functionality based on a model. That is, when you start with developing your model, you normally don't care about the template or your controllers, but you want it to "just work".

I've built a special base controller called "Tx_ExtbaseKickstarter_Scaffolding_AbstractScaffoldingController", which the kickstarter will now automatically use as base class in new controllers. This controller on-the-fly creates fluid templates for listing, creation, and editing of domain objects, based on the properties of the domain object. Thus, if you modify your domain object (and the Database and TCA in parallel), the frontend output will automatically adjust; making quick model changes easily possible.

As your model matures, there will be a point in time where you start working on the frontend output, and the templates. At this point, you'll want to explicitly write the fluid templates to disk, and start with them. This still needs to be implemented.

I've created a screencast explaining the current state of this feature! I'd love to hear feedback to you, best via the typo3.projects.typo3v4mvc newsgroup.

Greets,
Sebastian


comments

comment #1
Gravatar: Steffen Müller Steffen Müller February 9, 2010 14:50
Good to have a demo showing the progress of the kickstarter. Great work, Sebastian.

comment #2
Gravatar: Fabien Udriot Fabien Udriot February 9, 2010 15:40
Thanks a bunch for putting energy in that a crucial project.

comment #3
Gravatar: Ron Hall Ron Hall February 10, 2010 01:44
Thanks for the video. ExtBase and Fluid are so important in the continuing development of the TYPO3 v4 branch.

comment #4
Gravatar: c.coleman@rapidfyre.net c.coleman@rapidfyre.net February 11, 2010 20:52
That's some good stuff there! I'm excited to see you have put some thought into the process and many many people are benefiting by it.

God bless!

comment #5
Gravatar: Cosmin Stefaniga Cosmin Stefaniga February 15, 2010 12:29
Thanks for doing this. Great work!

Sorry, comments are closed for this post.