Posted by Enrique Delgado
Thu, 31 May 2007 14:34:00 GMT
During RailsConf 2007 I had the pleasure to have a beer with Dan Webb at the Rails Machine hangout. It was cool to talk all about JavaScript (one of my interests) as it relates to Rails.
It was interesting to find out that Rails is not quite adopting the “unobtrusive way” completely. Just look at how the link_to_remote JavaScript code is generated; it mixes content with JS code.
I’m hoping that as Rails gets betetr and better, it will also support better graceful degradation for JavaScript. For now, Dan’s awesome library a.k.a Low Pro should help us all become true JavaScript-fu disciples.
Talk about navigating through the DOM with ninja-like swiftness! :)
Posted in Web Development | Tags javascript, rails | 1 comment
Posted by Enrique Delgado
Tue, 01 May 2007 15:00:00 GMT
I’ve recently purchased a slice at SliceHost and started to use the Deprec plug-in for Rails for my apps.
Thanks to the awesome Top Funky free peepcode screencast I was able to start deploying applications (including the entire Rails stack) quickly and in a predictable manner.
Check out the screencast for details, but this is my basic recipe to setup a new application. These steps will create a sample rails application, setup apache, mongrel, and deploy (with migrations!):
rails mykillerapp
deprec --apply-to .
- Edit your
config/deploy.rb file.
cap deprec_setup
cap setup_scm
cap deploy_with migrations
cap restart_apache
And you are done! Subsequent releases are even easier:
cap deploy_with_migrations
Pretty good eh?
Posted in Rails | Tags capistrano, deployment, deprec, plugins, rails | no comments