Top Banner
LARAVEL! Terry Matula @terrymatula June 13, 2013 Austin PHP Meetup
20

Laravel intro

May 06, 2015

Download

Technology

Terry Matula

Austin PHP meetup presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Laravel   intro

LARAVEL!

Terry Matula @terrymatula June 13, 2013 Austin PHP Meetup

Page 2: Laravel   intro

The obligatory "All About Me" slides

Page 3: Laravel   intro

The obligatory "All About Me" slides

1999: HTML 4.01 perl/cgi-bin php3

Page 4: Laravel   intro

1999: HTML 4.01 perl/cgi-bin php3

: Flash/ActionScript C#.NET

The obligatory "All About Me" slides

Page 5: Laravel   intro

1999: HTML 4.01 perl/cgi-bin php3

: Flash/ActionScript C#.NET

: Drupal Wordpress CodeIgniter

The obligatory "All About Me" slides

Page 6: Laravel   intro

Founded in 1995, White Lion is an Austin - based Interactive Agency specializing in custom, complex web

+ mobile design and development.

Page 7: Laravel   intro

Available: Eventually

Page 8: Laravel   intro

laravel

A F P F

nother

#&%ing antastic

HP ramework

Page 9: Laravel   intro

laravel Adroit * Adventure * Agavi * Agile Toolkit * Akelos * Ash.MVC * ATK * Atomik * BlueShoes * CakePHP * CodeIgniter * CoughPHP * Dave * DIY * Epiphany * evoCore * Fat-free * FuelPHP * Flourish * Flow3 * FUSE MVC * Fusebox * Horde * InterJinn * Jelix * KISSMVC * Kohana * Kolibri * Konstrukt * Laravel * LightVC * Limb3 * Lion * Madeam * Maintainable * Nette * OpenBiz * Orinoco * P4A * PHP on TRAX * PHPDevShell * PHOCOA * PHPBurn * PhpPeanuts * PHPulse * Pluf * Prado * Qcodo * QCubed * QPHP * Recess * Sapphire * Seagull * Silex * Slim * SOLAR * Spaghetti * Stato * Stubbles * Swat * Symfony * Tangra * Tigermouse * TinyMVC * Vork * WASP * Xajax * Xataface * Yii * Zend * Zephyr * Zeta * ZOOP

Page 10: Laravel   intro

laravel

Page 11: Laravel   intro

laravel

Page 12: Laravel   intro

laravel

Page 13: Laravel   intro

laravel

$ curl -sS https://getcomposer.org/installer | php

Install Composer (http://getcomposer.org )

Install Laravel

$ php composer.phar create-project laravel/laravel myProject

$ chmod -R 777 myProject/app/storage

Page 14: Laravel   intro

laravel

Page 15: Laravel   intro

laravel

https://github.com/JeffreyWay/Laravel-4-Generators

Laravel 4 Generators

Update Laravel's composer.json file

"require": { "laravel/framework": "4.0.*", "way/generators": "dev-master" }

Run composer update $ php composer.phar update

Add the service provider to app/config/app.php

'Way\Generators\GeneratorsServiceProvider'

Page 16: Laravel   intro

laravel

Laravel 4 Generators

Page 17: Laravel   intro

laravel

Artisan • Command Line Interface for Laravel • Customizable • Uses Symfony’s Console component

13 Symfony components • HTTP Requests / Responses • Routing • Console • Filesystem • More…

Page 18: Laravel   intro

laravel

Laravel 4 Generators $ php artisan generate:scaffold superheroes --fields="name:string, powers:text, age:integer"

Page 19: Laravel   intro

laravel

• Route (Facade) • Migrations • Seeder • Eloquent ORM • Resource controller • Tests

Page 20: Laravel   intro

LARAVEL!

Terry Matula @terrymatula June 13, 2013 Austin PHP Meetup