Symfony
7 posts · All topics
Symfony 2 Deployment with Rsync — Like Symfony 1.4 Deployment
A simple script that deploys a Symfony 2 project with rsync, using the same project:deploy workflow as Symfony 1.4.
Use Absolute URLs for JavaScript Files — Symfony 1.4
Make Symfony 1.4 output absolute URLs for JavaScript files, both in view.yml and when adding them dynamically.
Symfony Doctrine Pagination Script
Paginate Doctrine query results with filters in Symfony 1.x using sfDoctrinePager, a navigation helper and some simple CSS.
Get the Symfony Web Root URL Without the Script Name
Build the URL of Symfony's web root folder, without the front controller script name, to link to files such as images.
Install Symfony Plugins Manually
When PEAR won't cooperate, you can install a Symfony 1.x plugin by hand. Here are the steps, using sfPhpExcelPlugin as an example.
Symfony Doctrine — Useful Commands
A quick reference of Symfony 1.x Doctrine commands for generating apps, building models and databases, and deploying.
Doctrine Query to Find the Rank of a Column Value
A Symfony Doctrine query that finds the rank of a row based on a column value, such as a user's rank by marks.