Intro to Laravel 4 : By Chris Moore
Upcoming SlideShare
Loading in...5
×
 

Intro to Laravel 4 : By Chris Moore

on

  • 3,739 views

Intro to Laravel PHP Framework touching on Composer, Eloquent ORM, Blade, MVC, Migration, Seeding, Artisan, Forms, Generators ...

Intro to Laravel PHP Framework touching on Composer, Eloquent ORM, Blade, MVC, Migration, Seeding, Artisan, Forms, Generators

Ven

Presented by:
Christopher A. Moore
chris@kareer.me
Koder at http://kareer.me

Statistics

Views

Total Views
3,739
Views on SlideShare
3,676
Embed Views
63

Actions

Likes
9
Downloads
205
Comments
0

2 Embeds 63

http://www.sdphp.org 39
https://twitter.com 24

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Intro to Laravel 4 : By Chris Moore Intro to Laravel 4 : By Chris Moore Presentation Transcript

  • /** * Intro to Laravel 4 * * @author : Christopher A. Moore * @github : chrisamoore * * @IRC : camdesigns * @twitter : @camdesigns * @linkedin : linkedin.com/in/camdesigns * * @link : http://kareer.me * @link : http://camdesigns.net */ Tuesday, August 20, 13
  • About Me: - Co-Founder Kareer.me - Fulltime Job at V2 - Born and Raised in NY - US Navy Veteran - Self Taught PHP Developer since ’06 Tuesday, August 20, 13
  • Intro to Laravel 4 PreReqs Composer Install Config MVC Generator Migration Seeding Routes Blade Form Helper Eloquent ORM - Q & A Tuesday, August 20, 13
  • History Tuesday, August 20, 13
  • L4 is the 4th Major Version of Laravel L4 released: May 2013 Built By Taylor Otwell (A freakin .net Developer ?) Started with the vision of Codeigniter ( Taylor Otwell Loved it ) in 2011 Quickly turned into a CI COre Hackathon Wanted nice ORM and Ruby-esque Features Wanted Better Docs Started classicly with the “PHP Way” Reinvented the wheel Goals: Get Stuff done Expressive Readable Code Tools I Need ( Auth, API ) Awesome Documentation Uses lots of Symfony Components Uses Composer Tuesday, August 20, 13
  • Prerequisites Tuesday, August 20, 13
  • ZSH https://github.com/robbyrussell/oh-my-zsh ~/.zshrc alias art='php artisan' Tuesday, August 20, 13
  • curl -sS https://getcomposer.org/installer | php Tuesday, August 20, 13
  • Install & Configuration Tuesday, August 20, 13
  • composer create-project laravel/laravel Tuesday, August 20, 13
  • /etc/hosts Tuesday, August 20, 13
  • /etc/apache2/httpd.conf /etc/apache2/extra/vhosts.conf Tuesday, August 20, 13
  • cd ../laravel/app/ chmod -R 777 storage Tuesday, August 20, 13
  • ../laravel/app/config/app.php Tuesday, August 20, 13
  • ../laravel/app/config/database.php Tuesday, August 20, 13
  • MVC Tuesday, August 20, 13
  • ../laravel/app/config/ Tuesday, August 20, 13
  • ../laravel/app/controllers/ Tuesday, August 20, 13
  • ../laravel/app/models/ Tuesday, August 20, 13
  • ../laravel/app/views/ Tuesday, August 20, 13
  • ../laravel/app/database/ Tuesday, August 20, 13
  • ../laravel/app/tests/ Tuesday, August 20, 13
  • ../laravel/vendor/framework/src/illuminate/ Tuesday, August 20, 13
  • Routes Tuesday, August 20, 13
  • ../laravel/app/routes.php Tuesday, August 20, 13
  • http://laravel.demo Tuesday, August 20, 13
  • Your Mom App Stores your mom jokes! Tuesday, August 20, 13
  • Generators Tuesday, August 20, 13
  • ../laravel/composer.json Tuesday, August 20, 13
  • composer update Tuesday, August 20, 13
  • ../laravel/app/config/app.php Tuesday, August 20, 13
  • art generate:resource yourmom --fields=”title:string category:string” Tuesday, August 20, 13
  • What Just Happened Tuesday, August 20, 13
  • Migrations ../laravel/app/routes.php Tuesday, August 20, 13
  • Migrations Tuesday, August 20, 13
  • Migrations Tuesday, August 20, 13
  • ..laravel/app/database/ migrations/.._create_yourmoms_table.php Tuesday, August 20, 13
  • art migrate Tuesday, August 20, 13
  • Seeder Tuesday, August 20, 13
  • ..laravel/app/database/seeds/YourmomsTableSeeder.php Tuesday, August 20, 13
  • art db:seed Tuesday, August 20, 13
  • Controllers Tuesday, August 20, 13
  • ../laravel/app/controllers/YourmomsController.php Tuesday, August 20, 13
  • Blade / View Tuesday, August 20, 13
  • ../laravel/public/assets git clone git@github.com:twbs/bootstrap.git Tuesday, August 20, 13
  • ../laravel/app/views/ ../views/layout.blade.php ../parts/header.blade.php Tuesday, August 20, 13
  • ../laravel/app/views/yourmoms/index.blade.php Tuesday, August 20, 13
  • http://laravel.demo/yourmoms Tuesday, August 20, 13
  • Form Helper Tuesday, August 20, 13
  • ../views/yourmoms/create.blade.php Tuesday, August 20, 13
  • http://laravel.demo/yourmoms/create Tuesday, August 20, 13
  • ORM Tuesday, August 20, 13
  • ../laravel/app/routes.php Tuesday, August 20, 13
  • ../laravel/app/routes.php Tuesday, August 20, 13
  • ../laravel/app/routes.php Tuesday, August 20, 13
  • ../laravel/app/routes.php Tuesday, August 20, 13
  • ../laravel/app/routes.php Tuesday, August 20, 13
  • What We Covered PreReqs Composer Install Config MVC Generator Migration Seeding Routes Blade Form Helper Eloquent ORM - Q & A Tuesday, August 20, 13
  • Recap: Chris@kareer.me IRC / Twitter : @camdesigns GChat : chris.a.moore@gmail.com Coupon kodez for Books: https://leanpub.com/laravel Raffled - ( Limit 1 Copies ) https://leanpub.com/codebright Raffled - ( Limit 40 Copies ) https://leanpub.com/laravel-testing-decoded Raffled - ( Limit 3 Copies ) Tuesday, August 20, 13