Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Transcript of Laravel
To investigate the history, description and components of Laravel
PHP and Laravel
PHP and Laravel concatenation
What is Laravel?
Laravel is a web application framework with expressive, elegant syntax.
Laravel attempts to ease common tasks such as authentication, sessions and routing.
Looking into the Future
Laravel's Frame Work
Used by most developers
We cannot do without
Without PHP, we wouldn't work
A set of PHP Components, web application, framework and a community working together in harmony
Leading PHP framework to create websites and web applications, built on top of symfony components
A set of duplicated and reusable components on which PHP applications are built, eg. Drupal and eZ publish.
-> This provides a beautiful simple active record
implementation for working with your database
-> Each database tool has a model which is used to
interact with that table
-> It assumes that every table has a primary
key called 'id'
Laravel version 1 was released in June 2011 to solve the difficulties experienced when using CodeIgniter PHP framework. Although this was the first release, the framework was already seen as impressive. However, at this point Laravel was not an MVC framework as yet.
Laravel version 2 was released privately to developers on November 24, 2011. The creators made some concrete upgrades to the framework. These upgrades included: controller support, usage of inversion of control container. Due to controllers being added, the framework now officially became an MVC framework.
Laravel 3 was released on February 22, 2012. This release focused mainly on unit test integration, database migrations and integration for "bundles"
About 5 months after Laravel 3 was released, the creator of the framework decided to re-write the whole framework from scratch as a set of packages distributed through “Composer” PHP dependency manager.
Laravel 4 "Illuminate"
Laravel 4 was released on May 28, 2013. The framework experienced significant upgrade, with features such as: database seeding, message queues, built in mailer, and even more powerful Eloquent ORM featuring scopes.
Laravel 4 is the result of all previous development of the framework, looking into the bright future of PHP development.
-> Tool for dependency management in PHP
-> It helps you to declare the dependent
libraries and installs them for you
-> Composer requires PHP 5.3.2 to run
-> Blase is a powerful, simple templating engine
provided with Laravel
-> It is driven by template inheritance and sections
-> All blade templates must use the
-> Blade can also be used to echo out texts,
do loops and write comments
Laravel's Frame Work
Emphasis on modularity
Modularity: the degree to which a system's components may be separated and recombined
Users of MVC:
M -> MODEL
V -> VIEW
C -> CONTROLLER
application data and functions
Representation of the output eg html page
Handles the interaction between as well as the other 2 components of the structure
• Easy recognizable structure
• Independent sections not affecting other pages
• Special commands
Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications.
Client wants a site for a gallery of his/her products
What to do?
Code for products
Gallery & list
After six months client asks for changing the order of products in the descending order
Change the look?
fixed controller for the products
instantly recognize where to change instead of scanning 100s of flies
Change up the views
Command Line Interface