SUBSCRIBE VIA RSS


Subscribe to our feed

Symfony Experts

Symfony Experts
If you have an urgent question for a symfony-related issue, this is the place to ask.

Topics

TWITTER

Stack Overflow


The old fashioned way

RECENT TUNES

  Symfony Articles

April 7, 2010 – 6:40pm symfony forms: hide created_at, updated_at columns

There are a few different methods you can use if you’d like to hide created_at and updated_at columns from your generated forms.

The first way, and the easiest, is to simply unset the fields in your form class:
More…

Posted in  Web Development   |     |  2 Comments »   |  delicious  Digg

March 30, 2010 – 8:06pm Symfony 1.2 doctrine file upload in form

Here are the required modifications for to a form class that contains a file upload field in symfony 1.2 using doctrine (and it probably works with propel, too).
More…

Posted in  Web Development   |     |  1 Comment »   |  delicious  Digg

March 22, 2010 – 6:18am symfony sync command configuration (with symfony 1.0)

I recently discovered a quick way to edit the rsync parameters used when executing the symfony sync command with symfony 1.0. More…

Posted in  Uncategorized   |     |  No Comments »   |  delicious  Digg

February 23, 2010 – 9:11am symfony 1.0 migrations

I’m working on a plugin for symfony 1.0 and am really enjoying this workflow. Yes, symfony 1.0 is 4 versions old and should not be used for new projects.

With the help of the sfPropelMigrationsLightPlugin plugin, one of my favorites, I have been rapidly making changes to my plugin schema and adding new data to the database over and over again while I mock things up.

Here is the workflow:
More…

Posted in  Web Development   |     |  1 Comment »   |  delicious  Digg

February 21, 2010 – 4:54pm Symfony Resource Reference Guide

Symfony has a ton of documentation available online. The only problem is, with so many different versions (1.0 – 1.4) in the wild, it can be hard to locate exactly the right resource when you need it. Below is a simple and straightforward list of the most useful documentation:

More…

Posted in  Web Development   |     |  5 Comments »   |  delicious  Digg

February 21, 2010 – 3:37pm Symfony Experts

Two good friends of mine just launched a new site dedicated to providing professional help to symfony developers.

Symfony Experts.

The site is very well designed and will prove to be a valuable resource for developers of all skill levels — experts can make some extra money sharing their expertise, and beginners (or experts encountering a new problem) can get quick and succinct answers to their questions.
More…

Posted in  Web Development   |     |  1 Comment »   |  delicious  Digg

December 31, 2009 – 5:44pm “Could not create database for c…o use near” error with Doctrine / Symfony

I was trying to use the symfony command line tools to rebuild my test database and I couldn’t get past this error: More…

Posted in  Web Development   |     |  1 Comment »   |  delicious  Digg

October 4, 2009 – 1:19am Symfony, Doctrine Upload File “validation failed”

After setting up a simple file upload using the symfony 1.2 forms class and a doctrine model, I hit this error right away:

500 | Internal Server Error | Doctrine_Validator_Exception
 1 field had validation error:
 * 1 validator failed on file (type)

The short solution: when using a doctrine form class and $form->save(), set the path option in your sfValidatorFile validator and do not attempt to save/set the file column yourself. If you are curious why this is, continue reading. More…

Posted in  Web Development   |     |  2 Comments »   |  delicious  Digg

August 24, 2009 – 11:28am Speedup: Profile your symfony app using Xdebug – Web Mozarts

Speedup: Profile your symfony app using Xdebug – Web Mozarts.

Haven’t tried this but hope to, soon!

Posted in  Web Development   |     |  No Comments »   |  delicious  Digg

August 20, 2009 – 12:24pm Getting a new developer started on an existing symfony project

Here is the basic process we use to get a new developer started on a symfony project. This flow assumes you already have created your symfony project and it checked into an svn repository somewhere, and that the developer is on a mac. More…

Posted in  Web Development   |     |  No Comments »   |  delicious  Digg