Unobtrusive JS

keep your stuff seperated from your other stuff

Thursday, November 16th, 2006

UJS Illustrated with Event Wax

Category: Library, Rails, Ruby, Unobtrusive JS

Dan Webb, one half of the team behind the Unobtrusive Javascript Plugin for Rails, posted an article on how he used UJS to develop a slick help sidebar for Event Wax. He first gets the help sidebar working using a traditional request for the whole page, and then he adds the ajax functionality via apply_behavior Read the rest…

Posted by Rob Sanheim at 10:30 am
Comment here

3.8 rating from 28 votes

Tuesday, October 24th, 2006

Unobtrusive Ajax for Rails by Dan Webb

Category: Rails, The Ajax Experience, Unobtrusive JS

notes from Dan Webb’s presentation at Ajax Experience

Posted by Rob Sanheim at 11:52 am

3.6 rating from 34 votes

Monday, October 23rd, 2006

So You Wanna Be a DOM Star

Category: The Ajax Experience, Unobtrusive JS

Aaron Gustafson started several Ajax Experience atendees off on a great note with his presentation entitled ‘So You Wanna Be a DOM Star’. Gustafson stressed a very proactive and pragmatic approach to JavaScript development. His key suggestions included: Understand what your script is attempting to accomplish, and then script your scripts (in other words, don’t Read the rest…

Posted by Tom Geer at 6:49 pm
Comment here

3.7 rating from 32 votes

Tuesday, October 10th, 2006

Unobtrusive Markup with Prototype

Category: Prototype, Unobtrusive JS

Ryan Lowe has written up a piece on Unobtrusive Markup with Prototype. His example pieces together Prototype and onDOMReady Extension from Vivabit to keep your markup clean by having extra markup added by the framework. The example takes a rounded corner example such as: < View plain text > HTML <div class="old_corners"> <div class="cornert"><div></div></div> blah Read the rest…

Posted by Dion Almaer at 8:27 am

3.1 rating from 25 votes

Wednesday, August 23rd, 2006

Unobtrusive Javascript for Rails (UJS) 0.3 Released

Category: Rails, Ruby, Toolkit, Unobtrusive JS

Luke Redpath and Dan Webb have released version 0.3 of their plugin for Rails to allow unobtrusive javascript. UJS now has its own dedicated website with docs and Trac. Discussion of this plugin on the official Rails blog shows there is interest in this plugin from members of Rails core, but it will most likely Read the rest…

Posted by Rob Sanheim at 2:46 pm
1 Comment

4.2 rating from 30 votes

Thursday, August 10th, 2006

Unobtrusive Javascript and Ajax for Rails

Category: Accessibility, JavaScript, Ruby, Unobtrusive JS

Luke Redpath and Dan Web have released Unobtrusive Javascript for Rails. If you’ve spent time with the Rails javascript helpers, you know that they can be a huge time saver, but tend to produce some nasty code like this: < View plain text > javascript <form onsubmit="new Ajax.Request(‘/subscribe/add_ticker’, {asynchronous:true, evalScripts:true, onLoading:function(request){ticker_loading()}, parameters:Form.serialize(this)}); return false;" method="post" Read the rest…

Posted by Rob Sanheim at 9:39 am

3.5 rating from 40 votes

  • Page 2 of 2
  • <
  • 1
  • 2