Introduction to web development with Symfony2
3.7 (47 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.
481 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Introduction to web development with Symfony2 to your Wishlist.

Add to Wishlist

Introduction to web development with Symfony2

Learn to develop a complete application from scratch using Symfony, the most complete PHP framework.
3.7 (47 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.
481 students enrolled
Created by David Morales
Last updated 1/2017
Current price: $10 Original price: $30 Discount: 67% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 3.5 hours on-demand video
  • 6 Articles
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • In this course you will learn to use the most important features of the framework and to face the most common problems that appear in a big web project
  • You will be capable to develop a web application from scratch with Symfony2
View Curriculum
  • Knowledge of PHP
  • Knowledge of object oriented programming
  • Knowledge of the MVC pattern
  • OS X (recommended) or Linux
  • Windows is not supported in the course, although I will give some tips

UPDATE 2016-04: The course has been updated for Symfony 2.8 LTS

This course is an introduction to web development with Symfony, the most complete PHP framework.

It consists of videos where you can follow the creation of a complete web application from scratch and step by step: a blog, including an administration area.

It's 4 hours length, but if you want to practice while you learn, you will take more time, which I recommend.

The course is globally structured this way:

  • Setting up the development environment
  • Generating the core bundle for the public part (frontend)
  • Generating the model bundle for the business logic (interactions with the database)
  • Generating the administration bundle, to manage posts and authors (backend or backoffice)
  • Refactoring code to modularize and organize it better, using the flexibility of the service container
  • Make use of the URLs to select the language

During the course I will emphasize test driven development, using the industry standard: PHPUnit.

Also, you can find the resulting application in GitHub (it's in the latest lecture, you can check it out even if you are not enrolled in the course). It uses git tags so you can see how the code looks like at the end of each lecture.

If you are a PHP developer and you want to step up to the next level using a framework, or if you already know Symfony or another framework and you want to review and go in depth, this is your course. An introduction that will give you the tools to create an application easily, making use of good practices.

Once you have joined the course I will answer your questions about the contents.

Who is the target audience?
  • Web developers
  • PHP developers wanting to step up to the next level
Students Who Viewed This Course Also Viewed
Curriculum For This Course
85 Lectures
Course introduction
3 Lectures 02:37
Setting up the development environment
2 Lectures 00:22
Setting up the development environment

Reviewing the official book
Preparing the project
4 Lectures 03:24
Creating the project

Configuring Composer

Removing the AppBundle sample bundle
The first bundles
2 Lectures 02:17

Generating the ModelBundle
Setting up the database through Doctrine 2
4 Lectures 27:51
Creating the database

Generating the Post and Author entities

Generating our first migration

Populating the database with fixtures
The main page with the posts list
13 Lectures 41:41

Writing our first test

Installing PHPUnit and running the suite test

Trying it out in the browser and having look at the debug toolbar

Customizing the main layout with Twig

Creating the layout and the i18n files for the CoreBundle

Creating the CSS for the CoreBundle and installing assets

Retouching the controller test

Iterating over Twig posts, using partials and the Twig extensions

Adding a sidebar for the latest posts

Installing Doctrine Extensions to add a slug to the post

Refactoring Timestampable to use Doctrine Extensions

Adding an updated field for posts
The post page
4 Lectures 10:57

Creating the controller action

Creating the template

Setting the final routes in the list
The author page
8 Lectures 16:35

Creating the repository

Adding the Sluggable behavior

Writing a test to check the author posts list

Writing the method

Writing the template

Adapting links in the main and post pages

Controlling the case of an author with no posts and linking to the main page
10 Lectures 35:04
Creating the Comment entity

Using fixtures to create example comments

Writing a test to check that comments are showing up

Creating a partial to show comments

Showing the number of comments by post

Writing a test for the creation of a comment

Generating a Doctrine FormType

Creating the Create action and adding the form in the template

Adding a CSS for the form

Implementing the comment Create action
Setting up security for the administration zone
4 Lectures 09:09
Generating the AdminBundle

Creating the security controller

Adding a layout and CSS for the AdminBundle

Adding the administrator and configuring the firewall
7 More Sections
About the Instructor
David Morales
4.3 Average rating
433 Reviews
11,705 Students
6 Courses
Computer Engineer and IT Teacher

Since the year 2000 I have been teaching to public and private companies from Barcelona, mainly about Unix and Linux systems, and web technologies such as PHP, Javascript and Java.

In 2005 I completed my B.S. in Computer Science at the University of Barcelona.

I have worked for several startups using PHP and the Symfony framework since 2006. In 2011 I switched to Ruby on Rails as my main framework to continue building big complex web sites.