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
Apr 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.

tagged: solar framework tables forms instant solar framework tables forms instant