News Feed
Sections




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

Paul Jones' Blog:
Instant Forms from Tables with Solar
April 14, 2006 @ 08:21:28

Paul Jones, in response to a question about his Solar framework concerning the creation of forms using table definitions, has answered "yes!" and shows us how in this new post.

Here's an example: 2 lines to start Solar, 2 lines to connect to an existing Solar_Sql_Table, 2 lines to create a Solar_Form using the table columns, and 2 lines to display it with Solar_View using the associated form helper. (The "Solar_Model_Nodes" table is part of the existing Solar_Content domain model.)

He gives the code needed to make it happen as well as a brief explaination on how it all works.

0 comments voice your opinion now!
solar framework tables forms instant solar framework tables forms instant


blog comments powered by Disqus

Similar Posts

Ibuildings techPortal: Create MVC: Meet the ViewModel Pattern

Scott Mattocks: LUCID Development

Community News: PRADO Watch Blog Launched

International PHP Magazine: Poll Question: Which Is Your Favourite PHP Framework?

Paul Jones\' Blog: Solar 0.18.0 released, and more about testing


Community Events





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


framework code community testing introduction laravel release install refactor threedevsandamaybe language unittest list experience configure opinion interview developer podcast series

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