Tag Archives: symfony2 jobeet

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

Symfony2 Jobeet Day 13: Security

Securing the Application

Security is a two-step process whose goal is to prevent a user from accessing a resource that he/she should not have access to. In the first step of the process, the authentication, the security system identifies who the user is by requiring the user to submit some sort of identification. Once the system knows who you are, the next step, called the authorization, is to determine if you should have access to a given resource (it checks to see if you have privileges to perform a certain action). Continue reading Symfony2 Jobeet Day 13: Security

Symfony2 Jobeet Day 10: The Forms

Any website has forms, from the simple contact form to the complex ones with lots of fields. Writing forms is also one of the most complex and tedious task for a web developer: you need to write the HTML form, implement validation rules for each field, process the values to store them in a database, display error messages, repopulate fields in case of errors, and much more… Continue reading Symfony2 Jobeet Day 10: The Forms

Symfony2 Jobeet Day 9: The Functional Tests

Functional tests are a great tool to test your application from end to end: from the request made by a browser to the response sent by the server. They test all the layers of an application: the routing, the model, the actions, and the templates. They are very similar to what you probably already do manually: each time you add or modify an action, you need to go to the browser and check that everything works as expected by clicking on links and checking elements on the rendered page. In other words, you run a scenario corresponding to the use case you have just implemented. Continue reading Symfony2 Jobeet Day 9: The Functional Tests

Symfony2 Jobeet Day 8: The Unit Tests

Tests in Symfony2

There are two different kinds of automated tests in symfony: unit tests and functional tests. Unit tests verify that each method and function is working properly. Each test must be as independent as possible from the others. On the other hand, functional tests verify that the resulting application behaves correctly as a whole. Continue reading Symfony2 Jobeet Day 8: The Unit Tests