Symfony 2 Documentation

There is now lots of great Symfony 2 documentation around on the web. Below we will discuss some of the key areas to learn about Symfony 2 for beginners and intermediates.

The Book

symfony-2-documentation-book

It’s always good to check out the Symfony 2 book for starters. This is the official Symfony 2 documentation. What’s nice about the book is the way that it is broken up into digestible chapters. It summarises what’s coming up in each chapter, as well as after what you’ve learned to help your understanding.

The authors at Sensio Labs welcome feedback, amendments and comments on their Symfony 2 documentation. The Symfony community also offer help and support to produce the most useful documentation. Fabien Potencier was the original author and still contributes extensively (as far as I know).

Symfony 2 documentation on GitHub

symfony-2-documentation-github

You can find further Symfony 2 documentation at the GitHub page. GitHub is a codesharing and publishing website. Essentially it’s social networking for programmers.

The essence of GitHub is Git itself. This is an open source project that was begun by the creator of Linux, Linus Torvalds. Git is a version control system that manages and stores the revisions of projects. It is mostly used for code, but it could be used for any type of file. You could call it a filing system for draft documents.

GitHub is so useful because it encourages the granular recording of any changes. That means that beginner or expert programmers can follow the steps of some of the best developers in the world, and see how they solved tough problems.

The Symfony 2 documentation within GitHub includes best practices, bundles and components, amongst lots of other bits and pieces.

Documentation offered by users is encouraged. But it must fit into the set standard that is found on the Symfony website. This includes the correct format, standards, translations, and creative commons licensing.

Cookbook

symfony-2-documentation-cookbook

You can read the Symfony 2 official cookbook. This is a ton of practical guided how-tos on specific recipes. It helps you solve the most frequently experienced problems that Symfony developers come across in their every day world.

The cookbook is a growing collection and is added to regularly. Like the Symfony 2 book, this Symfony 2 documentation is also available on the website and can be downloaded as a complete PDF.

The official book covers a range of topics such as:

  • How to customise error pages.
  • How to force routes to always use HTTPS instead of HTTP.
  • How to customise form rendering.
  • How to build a custom validation constraint.
  • How to test doctrine respositories.
  • How to inject variables into all templates.

I won’t include them all because the list of covered topics is extensive. It’s a really valuable resource for any learner. You can see all of the topics here.

Amazon

There are a couple of Symfony books that you can get on Kindle or Paperback. I can’t recommend any specific one so go off some of the reviews if you like to learn from books.

Watch and Learn

image-symfony-2-tutorials

What about putting all of this Symfony 2 documentation into practice? Seeing things happen on camera and following along as you code is when things really fall into place.

You can watch our free and members only Symfony 2 tutorials at Code Review and put what you’re learning into action!

 

Symfony 2 Tutorial: An Introduction

Hello and Welcome to the blog!

Learning Symfony is something Chris has been passionate about for a long time. Back when he first started using it, there wasn’t a great deal of documentation or a useful Symfony 2 tutorial around. Of what there was, much of it was in French.

When you’re in the middle of a real life important Symfony 2 project for a client, learning French from scratch first wasn’t an option.

Chris spent hours and hours learning, working stuff out and becoming the highly skilled Symfony developer he is today. He’s learned through real world projects whilst under pressure.

image-symfony-2-tutorial.png

 

A promise to teach

During this period, Chris made the promise to himself that once he had completed his current projects, he would create a Symfony 2 tutorial which became a series to help other developers learn the framework, so that they wouldn’t have to go through many of the struggles that he did.

He kept that promise and you can now find a ton of Chris’s training videos on YouTube which receive great feedback, and Chris regularly receives emails of thanks from his 1400+ subscribers that grows every day.

Launching Code Review

A natural progression from the YouTube videos was to launch a dedicated Symfony 2 tutorial website that could be organised into different projects and series, with a small monthly membership fee that allows Chris to put more time and effort into creating training that is really helpful and detailed.

Members can also submit their own requests for future videos if they have something in mind they are struggling with or would like to learn more about.

A very small selection of the many comments have included:

Great tutorials… Looking forward to more advanced topics on symfony… very helpful for developers like me who are new to symfony… Thanks again…

Chris, thank you for putting in the time to do these.  Your videos have been a great help in demystifying Symfony, your examples are great blue prints that bring clarity to this framework.  Much appreciated!

You’re a hero!! 😀 you’ve saved my day!!! great tutorials keep up the good work!

What can you expect from a Code Review Symfony 2 Tutorial?

If you’ve already seen and enjoyed Chris’s videos on YouTube you will already have an idea of how his videos guide you through the process, step by step in smaller segments.

Members of Code Review benefit from watching real world projects that you might have to deal with for your clients. New step by step videos are added weekly that guide you through a new concept or situation.

The next Symfony 2 tutorial and future ones are listed. The range of topics are very exciting for intermediate developers.

Where else can you learn Symfony?

There are a few other tutorial websites out there. Everyone has their own likes and dislikes so have a look around and find what works best you for. We hope you will give our membership a try though!

There is now more and more Symfony documentation (specifically the manual and cookbook which are free on the official website), as well as a couple of books on Amazon. What we will say is that although reading the documentation is useful, there is nothing like watching coding in action and also following along with your own projects, and that’s where Code Review comes in.

What would you most like to see a Symfony 2 tutorial on?

Leave a comment, we’d love to hear from you and how you are getting on with your development projects.