Detect when all jQuery AJAX has started or stopped

A page in one of my websites performs about 6 AJAX requests as soon as the page loads. I wanted to show a loading message until all of the AJAX requests had completed.
Thankfully, jQuery already has this functionality built-in so we don’t have to implement it manually. I’m also using the fantastic BlockUI plugin to [...]

Tell Propel CLI tasks which database/environment to use

When deploying my first symfony application, one of the first things I realized was that I didn’t know how to tell Propel to insert the generated SQL into the correct database! It was still inserting data into my default development database.
To specify which environment to use when using pretty much any of the CLI tasks, [...]

PHVsPjwvdWw+