symfony1
Using Raw SQL with Doctrine
$q = Doctrine_Manager::getInstance()->getCurrentConnection(); $result = $q->execute(” — RAW SQL HERE — “); See the Doctrine API documentation for different execution methods.
symfony vs cakephp [closed]
Just to balance out this thread, this is why I like symfony: uses PHP5 it runs some really big sites like Yahoo! Answers, delicious, and Daily Motion. good documentation. the jobeet tutorial on the website is awesome. walks you straight through all of the features, and after you are done you feel like you can … Read more
How to specify Composer install path?
It seems that you can define the vendor dir to be something else (plugins in your case): { “config”: { “vendor-dir”: “plugins” } } Then, you might rename the package name to not have a level dir inside, like: “package”: { “name”: “sfGuardPlugin”, So, your composer.json should look like this: { “config”: { “vendor-dir”: “plugins” … Read more
PHP ORMs: Doctrine vs. Propel
I’d go with Doctrine. It seems to me that it is a much more active project and being the default ORM for symfony it is better supported (even though officially the ORMs are considered equal). Furthermore I better like the way you work with queries (DQL instead of Criteria): <?php // Propel $c = new … Read more