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

Noupe.com: Getting Started with PHP Regular Expressions

Stuart Herbert's Blog: PHP Components: Shipping Web Pages With Your Components

Paul Reinheimer's Blog: The Danger of Hooks

Gaurish Patil's Blog: URL rewriting in Yii to hide index.php

PHPInfo: Add Sting to PHP Apps with WASP Patterns


Community Events





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


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

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