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

SitePoint PHP Blog: Push Notifications with Prowl

WeberDev.com: PHP 101 (part 11) - Sinfully Simple (SimpleXML)

Elated.com: Object-Oriented PHP: Working with Inheritance

SitePoint PHP Blog: Last we checked, PHP IS a framework.

Zend Developer Zone: Zend Framework Hidden Gems: Zend Plumbing


Community Events

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


development framework community unittest series language library voicesoftheelephpant opinion laravel5 wordpress release interview introduction extension laravel podcast api psr7 video

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