Symfony + Doctrine: How to rebuild your DB

This post is about rebuilding your database from a schema.yml file in your Symfony project (Symfony version 1.4.8 embedded in the project at /path/to/your/project/lib/vendor/symfony/lib). If you make a change in your config/doctrine/schema.yml, run these commands from your project’s root directory. ./symfony doctrine:drop-db ./symfony doctrine:build-model ./symfony doctrine:build-sql ./symfony doctrine:create-db ./symfony doctrine:insert-sql drop-db drops the database. build-model […]

Cache, a Web Developer’s Friend

In my experience, cache has not been my friend.  Rather than being strapped for it, I’ve often found myself with just too much cache.  I’ll be pounding away at a stylesheet for twenty to thirty minutes – clueless, of course, as to why my changes are having no effect – when suddenly I smack myself […]