News Feed
Sections




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

Michael Nitschinger's Blog:
Understanding the Lithium Router - Part 1
February 07, 2011 @ 13:55:11

Michael Nitschinger has posted the first part of a series about the internals of the Lithium routing system in the Lithium PHP 5.3 framework.

In this article series we'll take an in-depth look at the Lithium router. This first part bootstraps your knowledge and lays a foundation for more advanced topics.

He introduces the Router component as having two purposes - matching a URL against the code to handle the request and the other is the reverse, creating URLs out of routes. He links to two pages where you can find more details on its API. He moves on to the request and response cycle the Router goes through each time a page is requested and walks you through some code to help it all make sense. There's also a bit at the end about creating URLs with the reverse routing methods.

0 comments voice your opinion now!
lithium router framework introduction


blog comments powered by Disqus

Similar Posts

Felix Geisendorfer's Blog: Validating the cleaned output of HtmlHelper::dateTimeOptionTag()

The Bakery: New Articles/Components/Helpers Posted

Jim Plush\'s Blog: New AJAX/PHP framework - My-BIC is LIGHT and TASTY!

Matt Butche's Blog: MongoDB: 5 Things Every PHP Developer Should Know About MongoDB

Jonathan Snook's Blog: Creating a Contact Form in CakePHP 1.2


Community Events





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


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

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