Onsite training

Bring our trainers team onsite to train your employees.

Learn more


Symfony Live

Going Further with Symfony

Learn more about the Symfony features set with advanced tools like caching, security and dependency injection management.


In one day, learn some of the most famous advanced Symfony features like HTTP caching and security.

Coming sessions


No session is currently scheduled.

Goals


This workshop dives into Symfony advanced features. It covers some of the best features in just one single day. You will learn how to master the dependency injection container configuration and write cacheable contents for an HTTP cache like Varnish. You will also discover how to setup a form based authentication system plugged to your users table and add some basic authorization rules.


Program


Symfony Basics

  • Request handling
  • Passing variables to the view
  • Triggering redirections
  • Triggering 404 pages
  • Reading the user's request
  • Rendering views with Twig template engine
  • Managing the application logic in Controllers
  • Encapsulating the business logic into the Model layer
  • Rendering pages with the View layer and templates

Dependency Injection

  • Introduction to dependency injection principle
  • Configuring the DIC
  • Creating services from an XML description

Automated Tests

  • Installing PHPUnit
  • Writing simple functional testing files
  • Executing an automated tests suite
  • Generating and analyzing code coverage reports

Dealing with Forms & Validation

  • Creating and processing basic forms
  • Adding validation rules on attributes, methods and class itself
  • Prototyping forms rendering with Twig

Authentication & Authorization

  • Adding a form based authentication
  • Managing users in a database
  • Using roles and account status to restrict pages

HTTP Caching with ESI

  • Introduction to HTTP caching
  • Expiration vs Validation
  • Enabling the Symfony Reverse Proxy Cache
  • Caching pieces of the application with Edge Side Includes

Doctrine Integration

  • Configuring the database connection
  • Generating entity models with the command line
  • Querying the database through repository objects
  • Persisting entities to the database

Session details


Reference code

SF2W2

Price

Starts at €350.00 (ex. tax)

Audience

Developers

Duration

1 day (7 hours)

Training type

Workshop

Topics

forms, validation, caching, esi, security

Pre-requisites

Symfony2 basics


For further information

We remain at your disposal for further information.

Contact us