Can you run Ruby on an iPad? Is the Pope a protestant?
Things I’ve learnt from working on a massive Rails application that needed tidying. Routes, simplicity, Ruby, REST — all sorts of Rails goodness.
PHP has a great reputation as a hackers’ language, a tool for putting together websites with minimum fuss. It’s pretty easy to add new features to PHP-based websites too, as you scale. But what if you’re a Ruby fanatic, or just plain lazy, like me?
Great article from John Nunemaker explaining how to create proxies — objects that act like other objects — in Ruby, using a little bit of method_missing magic.
If you need to seriously extend the functionality of existing Ruby classes, it’s much cleaner and safer to use proxies, so this article is a must-read.
Ruby is a beautiful language: easy to write, simple to read, and powerful as hell. It’s also pretty easy to pick up the basics of Ruby without too much trouble — but save yourself some time by checking out the following resources that have helped me loads.
tr.im is closing down, and the blogs are a-chatter about why URL-shortening services are probably a bad idea if you care about your links, and why you should roll your own service if you can.
Which is where Rails comes in.
It’s really simple to get a Rails application to serve custom views to an iPhone or iPod touch: so simple, in fact, that in a spare half-an-hour I wrapped the necessary code up into a tiny plugin, which will do all the work for you!
Update: if you’re using the plugin, have questions, or have found [...]
Bowline is a Ruby GUI framework that allows you to build desktop applications using Ruby, HTML, CSS, and JQuery. Sounds interesting? I thought so too!
Well, I’ve been away from WordPress for a while thanks to flu (swine? maybe), and I thought a good way to break the silence would be with a post on the upcoming release of Rails: version 3.
Rip (“Ruby’s Intelligent Packaging”, via Ruby Inside) is “an attempt to create a next generation packaging system for Ruby”. It’s in alpha, and still under development, but looks cool.
I’m immediately drawn to Rip’s attitude to packaging ruby code for distribution, which seems to be: don’t. Don’t package, just distribute, because Rip allows for installation and management [...]
© James Wilding. Powered by WordPress using the DePo Skinny Theme.