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

Mark Kimsal's Blog: Is Your MVC MIA When it Comes to 404s?

Paul Jones' Blog: The Stenhouse CSS Framework and Solar

Tony Bibbs' Blog: Join me at the 2008 DC PHP Conference (Frameworks Talk)

Eirik Hoem's Blog: Why Delphi for PHP should have used Prado instead of VCL

Zend Developer Zone: Zend Framework Code Freeze (0.6.0 is Coming)


Community Events





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


series tool version release interview application opinion introduction podcast package community symfony composer voicesoftheelephpant laravel update language framework security library

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