Goals
- Discover the advanced functions of Symfony
- Manage events and task automation
- Test and validate your application
Program
Review of the architecture of the
Evolution framework according to the versions
Decouple more business code via the event handler
Create an event listener: EventListener
Create an event subscriber: EventSubscriber
Symfony native events and custom events
Alter behavior without inheritance via event subscriber
Presentation of the component Cache
Cache contract vs PSR-6
Access and save cached data
Delete, invalidate or schedule data expiration
List of available adapters
Workshop: Caching under Doctrine
Understand the principles of inter-application communications
Create the message and the handler
Distribute the message
Available transports AMQP, Redis, Doctrine, In Memory,…
Configure transports and supervisor
Manage parallel processing via Messenger
The Mail and Swift_mailer components
Installation and configuration of the transport
Create an email, manage addresses
Manage the content format: text / html, use twig
Attach a file, embed an image
Set up e-mail sending services
Define a command
Input / output management
Access to services
Test commands
Advanced output: style and color
Advanced output: progress bar, section, table
Inputs: distinguish arguments and options
Create questions: confirmation, information, choice
Define actions that can be automated via commands
Create a custom field type with its theme
Manage associated model-normalized-view data
Define the associated DataTransformers and inject services into them
Define a DataMapper for compound data
Associate its custom field type via a FormGuesser
Dynamically modify the form via events form
Setting up advanced form fields
Installation and configuration Yarn / Webpack
Define webpack entries and their associated resources
Include entries in Twig
Manage dependencies dynamically with ES6 modules
Use Sass, Less or Stylus
Use Typescript
Pass data from Twig to javascript
Cache management and versioning
Set up a rich interface
Using Php Unit Bridge Unit
tests on entities
Functional tests on routes
Functional tests on forms and redirection
Mocks management: The ClockMock class
Establishment of test procedures
Implementation : Set up a REST API with authentication
Passing of the certification (if foreseen in the financing).
Duration
5 days
Price
£ 2495
Audience
Confirmed PHP developer
Prerequisites
Have followed the Symfony initiation and deepening training or equivalent knowledge
Reference
PHP724-F
Sessions
Contact us for more informations about session date