News Feed
Sections




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

Lithium Framework:
Getting Started
May 20, 2014 @ 11:54:05

On the SitePoint PHP blog there's a recent post walking you through your first steps with Lithium, one of the first frameworks that was targeted specifically at PHP 5.3.

Lithium is a lean but mean PHP framework (machine?) built for PHP 5.3 and up. It is designed to provide a good toolset for starting your web application, but one that is not too confining. Lithium uses the Model-View-Controller(MVC) architecture and this is what we are going to look at in this article. I will show you how it works and how you can define some of your application's business and presentation logic using this framework.

They provide the example code you'll need to follow along with the tutorial over on GitHub, creating a basic content output system. The tutorial shows you how to create controllers, make views and connect models to the tables in your database. Finally they tie it all together and make a "page" function that fetches the content by ID and displays it out to the user.

0 comments voice your opinion now!
lithium framework introduction php53 tutorial

Link: http://www.sitepoint.com/lithium-framework-getting-started/

blog comments powered by Disqus

Similar Posts

DevShed: Validating User Input with the Strategy Pattern

PHP in Action Blog: Flash messages

Blog.PHPDeveloper.org: Notes from the php|architect Zend Framework Webcast

David Coallier's Blog: Installing PHP6 (For beginners)

International PHP Magazine: Poll Question: Major Strengths of Sympony Over its Competitors Are?


Community Events

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


example opinion list release framework interview introduction version voicesoftheelephpant series unittest community language library video podcast laravel api php7 laravel5

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