Goals
- Create applications around the Laravel MVC framework
Program
Reminders: libraries and frameworks
HTTP-centric architecture and MVC pattern
Composition of the framework
Installation and composer methods
Install Laravel via laravel / installer
Artisan command line tools Artisan
embedded PHP
server Laravel Homestead virtual server
Management of environment variables via DotEnv
Directory tree
Controller and routing principle
Route parameters, mandatory, optional and under constraints
Route group
Middleware
Definition of controllers
Resource controller: setting up a CRUD
Request and Response objects
The Blade template engine
Content section and inheritance
Escape and XSS
Control structure (conditional and iterative)
Template inclusion
Asset management, Bootstrap and Vue.js Asset
compilation via Laravel Mix
Configuration of the connection to the database
Presentation of Fluent Query Builder
Select, joins, unions, where
Insert clause and updates
Declare and version your schema via Migrations
Populate your database with Seeders
Set up and use your scheme in relation to the business
Principle of an ORM, the DAO pattern
Define its entities
Loading instances
Insertion, update and deletion
Practical tools: NotFound exception, Soft Delete
Setting up of Scopes: global, local and anonymous
Life cycle event
Native management of forms with Laravel
Industrialize with laravelcollective / html
Attach forms to the model
Setting up a model edit form
Passing of the certification (if foreseen in the financing).
Duration
3 days
Price
£ 2495
Audience
PHP Developers
Prerequisites
Know how to develop in Object Oriented PHP
Reference
PHP100344-F
Sessions
Contact us for more informations about session date