- 2010
-
2009
- November
- September
- August
- July
- June
- May
- April
-
March
-
More Symfony Mime type fun
03/31/09
Sometimes I wonder about using mime types to validate file types. Usually using file extensions is more reliable seeing as though eah browser uses its own set of mime types fore each file extension anyway.
So here I am again modifying some core Symfony files to fix browser mime type incon -
Uploading ZIP files in Symfony
03/21/09
It's rare that I feel the need to edit core symfony files, but this is one situation where it is the best choice. Symfony has a database of mime types it references when processing file uploads. It is pretty comprehensive, but the entries for ZIP files are:
application/x-zip-compressed
-
Working with the output buffer in Symfony
03/18/09
AT first I thought I had found a bug in the way symfony decorates templates with layouts. But as usual, I discovered a bug in my own code :) Hopefully this will save someone else from having to debug a situation which turned out to be issue with using PHP's output buffer within a symfony action -
Evaluating responseText in an extJS Ajax call
03/11/09
Coming from a Prototype background I found extJS infuriating for some really basic tasks like this: calling a remote function and evaluating the response. In Prototype you just set evalScripts parameter to TRUE in the ajax call, but in extJS you have to jump through a few hoops.
The alter -
Assign Symfony environments to (sub)domains
03/10/09
Some projects need a staging site - somewhere where you can test and play around without messing up your database or webstats. Traditional applications require you to make a complete copy of your site to do this - and that means you need to sync your dev files with 2 remote locations.
Wit -
PHPEdit has built-in Symfony CLI support
03/05/09
Just got a press release from upstart IDE PHPEdit 3. They have built new support for Symfony, including a GUI for the CLI. It also has full YAML support and the ability to work intuitively with actions, controllers and templates. Just going to have to try this out!
-
More Symfony Mime type fun
- February
- 2008
- 2007
- 2006



Avatar



