It’s good to hear Rails 1.2 is all about embracing REST. Working with Ajax has helped me really appreciate the benefits of REST, and it all fits in with the Rails mindset quite nicely. Right now, we have URLs like /user/update/5 whereas REST would have it as /user/5 and then POST in the details - the nature of the […]
Entries from June 2006
Roll on Rest On Ruby On Rails
June 28th, 2006 · No Comments
Tags: SoftwareDev
Flexible Templating/Layouts With Rails
June 27th, 2006 · 2 Comments
Rails' layout mechanism follows the standard pattern embodied in Sun's J2EE patterns and familiar to users of Struts and other frameworks. The page template outputs the main content, and it's automatically wrapped by a generic template (as opposed to the earlier SSI-style paradigm, where each page manually includes headers, footers, etc.). There's always a complication [...]
Tags: SoftwareDev
Ajax Programming Patterns - Podcast 3 of 4: “DOM Population” and “Code Generation and Reuse” Patterns
June 25th, 2006 · 1 Comment
The third podcast in this series of Ajax Programming Patterns. The 29-minute podcast covers five patterns. As with the previous podcast, there is reason for concern about the audio quality herein. Firstly, three patterns on DOM population - taking server response data and displaying it or storing it in the DOM: XML Data Island Retain [...]
Tags: Links · Podcast · SoftwareDev
Dojo Gotcha - Initialization with window.onload
June 25th, 2006 · 1 Comment
I've been playing with Dojo, specifically the rich text editor, and came across a Gotcha in setting up the whole thing, which isn't documented too clearly. Specifically, Dojo needs its own window.onload - if you have your own window.onload (as you probably do if you need any initialisation), it will conflict with Dojo!!! The solution is [...]
Tags: SoftwareDev
More Adventures in Firefox Extension Land: Submitting to Mozilla
June 22nd, 2006 · 1 Comment
I recently explained how I created my first Greasemonkey script as an experiment, then converted it to a standalone Firefox plugin/extension/add-on using an automated tool. Official homepage here. The experiment continues, as I subsequently submitted it to Mozilla, and it's now been approved as an official plugin. I've been curious about the process people go through [...]
Tags: SoftwareDev
Ajax Programming Patterns - Podcast 2 of 4: Browser-Server Dialogue Patterns
June 20th, 2006 · 3 Comments
Continuing from the previous podcast (*cough* 12 weeks ago), more programming patterns. Unfortunately, this recording (and the next one) went pear-shaped. Sorry. I do, however, recommend them to those of you who've been wondering what an Ajax talk would have sounded like in crackly 1930s recording technology, and one in which the speaker has a [...]
Tags: Links · Podcast · SoftwareDev
Podcast: Ajax Patterns Announcements
June 20th, 2006 · No Comments
Quick announcement podcast (5 minutes): Ajax Patterns podcasts - programming patterns parts 2 and 3 - to be uploaded shortly Book has been published Recent AjaxPatterns.org updates Listen Now: Standard Podcast: Play Now | Play in Popup | Download document.getElementById('podPressPlayerSpace_305_label_mp3Player_305_0').innerHTML='Hide Player'; document.getElementById('podPressPlayerSpace_305').title = 'mp3Player_305_0';
Tags: Links · Podcast · SoftwareDev
Teleporter - From Greasemonkey to Self-Contained Extension
June 19th, 2006 · No Comments
My previous post outlined Domain Teleporter, a first attempt at a GM script. Continuing the experimentation (as I have a comlpetely different real example in mind), I wanted to see how easy it was to create a self-contained FF extension from the GM script ... I figure there's a significant population who have FF and [...]
Tags: SoftwareDev
Domain Teleporter - Greasemonkey Script
June 19th, 2006 · 2 Comments
Update: As an experiment, converted this into a Firefox extension (Blog Article, Extension homepage) DomainTeleporter, my first Greasemonkey script, is related to this blog post from last April: If you shop at Amazon.co.uk, you’re often out of luck when it comes to reader comments. So I often find myself editing the URL, switching back and forth between [...]
Tags: SoftwareDev
What browsers do developers use?
June 16th, 2006 · No Comments
Jeff Attwood points out that on w3schools, a huge majority of developers are still using IE. About 60% IE and 25% Firefox. Amazingly 2.3% are still using Mozilla (why?). Unfortunate that 60% of developers aren't using IE ... but the reality is many don't have much choice...they'll be working in corporate-standard windows environments, where IE already [...]
Tags: SoftwareDev
