News Feed
Sections




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

Trevor Morris' Blog:
fuelphp, forms and validation
June 15, 2011 @ 09:57:28

In this post to his blog Trevor Morris talks about his own introduction to the Fuel framework and some of his investigation into working with its forms support and validating the user input that comes from them.

I have been working on developing a website with the newest PHP framework on the block - Fuel, which describes itself as "a simple, flexible, community driven PHP 5.3 web framework based on the best ideas of other frameworks with a fresh start". [...] Although Fuel is a new framework, it borrows a lot of ideas from two very popular PHP frameworks, CodeIgniter and Kohana.

He starts off with one concern, a lack of documentation around some things that made it difficult for him to work with the HTML form helpers. He includes an example code snippet to show a basic email form field generation. Behind the scenes, he shows how to use the Validation library to add rules on the fields and check for a pass/fail status on the fields.

2 comments voice your opinion now!
fuelphp forms validation tutorial


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Using SPL Iterators in PHP to Interact with Different Data Types

Mikko Koppanen's Blog: Color analysis

Brian Swan's Blog: Using the Zend Framework and the PDO_SQLSRV Driver

SitePoint.com: Create Dynamic Images with ImageMagick

NETTUTS.com: CodeIgniter from Scratch: File Uploading and Image Manipulation


Community Events





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


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

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