Basics of the Symfony Framework - Web Application Development (SMF1)
Programming, Web Programming
This course introduces the basics of the Symfony framework and its core components like Twig and Doctrine. You will learn to structure modern PHP applications, manage dependencies with Composer, and understand MVC and PSR standards.
The course mixes theory and hands-on practice to build a simple web app using Doctrine ORM, Twig templates and Dependency Injection. You will debug with Symfony Profiler and Xdebug, handle HTTP requests, sessions and implement CRUD features.
Location, current course term
Contact us
The course:
Hide detail
-
Review of OOP in PHP
-
Basic classes
-
Interfaces and inheritance
-
Namespaces
-
What's new in PHP 8
-
Union types
-
Nullsafe operator
-
Named arguments
-
Attributes vs docblocks
-
match() construct
-
Constructor property promotion
-
PSR-4 basics
-
Class autoloading
-
Project architecture
-
Default namespace
-
File naming conventions
-
Composer
-
What is Composer?
-
PSR-4 and Composer integration
-
Introduction to Symfony
-
Overview of the framework
-
MVC, Inversion of Control (IoC) and Dependency Injection
-
Creating a project with Composer
-
Installing bundles/extensions via Composer
-
Project structure explained
-
Symfony CLI
-
First project run
-
Project configuration using .env
-
Basic Symfony app debugging
-
dump & dd commands
-
Symfony Profiler
-
Xdebug tool
-
Core components
-
Controllers
-
Routing
-
Dependency Injection
-
Creating a custom service/component
-
Twig templating system
-
Why use Twig?
-
Building templates
-
Integrating Bootstrap
-
Outputting variables and filters
-
Conditions and loops
-
Template inheritance and blocks
-
Assets management
-
HTTP requests and responses
-
Advanced routing (POST, GET)
-
Debugging the router
-
Working with user sessions
-
Redirects
-
Built-in response types (JSON, File)
-
Working with Doctrine ORM
-
What is an ORM?
-
Introduction to Doctrine ORM
-
Installing and configuring Doctrine
-
Database connection
-
Entities and Repositories
-
MakerBundle
-
Advanced routing
-
Building a simple CRUD application
-
Creating forms
-
Validation and data handling
-
Routing with EntityValueResolver
-
Assumed knowledge:
-
Basic PHP and OOP knowledge, plus basic HTML/CSS, familiarity with relational databases and HTTP.
-
Recommended previous course:
-
PHP – Introduction to Programming (PHP1)
-
Schedule:
-
3 days (9:00 AM - 5:00 PM )
-
Course price:
-
712.00 € ( 861.52 € incl. 21% VAT)
-
Language:
-