Category Archives: Web Development

Symfony 2.8 Jobeet Tutorial

Jobeet is a great tutorial wrote by the Symfony team to help you learn how to use the framework by building a fully functional job board website. It was wrote for Symfony 1.x version and then I adapted it for Symfony 2.0 (you can find the old version here). Now it’s time for another remake using the new Symfony 2.8 framework (currently this is the long-term support version).

In the following weeks I will begin to post the parts of making the Jobeet website using Symfony 2.8, so it will help beginners to learn and understand how the framework works. I will try to follow the original Jobeet tutorial, but I will also make some changes to include new technologies and to reflect my personal developing style.

You can find the tutorial published on medium: Symfony 2.8 Jobeet Tutorial

Create Your Own Symfony2 Password Encoder

If you ever needed to migrate an old project’s users to Symfony2, you probably needed to preserve their passwords. As the passwords are encoded using a specific algorithm, you have to configure your new Symfony2 project to use exactly the same method in order for the old passwords work.

Find out how to do this in this new blog post: How to Create a Custom Symfony2 Password Encoder

Fix SoftDeletable Doctrine Entities with Unique Index Columns (Symfony2)

If you are using the Gedmo SoftDeletable Doctrine extension for entities that have some unique index columns, you will probably encounter a MySQL error when trying to add new entity with the same values as one previously deleted:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ... for key …

Find out how to avoid this by reading this post: Symfony2: Gedmo SoftDeletable Doctrine Entities with Unique Index Columns.