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
Authentication principle
Managing users via Eloquent
Connection and account creation
controllers Access control principle
Establishment of access control policy
Operating principle
Setting up a translation
catalog Using catalogs
Managing the locale
Substitution parameters
Pluralization
Principle of tests, unit and functional
tests HTTP
Laravel Dusk tests , principle and installation
Define a navigation scenario
Interact with the various elements such as links, form, keyboard, mouse
Establishment of a catalog of tests
Different types of cache available: database and MemCache
Define cache instances
Retrieve and save cached items
Drivers available
Configure the driver
Use a template
Passing of the certification (if foreseen in the financing).
Duration
5 days
Price
£ 2495
Audience
PHP Developers
Prerequisites
Know how to develop in Object Oriented PHP
Reference
PHP100123-F
Sessions
Contact us for more informations about session date