- [ SITE FRANCE ]
- [ ENGLISH SITE ]
- Trainings offer
- Useful information
- Contact
+33 1 40 99 82 05
Training themes
- Symfony2
- Symfony
- PHP & MySQL
- Best practices
- Doctrine
Onsite training
Bring our trainers team onsite to train your employees.
Learn more
Getting Started with Symfony2
Build dynamic and evolutive web applications with the Symfony 2 PHP framework.
This training is the best starting point to get ready with new Symfony 2 framework usages and tools. It’s also a good mean to achieve a development methodology based on best practices and expertise.
Coming sessions
- | Date | Venue | Price | ||
---|---|---|---|---|---|
Feb. 13 - Feb. 14 | Paris | 1290.00 € | Closed | ||
|
|||||
Feb. 21 - Feb. 22 | Köln | 1290.00 € | Register | ||
|
|||||
Mar. 5 - Mar. 6 | Montreal | 1290.00 € | Register | ||
|
|||||
Mar. 5 - Mar. 6 | Köln | 1290.00 € | Register | ||
|
|||||
Mar. 20 - Mar. 21 | Paris | 1290.00 € | Register | ||
|
|||||
Mar. 27 - Mar. 28 | Paris | 1290.00 € | Register | ||
|
|||||
Apr. 3 - Apr. 4 | London | 1290.00 € | Register | ||
|
|||||
Apr. 19 - Apr. 20 | Munich | 1290.00 € | Closed | ||
|
|||||
Apr. 23 - Apr. 24 | Paris | 1290.00 € | Register | ||
|
|||||
Apr. 23 - Apr. 24 | Hamburg | 1290.00 € | Register | ||
|
|||||
May. 14 - May. 15 | Paris | 1290.00 € | Register | ||
|
|||||
May. 21 - May. 22 | Köln | 1290.00 € | Register | ||
|
|||||
Jun. 11 - Jun. 12 | Paris | 1290.00 € | Register | ||
|
|||||
Jun. 25 - Jun. 26 | Munich | 1290.00 € | Register | ||
|
|||||
Jun. 26 - Jun. 27 | Paris | 1290.00 € | Register | ||
|
Goals
Take the Symfony2 PHP framework into your hands and discover Symfony2 basics and features like MVC implementation, forms processing and database handling...
Program
Download the program as PDFObject Oriented Programming
- Classes vs objects
- Constructor / destructor
- Properties and methods
- Inheritance
- Visibility
- Exceptions
- Namespaces
Exploring Symfony2
- General introduction to the framework and its integrated tools
- Sandbox installation
- Symfony2 project architecture (application, bundles, libraries)
- Processing an HTTP request with Symfony2
- Understanding environment principle
- Coding conventions
Debugging the code
- The web debug toolbar
- Recorded logs
- Profiler
- Exception traces
Configuring the application
- Configuring the application
- Comparing supported formats: XML, YAML and PHP
- Application global configuration
- URIs global configuration
- Overriding global configuration at the bundle level
Generating pages for the end user
- Twig template engine syntax
- Templates
- Twig versus PHP
- Templates inheritance
- Templates inclusion
- Actions inclusion
- Defining and includings slots
- Generating URIs thanks to view helpers
Creating actions and analyzing the end user's request
- Defining a Controller class and its action methods
- Mapping controllers with the routing system
- Generating a raw response or a response based on a template
- Reading data from the user’s request ($_GET / $_POST / $_COOKIE)
- Reading and writing data in the user’s session
- Reading and writing a cookie
- Multiple configuration thanks to file inclusion and overriding
- Triggering a 404 error page
- Redirecting the end user to another page
Interacting with a relational database
- Introduction to PDO (DSN, prepared statements, transactions…)
- Getting a SQLite or MySQL connection
- Executing a SQL query on the database
- Securing SQL queries with a transaction and prepared statements
- Factoring the business logic into model classes
Interacting with the end user with forms
- Discovering the form framework
- Creating and processing basic forms
- Applying validation rules on your fields
- Prototyping form rendering with Twig
- Retrieving validated user’s input
Session details
Reference code
SF2C1
Price
Starts at 1290.00 € (ex. tax)
Audience
Developers, projects managers, technical directors
Duration
2 days (14 hours)
Training type
Workshop
Topics
MVC, Twig, cookies, session, forms, refactoring, php 5.3
Pre-requisites
Good knowledge of PHP and Object Oriented Programming
For further information
+33 140 998 205
We remain at your disposal for further information.
Contact us
Since 1998, Sensio Labs has been promoting the Open-Source software
movement by providing quality web application development, training,
consulting.
Sensio Labs also supports several large Open-Source projects.
Sensio Labs also supports several large Open-Source projects.
Open-Source Products
- Symfony - MVC framework
- Symfony Components
- Doctrine - ORM
- Swift Mailer - Mailing library
- Twig - Template library
- Pirum - PEAR channel server
Services
- Trainings - Be Trained by experts
- Guru - Get a guru for a day
- Partners - Specialists around the world
- Books - Read Open-Source books
- Conferences - The Symfony Live Conference
> More