Getting started ● phpversion() >= 5.4.0 ● PHP-MCrypt exension ● mod_rewrite
Composer Package Manager _ packagist.org _$ composer create-project laravel/laravel –prefer-dist _ the composer.json config file for describing dependencies _ $ composer install
The MVC Model ● Bootstrap – a URL format ● Model – Business Logic CRUD = Create, Read, Update and Delete It caries out the connection with the DBMS ● View responsible for the representation of the information ● Controller it “tells” the model which information it has to take
The MVC Model Bootstrap http://www.mysite.com/Controller/Function/Value Model Controller View Business logic: - Database - Formatting - CRUD Connects Model and view based on URL Template(s): HTML/CSS/ JavaScript
RESTful URLs ● REpresentational State Transfer ● Also called resourceful URLs ● URLs that point to a certain resource and provide back the information from that resource to the user ● Laravel ships with its own .htaccess file in the public/ directory. You need mod_rewrite of Apache to be activated for the RESTful URLs to work
Routes and routing ● app/routes.php ● With the Route class we can describe our resourceful urls and the resources they will refer to
The artisan CLI tool Artisan is a PHP CLI tool that ships with Laravel. It can make your workflow more automatic. $ php artisan controller:make $ php artisan routes We can create and add our own custom artisan commands. Here is a useful set of third party commands: https://github.com/JeffreyWay/Laravel-Generators
Some important files in Laravel ● app/routes.php ● public/ - here are placed the files that will be “visible” ● public/index.php ● bootstrap/paths.php ● config/database.php ● config/workbench.php
Laravel features ● The Blade Template system ● Eloquent ORM
Useful resources ;) ● Ivan Vankov's lecture: https://www.youtube.com/watch?v=aFYVLCjSGTw ● http://laravel-recipes.com/ ● Official Documentation: http://laravel.com/docs

Laravel & Composer presentation - WebHostFace

  • 2.
    Getting started ●phpversion() >= 5.4.0 ● PHP-MCrypt exension ● mod_rewrite
  • 3.
    Composer Package Manager _ packagist.org _$ composer create-project laravel/laravel –prefer-dist _ the composer.json config file for describing dependencies _ $ composer install
  • 4.
    The MVC Model ● Bootstrap – a URL format ● Model – Business Logic CRUD = Create, Read, Update and Delete It caries out the connection with the DBMS ● View responsible for the representation of the information ● Controller it “tells” the model which information it has to take
  • 5.
    The MVC Model Bootstrap http://www.mysite.com/Controller/Function/Value Model Controller View Business logic: - Database - Formatting - CRUD Connects Model and view based on URL Template(s): HTML/CSS/ JavaScript
  • 6.
    RESTful URLs ●REpresentational State Transfer ● Also called resourceful URLs ● URLs that point to a certain resource and provide back the information from that resource to the user ● Laravel ships with its own .htaccess file in the public/ directory. You need mod_rewrite of Apache to be activated for the RESTful URLs to work
  • 7.
    Routes and routing ● app/routes.php ● With the Route class we can describe our resourceful urls and the resources they will refer to
  • 8.
    The artisan CLItool Artisan is a PHP CLI tool that ships with Laravel. It can make your workflow more automatic. $ php artisan controller:make $ php artisan routes We can create and add our own custom artisan commands. Here is a useful set of third party commands: https://github.com/JeffreyWay/Laravel-Generators
  • 9.
    Some important filesin Laravel ● app/routes.php ● public/ - here are placed the files that will be “visible” ● public/index.php ● bootstrap/paths.php ● config/database.php ● config/workbench.php
  • 10.
    Laravel features ●The Blade Template system ● Eloquent ORM
  • 11.
    Useful resources ;) ● Ivan Vankov's lecture: https://www.youtube.com/watch?v=aFYVLCjSGTw ● http://laravel-recipes.com/ ● Official Documentation: http://laravel.com/docs