News Feed
Sections




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

Developer Drive:
Introducing Laravel, part 2
October 28, 2013 @ 13:18:51

The Developer Drive blog has posted the second part of their series introducing the Laravel PHP framework. In this new tutorial they build on the basics from part one to briefly discuss controllers and the Eloquent ORM.

In the first part of this introductory mini series we looked at simple routes and views and now we'll look at how to work with controllers and models , how these two fit in the framework and how to use them.

They explain some of the basics of controllers first including a bit of sample code showing how to output a basic view and add a new route. Following that is a brief look at using the ORM and making a model - a Post - and defining the table it relates to.

0 comments voice your opinion now!
laravel framework introduction series part2 controller route model eloquent orm

Link: http://www.developerdrive.com/2013/10/introducing-laravel-part-2/

blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Composer Cheatsheet

Freek Lijten: Separating concerns even better with events

Simon Holywell: Idiorm and Paris 1.3.0 released - the minimalist ORM and fluent query builder for PH

DevShed: Generating View from MySQL to Simulate the Model-View-Controller Schema in PHP

Jan Lehnardt's Blog: REST Controller for PHP Applications


Community Events

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


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

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