Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Introduction to Laravel

Bill Condo

Wednesday, January 9, 13

//

2013-01-09

Lineage

February 2006 by EllisLab

April 2011 by Taylor Otwell

Wednesday, January 9, 13

Comparison
CodeIgniter: +More Mature, +Legacy

PHP Support, -No ORM, -Legacy Support

Kohana: +ACL, +Benchmarking,


-Sparse Docs

FuelPHP: +Fast, +ACL, +ORM,

-Incomplete Docs, -Small Community

Wednesday, January 9, 13

Overview
MVC Framework with Bundles,
Migrations, and Artisan CLI

Eloquent ORM, Restful Controllers,


Class Auto Loading, and Powerful
Routing

Wednesday, January 9, 13

Project Structure
application
bundles
laravel
public
storage
Wednesday, January 9, 13

Example Controller
Basic Controller

Wednesday, January 9, 13

... And Another


REST Controller

Wednesday, January 9, 13

Example Model
Basic Eloquent Model

all(), find(), where(), count(), save(), delete(), and more auto included.

Wednesday, January 9, 13

Example View
Calling From Controller

Passing in Data

Wednesday, January 9, 13

Example View Cont.


Accessing Data

*Also,View Templating is available with Blade.

Wednesday, January 9, 13

Learning
of videos. Bundled up at...
Lots
bitly.com/bundles/mavrck/1
Series by Dayle Rees at...
Tutorial
daylerees.com/category/laravel-tutorials

Forums...
forums.laravel.io
IRC...
#laravel irc.freenode.net
Wednesday, January 9, 13

Questions?
billcondo@gmail.com
@mavrck
billcondo.com / mavrck.com

Wednesday, January 9, 13

You might also like