Learning Symfony 3

Learning Symfony 3

1h 47mIntermediate2017-03-30

Authors

Bernardo Pineda

Bernardo Pineda

Web specialist with background in PHP-based tech

Course details

Build PHP applications the modern way with Symfony 3, a popular PHP Model-View-Controller framework. In this course, Bernard Pineda shows how to build a PHP-based web app in Symfony. He explains how to install and configure Symfony, and start saving time with typical development tasks, such as creating persistent models and rendering content with templates. Bernard also goes into how to define and validate forms and debug your applications. After wrapping up this course, you'll have the tools you need to leverage Symfony to get a head start on your PHP projects.

Learning objectives
Installing Symfony
Setting up the local environment
Exploring the Symfony file structure
Creating routes
Sending parameters to a controller
Using views
Updating routes
Creating templates with Twig
Data modeling with Symfony
Demo application deployment

Skills covered

SymfonySensioLabsPHPBack-End Web DevelopmentFront-End Web DevelopmentWeb DevelopmentOpen Source

Concepts

Introduction

  • Welcome
  • What you should know
  • Using the exercise files
  • Project overview
  • What is Symfony
  • Set up the local environment - Mac
  • Set up your local environment - Windows

Get Started with Symfony

  • Install Symfony
  • Explore the Symfony file structure

Controllers in Symfony

  • Contollers - What, why, and how
  • Create routes
  • Send parameters to a controller
  • Use views

Views in Symfony

  • Update routes
  • Create templates with Twig, part 1
  • Create templates with Twig, part 2
  • Mock up data
  • Challenge - Select a title
  • Solution - Select a title
  • Use forms, part 1
  • Use forms, part 2

Data Modeling with Symfony

  • Introduction to Doctrine
  • Create the application models
  • Structure the database
  • Database relationships
  • Insert data with Doctrine
  • Select data with Doctrine
  • Edit entities
  • Work with relational data
  • Debug the application

Taking Symfony Further

  • Composer
  • PHPUnit
  • Log data
  • Demo application deployment

Conclusion

  • Next steps
40,000 Toman