Let's Learn: Your first application with Symfony4

What will you learn

Setup

  • Installation
  • Running your Application
  • Store your project using Git

Creating your first Symfony Page

  • Hello world page: route and controller
  • Rendering a template

The tools

  • The console command
  • The web debug toolbar
  • The project structure
  • Symfony flex recipes

The Routing

  • Creating routes
  • Routes parameters
  • Advanced routing examples
  • Redirects
  • Generate URLs
  • Debugging routes

The Controller

  • Generate your first controller
  • The request and response objects
  • The controller base class
  • Managing errors
  • The session

The Forms

  • Your first form
  • Form Validation
  • Built-in Field Types
  • Field Type Guessing
  • Creating Form Classes

The Templates

  • Your first template
  • Template Inheritance and Layouts
  • Template Naming and Locations
  • Including templates
  • Stylesheets and Javascripts
  • The Request, User or Session within your template

Databases and the Doctrine ORM

  • Installing Doctrine
  • Configuring your Database
  • Creating an Entity
  • Migrations
  • Persisting and fetching Objects
  • Updating and deleting Objects
  • Repositories
  • Querying using DQL or SQL
  • Relationships and Associations

The Configuration

  • Configuration: config/packages/
  • The parameters
  • The .env file
  • Other config files

Level: Beginner

Version: 4

Prerequisites: Good knowledge of PHP langage and Object Oriented programming.

Duration: 5 Day(s)

Trainer: Ahmed Siouani, Software Engineer @ Yucca labs

Course Objective Mastering the fundamentals by developing your first Symfony application. Basic features such as url routing, form handling and Twig templating engine will be discussed in this course.

Call us at +213 (0) 6 71 00 02 94 for more information about this training program

Book