MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

Introduction to web development with Symfony2

Course Summary

Learn to develop a complete application from scratch using Symfony2, the most complete PHP framework.

  • +

    Course Syllabus

    • Course introduction
      • Symfony2 features that we will cover
      • IDE and PHP version
    • Setting up the development environment
      • Installing Homebrew
      • Installing PHP
      • Setting up the Symfony2 coding standards
      • Installing Composer
      • Reviewing the official book
    • Generating the project
      • Installing Symfony2
      • Setting up the IDE
      • Running the PHP webserver
      • A quick look at the project configuration
      • Removing the AcmeBundle
    • The first bundles
      • Generating the CoreBundle
      • Generating the ModelBundle
    • Setting up the database through Doctrine 2
      • Generating the Post and Author entities
      • Creating the database
      • Generating our first migration
      • Populating the database with fixtures
    • The main page with the posts list
      • Generating the list controller
      • 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
      • Refactoring even more removing duplicated code
    • The post page
      • Writing a test to load a post
      • Creating the controller action
      • Creating the template
      • Setting the final routes in the list
    • The author page
      • Generating the controller
      • 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
    • Comments
      • 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
      • Generating the AdminBundle
      • Creating the security controller
      • Adding a layout and CSS for the AdminBundle
      • Adding the administrator and configuring the firewall
    • Authors administration
      • Generating the CRUD
      • Cleaning the generated controller by the CRUD
      • Adding the route to the AdminBundle header
      • Adapting the test
      • Creating the login template
      • Cleaning the generated templates by the CRUD
      • Adapting the AuthorType and the controller
      • Testing the authors administration
    • Posts administration
      • Generating the CRUD
      • Adapting the test
      • Adapting the PostType
      • Cleaning the controller
      • Adding the route to the AdminBundle header
      • Cleaning templates and testing the posts administration
    • Creating a logout for the AdminBundle
      • Adapting the firewall
      • Creating the action in the security controller
      • Adding the route to the AdminBundle header
    • Creating a redirection for the AdminBundle default route
      • Writing the redirection test
      • Adapting the controller
    • The service container
      • Introduction
      • Creating our first service for the author
      • Refactoring the author controller
      • Creating a service for the post
      • Refactoring the post controller
      • Refactoring the comments creation
    • URL internationalization
      • Adapting the tests
      • Adapting the controllers
      • Checking out the result in the browser
    • Closure
      • Building on the learned topics
      • Source code

Course Fee:
USD 99

Course Type:


Course Status:



1 - 4 hours / week

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top