Symfony Training Overview
Symfony is a PHP web application framework for MVC applications. It is the best platform for creating the open-source projects. Symfony is a mature framework used to develop a wide range of MVC applications. The framework is considered to be close to Django and Ruby On Rails because these tools served as an inspirational source for it. Symfony Training is free software and released under the MIT license.
Features of Symfony
- Installation is easy
- Simple in usage
- Database engine-independent
- Readability
- Extendability and integration
Objectives of the Course
- Proficient in Symfony
- Develop the PHP web application framework
- Develop the open-source projects
- Develop MVC applications
Pre-requisites of the Course
- Basic Knowledge of PHP development
- You need to have environment ready to use, which includes MySQL Database
Who can attend this course
- B.Tech, M.Tech, Ph.D. Researchers, Other Professional Researchers.
- BCA/MCA
- Basic Knowledge of PHP and my SQL
Symfony Course Content
Introduction to Symfony
- Installing and Configuring the framework
- Built-in web server
- Web server configuration
- Directory structure
- Application Environments
- Request and Response objects
- Symfony console
- Symfony basic concepts
Bundles
- AppBundle
- Generate and wire a custom bundle
- Third party bundle
Lets code
- Use bootstrap as the main theme
- Controllers and template inheritance
- View, layout, and blocks
- Twig
- Connect the View with Controller
Databases and Doctrine
- Doctrine and its architecture
- Configure and create database
- What is an Entity
- Generate entity
- What is a Repository
- Get some data from database
- Extend and update existing entity
- Define One to Many Relation
- Lazy loading and Proxy objects
- Query profiling – create custom queries with join clause
Form basics
- Create simple Form
- Submit and validate a form
- Generate form for entity
- Handle CRUD operations for entity
- Customize form and add Validation rules
Service Container
- How to define a service
- How to pass a configuration parameter to the service
- How to depend on another service
Console commands
- Generate console command
- Access service container in the console command
- Display progress of the command
- How to define console command as a service
Testing your application
- Introduction to PHPUnit
- Environment configuration
- Code coverage report
- Unit testing
- Functional testing
Doctrine fixtures
- Configure fixtures
- Load data
- Sharing objects between fixtures