Introduction to web development with Symfony2
3.9 (49 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.
487 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.9 (49 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.
487 students enrolled
Created by David Morales
Last updated 1/2017
English
Current price: $10 Original price: $30 Discount: 67% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 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
Requirements
  • 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
Description

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
Compare to Other Web Development Courses
Curriculum For This Course
85 Lectures
03:28:25
+
Course introduction
3 Lectures 02:37
+
Setting up the development environment
2 Lectures 00:22
Setting up the development environment
00:13

Reviewing the official book
00:09
+
Preparing the project
4 Lectures 03:24
Creating the project
00:16


Configuring Composer
00:28

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

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

Generating the Post and Author entities
10:56

Generating our first migration
05:27

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

Writing our first test
01:24

Installing PHPUnit and running the suite test
00:54

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

Customizing the main layout with Twig
00:43

Creating the layout and the i18n files for the CoreBundle
04:44

Creating the CSS for the CoreBundle and installing assets
06:23

Retouching the controller test
01:41

Iterating over Twig posts, using partials and the Twig extensions
08:52

Adding a sidebar for the latest posts
07:37

Installing Doctrine Extensions to add a slug to the post
03:46

Refactoring Timestampable to use Doctrine Extensions
01:09

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

Creating the controller action
02:09

Creating the template
02:57

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

Creating the repository
02:16

Adding the Sluggable behavior
02:12

Writing a test to check the author posts list
02:26

Writing the method
02:59

Writing the template
01:59

Adapting links in the main and post pages
01:14

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

Using fixtures to create example comments
03:41

Writing a test to check that comments are showing up
01:01

Creating a partial to show comments
05:16

Showing the number of comments by post
03:01

Writing a test for the creation of a comment
03:20

Generating a Doctrine FormType
03:32

Creating the Create action and adding the form in the template
03:09

Adding a CSS for the form
01:36

Implementing the comment Create action
05:34
+
Setting up security for the administration zone
4 Lectures 09:09
Generating the AdminBundle
00:35

Creating the security controller
03:40

Adding a layout and CSS for the AdminBundle
02:44

Adding the administrator and configuring the firewall
02:10
7 More Sections
About the Instructor
David Morales
4.2 Average rating
447 Reviews
12,337 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.