RubyOnRails (1.1) and Flex (2.0): Pt 1
April 16th, 2006
UPDATE: Part 2 of the tutorial can be found here
Some close friends of mine are dangerously good flash developers. In a recent pub meet-up I said I had some ideas on integrations between Ruby On Rails and Adobe’s new Flex framework.
Now I know that Ruby On Rails is all integrated with some cool AJAX features (I’m loving those RJS templates right now) but Flex does offer something different.
For the un-informed, Flex allows you to build Rich Internet Applications, defined in XML and delivered on the Flash player. Let’s set one thing straight Flex is Free The SDK and compiler cost nothing. Adobe are making the dough on the IDE Flex Builder and some of the harder core Java integration features.
So where does Rails come in to this. Well Flex can consume and publish to XML based URL services to create dynamic applications with a rich client. Rails1.1 has some great REST features which make it a truely rapid development backend for Flex applications.
So without much more ado here is the first part of a tutorial on integrating RubyOnRails and Flex. This is the simplest thing that works tutorial. The Part 2 tutorial is going to cover some more advanced integrations.
Read the rest of this entry 46 comments »Wintel Whore!
April 13th, 2006 Yes that's right i headed off to "BootCamp":http://www.apple.com/macosx/bootcamp/ to learn me how to run Windows on my MBP. They say "train hard fight easy":http://www.navysealteams.com/thfeseries.htm and a session at BootCamp makes the fight easy. In a couple of hours, i had re-partioned my disk giving over 24Gb of FAT to Windows and had XP up and running. No more painful than installing Windows on a bit of Dell-a-ware. Of course I quickly ran Windows Update, installed Norton, sacrificed a chicken and turned around 42 times and luckily avoid getting any nasty viruses (although the chicken was looking a bit pale so I may catch "UK birdflu":http://news.bbc.co.uk/1/hi/in_depth/world/2005/bird_flu/default.stm) So now i have a dual-booting super-fast WinBookPro. What shall i do with it... probably "this":http://www.amazon.co.uk/exec/obidos/ASIN/B0009XH4CK/ref=br_lf_li_1_2/026-5535442-8421258
Go Naked!!
April 5th, 2006 Its "naked day":http://naked.dustindiaz.com/!! Unfortunately I have a problem with public nudity.