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
An updated Jobeet Tutorial for Symfony 2.3 is available. Enjoy!
If you are looking for a job, you will probably want to be informed as soon as a new job is posted. Because it is not very convenient to check the website every other hour, we will add several job feeds here to keep our Jobeet users up-to-date. Continue reading Symfony2 Jobeet Day 14: Feeds
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
With the addition we made in day 11 on Jobeet, the application is now fully usable by job seekers and job posters. It’s time to talk a bit about the admin section of our application. Today, thanks to the Sonata Admin Bundle, we will develop a complete admin interface for Jobeet in less than an hour. Continue reading Symfony2 Jobeet Day 12: The Admin Bundle
In day 10, we created our first form with Symfony2. People are now able to post a new job on Jobeet but we ran out of time before we could add some tests. That’s what we will do along these lines. Continue reading Symfony2 Jobeet Day 11: Testing your 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
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
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
Today we will make the Category page like it is described in the second day’s requirements: “The user sees a list of all the jobs from the category sorted by date and paginated with 20 jobs per page“. Continue reading Symfony2 Jobeet Day 7: Playing with the Category Page