Archive for the ‘Development’ Category
merb vs. Django
Ever since zedgate the easily influenced are questioning their devotion to Rails. Zed’s post hasn’t really disillusioned me at all, but I’ve been more inspired by Geoffrey Grosenbach’s post to branch out into some other technologies for the sake of learning. Currently the two highest on my radar are Django and merb. I’ve been keeping an eye on Django for awhile and have built a few small utilities in it. Django seems cool but I really just don’t like python that much. To be fair, I actually didn’t really like Ruby all that much until I started doing non-trivial things. In the airport over Christmas break I wrote a small app to keep track of code snippets, kind of like a taggable pastie, to help me remember one-off unix commands. I’m going to to port it to merb and django for kicks to see how it goes.
Lowpro – Hijacking Forms
Want to hijack a normal form to make it submit via ajax? If you’re using prototype and lowpro:
Event.addBehavior({
'#order_sandwhich_form' : Remote.Form
})
via http://jlaine.net/2007/8/6/from-rails-ajax-helpers-to-low-pro-part-2
A bash alias for using the old version of capistrano
Capistrano 2.x is looking really nice but for an ongoing project with a mammoth deploy.rb file I’m sticking with cap 1.2 (the current release at the time of the project). Thanks to the upgrade FAQ I found an easy way to do this. I created a bash alias because I hate typing _1.2_. Note: you have to have the previous gem still installed. ‘gem list’ to find out.
alias cap1='cap _1.2_ '
unix: find
find . -name "*share*" -print