News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Symfony Blog:
Symfony2 Getting Easier - Interactive Generators
June 22, 2011 @ 10:09:39

On the Symfony blog they've posted the latest in their "Getting Easier" series looking at some of the things being done for the framework to help make it more appealing for those just coming in. In this new article they look at the new interactive generators that help you create the code you'll need to set up your bundles without a lot of manual effort.

symfony1 has generators for all those things, but until now, Symfony2 was not very good at generating code. Well, that's "fixed" now, thanks to the new GeneratorBundle. The bundle is included by default in Symfony SE (as of 2.0.0 RC1 which will be released on June 24th) and it knows how to generate bundles, forms, Doctrine entities, and simple CRUD controllers to get you started even faster.

A screencast is included in the post showing the process of running the new tool and generate all of the configurations you'll need for a bundle, a Doctrine2 entity, database creation and the CRUD interfaces for a Doctrine entity. You can grab the code for this new bundle from the Sensio github account.

0 comments voice your opinion now!
symfony2 framework interactive generator screencast example


blog comments powered by Disqus

Similar Posts

PHP Thinktank Blog: PHP-GTK with scottmattocks (IRC Talk Series)

Felix Geisendörfer's Blog: How to Plugin'ize Your App

Acquia Blog: The Future of PHP is Shared Power Tools

Jim Plush's Blog: MYBIC GOES 1.0! (yes, yes with firebug debugger!)

Andi Gutmans' Blog: Inside Zend Server: Linux Take 2 - Examples


Community Events





Don't see your event here?
Let us know!


symfony introduction deployment laravel series library list tips interview release opinion podcast framework language package voicesoftheelephpant community api install bugfix

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework