Symfony: How to escape hash # character in yaml

Wednesday, August 6th, 2008

Just a quick note for myself to escape # character in yaml - Symfony. When i’m trying to load batch data, some of the record seems not imported successfully especially with hash # character. By default, all the string behind the hash # character is treated as comment.
Here’s the example to escape hash # [...]

How to install apache, php, mysql with macport in Mac OS X

Monday, July 14th, 2008

The easiest way to install apache, php and mysql in Mac is thru mac port. You can also install apache, php and mysql by compiling each of the service but it’s too time consuming. If you just wan to install apache, php and mysql for development use, Mac Port install is good enough.
Follow the steps [...]

Symfony: How to query using Criteria OR

Tuesday, May 13th, 2008

I’m looking for way to do a simple query using criteria OR in symfony framework. The official documentation does not covers the sql query criteria for OR statement. After googling for while, there is some reference from the Propel Guide
To perform a simple SQL query with OR criteria is a bit complicated in symfony or [...]