Archive for March, 2007

Recent Problems With Darcs

Saturday, March 10th, 2007

I have been using darcs as my version control software of choice for close to 3 years now. It is a pretty solid VCS with a very competent team of developers. I have been using it for all of my projects. Recently, I was working on merging changesets for my CakePHP-modifications project with a recent CakePHP snapshot. I ran into the problem where darcs would hang on apply and the last time I tested, it took over 5 hours to apply the patch.

The problem with CakePHP-modifications hanging darcs was no biggie. That is until I ran into the problem again when I decided I wanted to merge several branches of one project into one central repository. This time, darcs was hanging on a changeset that is a dependency of other changesets.

(more…)

Scrolling News Ticker Using MooTools

Friday, March 9th, 2007

I recently found myself needing a scrolling news ticker for a web project. I searched the Web for a scrolling news ticker implementation based on the MooTools Javascript Programming Framework. I was not able to find anything so I made my own implementation.

(more…)

Two Months Working With Django… Wishing CakePHP had a Better ORM

Thursday, March 8th, 2007

I have been working with the Django Web framework for close to two months now and I’m loving it. Not so much for the free admin interface, but for the sheer ease of development that it provides. For the first time, I cared more about how my models are designed and not how they are laid out and implemented in the database. For the two projects that I am working on, I have yet to write a custom SQL statement under Django.

It makes me wish CakePHP offered more when it comes to object-relational mapping. How I wish it was as simple as defining your models and running php cake/scripts/bake.php syncdb. CakePHP does it the other way around: you create the database first and then use cake/scripts/bake.php to create your models and views.

(more…)