News Feed
Sections




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

Richard McIntyre's Blog:
Weaving Lithium #li3 into a legacy PHP application incrementally
December 15, 2010 @ 09:18:17

Richard McIntyre has posted about his experiences in working the features the Lithium framework into one of his current applications, mostly because of its support for Doctrine and its heavily decoupled nature.

I have a legacy application which was originally written in straight PHP with a few classes that I have created for convenience, but this is old and I am wanting to get this into a modern web framework. [...] I wanted to update my site with better validations anyway so I will start with flash messages and then validations. For flash messages in lithium you will need the li3_flash_message plugin.

He works through the different parts of the framework setup he needed including a simple bootstrap file and configuring it to use the li_flash_message library. He shows how to use validation rules on submitted data to ensure things like email an link format validity as well as spit back a message for any that are incorrect.

0 comments voice your opinion now!
lithium framework li3 refactor application flash message


blog comments powered by Disqus

Similar Posts

Utah PHP Users Group: CodeIgniter - the PHP answer?

The Bakery: PremierMarinas.com, ScienceHack.com and an iPhone App

Felix Geisendorfer's Blog: CakePHP Bleeding Edge - Google Group

Community News: Symfony Turns One

Federico Cargnelutti's Blog: Domain-Driven Design with Zend Framework


Community Events





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


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

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