Symfony genUrl method

Symfony genUrl is one of the most used methods on symfony 1 series (I’m not sure if it is called the same way in Symfony 2). But what is special about this method? Well, it is the one which generates urls for the whole framework. It is the man when you want to generate urls where to link to. That is its main purpose. Indeed, a lot of methods you usually used called… Read More »Symfony genUrl method

Circular table relations in a symfony project

Circular relations in the database occur when a foreign key of one table is included in a separate table, whilst at the same time a further foreign key is located in the first table. Usually this is not desirable because it can produce many problems when making queries or inserting data. However sometimes it can improve performance. For example we could have a model like: There is a client that… Read More »Circular table relations in a symfony project

Colorize your Windows console life with symfony

For many years, Windows and symfony users have been neglected the right to see stylish colors in their life, or at least in their command line. However the use of colors has some importance, for example when running tests. Differentiating the red tests from the green ones, let us easily see where the errors are quickly. By using symfony 1.3/1.4 and making some configurations the dark past is over. Here ANSICON comes to the rescue, allowing Windows to understand ANSI… Read More »Colorize your Windows console life with symfony

Nice urls with symfony

Usually when working with symfony, when the time comes to deploy the application, one problem arises, the urls. While developing a normal url could be: Two elements are not welcome here: index.php and web/ Index.php/ To get rid of index.php a setting must be configure in the settings.yml file from the config folder:   prod: .settings: no_script_name: true   Now after cleaning the cache the annoying index.php is gone. Note: Just an application can have this setting… Read More »Nice urls with symfony

Process Requirements in software engineering

To develope a successful system requirements must be gathered in the best way possible. Requirements fall into two categories: functional and non-functional. We will talk about non-functional: In a previous post we talked about Product Requirements, now it is the time to talk about Process Requirements. Process Requirements are those constraints and features that should be fulfill in the development process. There are three types of Process Requirements: Delivery Requirements Usually… Read More »Process Requirements in software engineering