Learn Symfony 3 framework by practical examples
4.1 (125 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
570 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Learn Symfony 3 framework by practical examples to your Wishlist.

Add to Wishlist

Learn Symfony 3 framework by practical examples

Learn how to build professional web applications using Symfony, one of the most popular PHP framework
4.1 (125 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
570 students enrolled
Created by Wojciech Ciolko
Last updated 1/2017
English
Current price: $10 Original price: $125 Discount: 92% off
1 day left at this price!
30-Day Money-Back Guarantee
Includes:
  • 4 hours on-demand video
  • 14 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Use the framework main features in your daily work
  • Build solid and testable web applications
  • Don't invent a wheel again, just use amazing bundles that will make your life easier!
View Curriculum
Requirements
  • You should already be familiar with PHP development
  • You need to have environmnent ready to use, which includes mySql database, PHP >= 5.5, Apache web server
  • You need to preapre your favorite editor, I am using phpStorm
Description

What is this course about:

This course is designed for PHP developers that want to expand their knowledge by learning one of the leading PHP frameworks. Symfony is the most advanced and powerful PHP framework available on the market. By using it you can dramatically improve your coding efficiency and code quality.

Course will teach you how to build web applications using Symfony framework. I will try to limit theory as much as it's possible in favour of practical examples that you can use in day to day development.

Course content:

  • Course consists of videos, presentations, and real life examples that you can use later in your work.

Course benefits:

  • By the end of the course you’ll be able to install, configure and use most of the Symfony framework features.
  • I’ll be teaching most of the components of the framework by practical examples that you can use in real life.
  • You can find step by step tutorials how to use Dependency Injection, Console commands, Doctrine entities, Controllers and many more.
  • You will learn how to test your code (unit and functional).

Student requirements:

The ideal student for this course is an existing PHP developer that wants to improve his skills by learning how to use Symfony framework.

Who is the target audience?
  • This course is meant for PHP developers who are willing to learn how to leverage Symfony framework features in web applications. This course is probably not for people that just started with PHP development.
  • If you are experienced web developer but just don't know Symfony yet, this course is for you!
  • You should rather not take this course if you're looking for theory, I am more focused on practical examples you can use in real life.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 48 Lectures Collapse All 48 Lectures 04:06:58
+
Introduction
2 Lectures 04:35

I will explain all the prerequisites and tell you how to prepare your local environment to be able to follow the lectures and try examples and exercises.

Preview 01:48

Here you can get to know what this course is about. I will explain the main objective and what you can learn by completing this course.

Preview 02:47
+
Introduction to Symfony
7 Lectures 19:20
  • You will get to know how to install the Symfony framework on your local environment.
  • I will show where you can find framework documentation
Preview 04:05

You will learn how to use PHP built-in web server with Symfony

Built-in web server
01:28

I wil show how to prepare and configure web server:

You will learn how to:

  • Configure Apache VHost
  • Configure hostname for our test application
Web server configuration
03:10

I will show you the framework directory structure and briefly explain the meaning of most important files and directories.

Directory structure
03:58

I will explain the concept of application environments.

Application environments
02:44

You'll get to know the HTTP request and response processing workflow.
Request and Response objects
01:43

I'll explain how you can use Symfony console

Symfony console
02:12

Lets try to recall all the basic concepts mentioned in the lectures.

Symfony basic concepts
4 questions
+
Bundles
3 Lectures 14:00
  • You will get overview of default bundle (AppBundle)
  • I'll explain it's structure and show how to use it.
AppBundle
02:54

I'll show how to create and connect your custom bundle.

Preview 04:38

  • I will tell you what is the difference between generated applicaition bundle and third party bundle
  • We will install and configure third party bundle from external source
  • We will use KnpMenuBundle to display main navigation for our application
Third party bundle
06:28
+
Lets code!
5 Lectures 22:22

I will show you how to use Bootstrap as our main theme.

Use bootstrap as main theme
05:38

  • I will show you how to update the routing and how to reference the route by name
  • I will show how to use common layout for templates in diferrent bundles (template inheritance)
  • I will update navigration bar by adding new item
Controllers and template inheritance
05:53

  • I will show you how to use template inheritance
  • I will explain why and how to use template blocks
View, layout and blocks
04:28

  • You will learn how Twig works and where to look for documentation
  • I will explain the basics about the Twig syntax
Twig
02:35

  • You will learn how to pass data from controller to the view
  • You will use for loop to iterate and display the array in view file
Connect the View with Controller
03:48
+
Databases and Doctrine
10 Lectures 01:12:03
  • You will learn what is Doctrine and why we are using it.
  • You will get familiar with Doctrine architecture and basic conepts.
Doctrine and its architecture
03:24

  • You will learn how to configure database connection
  • You will learn how to create and drop database using Symfony console
Configure and create database
07:51

You will get familiar with Doctrine Entity class concept.

What is a Entity
00:37

You will learn how to:

  • Generate an Entity
  • Use annotation to configure your entities
  • Update database schema using Symfony console
Preview 08:49

You will get familiar with Doctrine Repository class concept.

What is a Repository
01:16

You will learn how to:

  • Use doctrine Repositories
  • Retrieve data from database
  • Pass variables in URL
  • Navigate between the pages
Get some data from database
16:08

You will learn how to:

  • Update existing Entity structure
  • Generate getters and setters using Symfony console
Extend and update existing entity
09:47

You will learn how to:

  • Define one to many relation
  • Use annotations for relation definition
Define One To Many Relation
12:10

You will learn:

  • What is lazy loading
  • How Doctrine fetches the data by default
  • How to check what actually was taken from database using profiler
Lazy loading and Proxy objects
03:47

You will learn how to:

  • Profile your data using Symfony profiler
  • Use Query Builder to build custom queries
  • Use join in Doctrine queries
  • Define custom methods in Repository class
Query profiling - create custom queries with join clause
08:14
+
Form basics
5 Lectures 37:26

You will learn:

  • How to create Form using Form Builder
  • How to display form in a view
  • How to change form theme
  • How to customise form display
Create simple Form
11:07

You will learn:

  • How to submit the form
  • How to check validation of submitted data
  • How to set the form element constraints
  • Now to display the validation errors
Submit and validate a form
06:06

You will learn:

  • How to create Form based on a Doctrine Entity
  • How to use Symfony console to generate a form
  • Where to find generated form class
Generate form for entity
03:11

You will learn:

  • How to handle CRUD (Create, Read, Update, Delete) operations in Symfony controller
  • How to generate CRUD controller for Doctrine entity
  • How to change views location
  • How to use @Template annotation
  • How to prepare model for a Form
Handle CRUD operations for entity
09:53

You will learn:

  • How to add custom validation to generated form
  • How to customise generated controller
  • How to customise generated views
  • How to debug problems with the data model
Customize form and add Valdation rules
07:09
+
Service Container
3 Lectures 23:28

You will learn:

  • Where to find service configuration
  • How to configure service
  • How to use your custom class as a service
  • How to retrieve service from container
  • How to use service in controller
  • How to use flash messages
How to define a service
10:54

You will learn:

  • How to use configuration parameters for a service
  • How to define parameters in application configuration
How to pass a configuration parameter to the service
04:35

You will learn:

  • How to depend on another service object
  • How to inject another services using configuration
How to depend on another service
07:59
+
Console commands
4 Lectures 15:41

You will learn:

  • How to create console command using Symfony console
  • How to find generated file in your bundle
  • What is the basic command structure
Preview 02:47

You will learn:

  • How to access Service Container in console command
  • How to use service obtained from container
Access service container in console command
02:49

You will learn:

  • How to display output of executed command
  • How to use progress bar component to display progress of your command
  • How to use input arguments
Display progress of the command
05:12

You will learn:

  • How to manually configure your command in Service container
  • How to inject another service to your command
How to define console command as a service
04:53
+
Testing your application
5 Lectures 23:36

You will learn:

  • What is PHPUnit
  • Where to find all the necessary information about the PHPUnit
  • How to install PHPUnit using composer
Introduction to PHPUnit
02:45

You will learn:

  • How to configure your application for testing
  • How to run tests for your application
Environment configuration
01:55

You will learn:

  • How to configure code coverage report for your application
  • How to generate coverage report
  • How to see the coverage report
Code coverage report
04:18

You will learn:

  • How to unit test your classes
  • How to mock objects
  • How to make expectations on mock objects
Unit testing
09:55

You will learn:

  • How to write basic functional tests
  • How to make a request
  • How to test the response
  • How to click on a link
Functional testing
04:43
+
Doctrine fixtures
3 Lectures 14:15

You will learn:

  • What is the use of doctrine fixtures
  • How to install fixtures
  • How to configure fixtures
Configure fixtures
02:00

You will learn:

  • How to define fixtures
  • How to load fixtures to database
  • How to append fixtures
Load data
03:24

You will learn:

  • How to reference object from other fixture files
  • How to set reference to doctrine entity
  • How to define fixtures loading order
Sharing objects between fixtures
08:51
1 More Section
About the Instructor
Wojciech Ciolko
4.1 Average rating
125 Reviews
570 Students
1 Course
Software Engineer, Consultant

I am Agile oriented software engineer, architect and project leader with a deep technical background in web technologies.


I am not a prisoner of the only right technology, I try to deliver the best quality combined with the scalable architecture based on most relevant technologies.
I am focused mainly on custom, high availability and usually quite complex B2B solutions.


After lots of years of learning in small and big companies I want to share my findings with you. I want to help people around the world to feel this exciting and challenging experience and be a part of growing software industry.