Duration
6.0 hours
Regular fee
$250
Objectives of the training
The proposed set of resources is aimed at PHP developers who want to use version 4 of the Symfony framework for the development of their web applications. They will mainly find information on how to use CLI commands, how to set up automated tests or how to manage the automated tests or managing the internationalization of an application.Targeted audience
DevelopersPrerequisite
None.Trainers
Upcoming information
Course architecture
Symfony - Take advantage of the new features of version 4 and improve your productivity
Presentation of the new features
• Introduction and reminder of the Symfony release cycle
• New directory structure
• Configuration management in Symfony 4
• Other structure changes and consequences
• Using services autowiring
• Introduction and reminder of the Symfony release cycle
• New directory structure
• Configuration management in Symfony 4
• Other structure changes and consequences
• Using services autowiring
Symfony Flex
• Introduction to Symfony Flex
• Understanding Flex recipes configuration
• Migrating a project from a previous version
• Hands-on - Installing a project with Flex
• Introduction to Symfony Flex
• Understanding Flex recipes configuration
• Migrating a project from a previous version
• Hands-on - Installing a project with Flex
Webpack Encore
• What is Webpack?
• Hands-on - Installing Webpack Encore
Symfony - Exploiting the potential of CLI commands
• What is Webpack?
• Hands-on - Installing Webpack Encore
Symfony - Exploiting the potential of CLI commands
Improving development speed
• Getting started with CLI commands
• Debugging an application with the CLI
• Initializing recurring tasks
• Getting started with CLI commands
• Debugging an application with the CLI
• Initializing recurring tasks
Creating your own CLI commands
• Creating a custom CLI command
• Setting up a dialog with the user
• Formatting data in the terminal
• Set up a progress bar
• Prevent multiple execution of a command
• Creating a custom CLI command
• Setting up a dialog with the user
• Formatting data in the terminal
• Set up a progress bar
• Prevent multiple execution of a command
Optimize application performance
• Manage data processing in batches
• Parallelize the execution of processes
Symfony - Make your applications reliable with automated tests
• Manage data processing in batches
• Parallelize the execution of processes
Symfony - Make your applications reliable with automated tests
Automated tests
• Introduction to unit tests with PHPUnit
• Installing PHPUnit and writing first unit tests
• Using dummy objects in tests
• Test Driven Development
• Introduction to unit tests with PHPUnit
• Installing PHPUnit and writing first unit tests
• Using dummy objects in tests
• Test Driven Development
Functional testing
• Setting up functional tests with Symfony
• Initializing test data (fixtures)
• Faker and Alice third-party libraries
• Best practices for writing functional tests
• Setting up functional tests with Symfony
• Initializing test data (fixtures)
• Faker and Alice third-party libraries
• Best practices for writing functional tests
External testing tools
• Driving a browser with Selenium or Panther
• Performing tests on different platforms with BrowerStack
Symfony - Translate your web applications
• Driving a browser with Selenium or Panther
• Performing tests on different platforms with BrowerStack
Symfony - Translate your web applications
Introduction to internationalization with Symfony
• Internationalization issues
• Implementing translations in a Symfony application
• Presentation of the XLIFF format
• Internationalization issues
• Implementing translations in a Symfony application
• Presentation of the XLIFF format
Best practices and special cases
• Best practices and translation keys
• Use of variables and message pluralization
• Managing locale and internationalization of routes
• Translating content from a database
• Best practices and translation keys
• Use of variables and message pluralization
• Managing locale and internationalization of routes
• Translating content from a database
Using tools provided by the Symfony ecosystem
• Maintaining an up-to-date list of translations
• Automatically translate content
PHP 7 - Develop a dynamic and interactive web site (2nd edition)
• Maintaining an up-to-date list of translations
• Automatically translate content
PHP 7 - Develop a dynamic and interactive web site (2nd edition)
• Introduction to PHP
• Using PHP functions
• Writing PHP functions and classes
• Handling errors in a PHP script
• Managing forms and links
• Accessing databases
• Managing sessions
• Sending an email
• Using PHP functions
• Writing PHP functions and classes
• Handling errors in a PHP script
• Managing forms and links
• Accessing databases
• Managing sessions
• Sending an email
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quoteDuration
6.0 hours
Regular fee
$250
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quote