Here is a a symfony 1.4 plugin we’ve implemented to make it easier to manage (upload, delete, etc…) files to Rackspace Cloud Files. We first developed this when we started having performance problems with a client’s website that uses a lot of images. The Rackspace Cloud Files acts as a CDN. It helped us to have all files uploaded via the website’s admin, kept in a central secure storage. This way, if the load/traffic has a spike, and we need to add another frontend or backend instance to the website, we don’t have to copy the thousands of files to the new server or create a NFS between them; we just create another server instance and we’re good to go and we benefit from the CDN advantages as described in Yahoo’s developer best practices
Read more…
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!
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…
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…