Thursday, May 3rd, 2007
Flex was open sourced sometime last week, or at least flex 3 will be. This doesn’t affect my work too much, but it means Eribium will be a more legitimate open source applications. Also I’m looking forward to the custom components that should make it into the general release. Adobe should look at Ext for […]
Wednesday, April 11th, 2007
There’s an interesting article by Ryan Stewart on open sourcing the Flash Player.
Personally I don’t see much call for it, the old adage - if it ain’t broke, don’t fix it. Adobe are pretty open already, giving access to the source of the Flex SDK for example, and I’m not sure whether the code would […]
Wednesday, April 4th, 2007
Below is my updated responds method. I imagine it’s much more resource intensive than the last version, since this one converts xml to a hash, and then to the required format. However this is necessary until .to_json and .to_yaml methods are written for active record objects and means you can include all the options present […]
Friday, January 12th, 2007
I said earlier that I’d do a post about Authentication and REST, so here it is. One of my motivations for doing this is getting a convention set up that Rails developers can follow that doesn’t use http basic (since the security implications of sending a username and password with every request aren’t good). The […]
Monday, January 8th, 2007
With the release of Active Resource (and Rails support for REST) I foresee a lot of services popping up that conform to the Active Resource way of thinking. However, this isn’t just a Rails thing. If developers, in any language, can be encouraged to make simple REST interfaces to the apps, than life would […]
Tuesday, January 2nd, 2007
I’ve been messing around with Active Resource a bit lately (to do with aireo) and I though I’d write a tutorial on it (giving the sparseness of documentation at the moment).
This tutorial expects you to have the restfull conversion methods in application.rb (as explained in the previous post), and a model called “post” with attributes […]
Monday, January 1st, 2007
I’d just like to share with you my method of generating the same structure to data for restful responses, in the hope that this helper method will get added to to_json and to_yaml (as it is already for to_xml). Currently, if you convert a model into json or yaml, it isn’t in the same format […]