News Feed
Sections




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

IBM developerWorks:
MVC with Agavi - Add forms and database support with Agavi and Doctrine
July 28, 2009 @ 07:51:01

The second part of the IBM developerWorks series looking at the Agavi PHP framework has been posted. In it Vikram Vaswani loks at adding forms and database support to his example via Doctrine.

While Agavi can certainly be used to serve up static content, it really shines when you use it for something more complex. And in this second part, you'll do just that - over the next few pages, you'll learn how to receive, validate, and process input from Web forms, as well as connect your Agavi application to a MySQL database.

He returns to his simple templated example site and shows how to use the command line agavi tool to create the routing and controller to handle the "contact us" requests. He includes form validation examples, how to use the population filter, and how to generate the Doctrine models to connect with the form directly.

0 comments voice your opinion now!
agavi form database doctrine tutorial


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Building Template-Driven Web Applications with Dwoo (part 1)

Anthony Wlodarski's Blog: Node.js and Zend Auth with Sessions stored in the database

O'Reilly Broadcast: Getting Drupal and mod_security to Play Nicely Together on Red Hat 5.x Servers

The Bakery: ToniAcl Component Tutorial

Script-Tutorials.com: How to parse web pages using XPath


Community Events





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


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

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