[Dev]
Alvaro
February 20th, 2009 | published by Alvaro

During the last two sprints we run in the need to perform statistic analysis to profile a symfony application. As I explained here symfony logs to the file system quite a lot of useful information regarding the request that is processing. We wanted to be able to easily parse those logs and then perform queries [ Read More → ]
Posted in Development
[Dev]
Alvaro
February 10th, 2009 | published by Alvaro

Below I will like to share some snippets for optimizing Propel queries.
Replace MyTablePeer::retrieveByPk() with a custom query.
If in our code we have something like:
if(MyTablePeer::retrieveByPk($id))
{
//do something here
}
Where we can see that the result from the retrieveByPk() call is used as a boolean, it is better to replace it with a custom query like this:
public [ Read More → ]
Posted in Development
[Dev]
Alvaro
February 6th, 2009 | published by Alvaro

How you dare to say that? I hear you saying.. Wait wait wait… Put down those torches… I may have a point here.
At the office I spent the last two days hunting a javascript bug on IE6, imagine how painful that can be, with no Firebug to come to rescue.
It happens that we are using [ Read More → ]
Posted in Development