Archive

Archive for the ‘Languages’ Category

Bash Script to create a new symfony project and install optional plugins

October 29th, 2009 pablo 3 comments

As we already mentioned in my last post, I have been playing a lot with Symfony these last few months. While I really enjoy working with symfony, it is always a pain to remember how to start a new project, install all the plugins and read the plugin’s documentation. After googling around I found that Gordon Franke published this post. It had a basic script to install symfony and have it working out of the box with very little effort. Me, being a huge fan of little effort, decided to change this script so that it’s even more useful and more powerful, so I don’t loose time installing all those boring and needed plugins I like. The result can be found on GitHub. The script works pretty well, but it does have bugs, so don’t be shy and report them, or fix them when you find one!

Categories: bash, symfony Tags: ,

Ignored files in Bazaar in a Symfony project

October 23rd, 2009 pablo 5 comments

Recently, I’ve been doing a few projects using Symfony PHP framework and Bazaar for version control. One of the great features of Symfony is that it generates base classes automatically to interact with the database from a pre-defined schema file. While this is a great feature, every time the schema gets changed, Symfony regenerates all the files thus flagging them as modified in Bazaar. To avoid committing those files all the time, I created a .bzrignore file to ignore them and leave my repository nice and clean.

Read more…

Categories: bzr, php, symfony Tags: , , , , , ,

Keeping directories in sync with unison

May 9th, 2009 pablo 3 comments

As opposed to rsync, unison is a two way file synchronizer. Similar to MySQL’s master to master replication. To set it up in Ubuntu (Intrepid) keep on reading…

Read more…

Categories: Uncategorized, mysql, php, server, sync Tags: , , ,