Ruby


Tuesday, December 27th, 2005

Try Ruby, Ajax style

Category: Ruby

why the lucky stiff is up to his magic again. This time he has created Try Ruby, a place to play with Ruby via your browser. Not only is it cool that you can just type in commands and get instant feedback, but there is integration into the browser. For one, you can type “help” Read the rest…

Posted by Dion Almaer at 8:31 am
7 Comments

++++-
4.3 rating from 22 votes

Friday, December 2nd, 2005

Real-world Rails RJS templates

Category: Ruby

Ajax is getting even easier for Rails developers. Scott Raymond has talked about his first use of RJS Templates for IconBuffet. Using RJS, Scott was able to get rid of a bunch of JavaScript and replace it: This addition allows you to generate Javascript from Ruby, which can be returned by Ajax calls and evaluated Read the rest…

Posted by Dion Almaer at 8:18 am
8 Comments

++++-
4.2 rating from 18 votes

Friday, November 18th, 2005

llor: simple ajaxian rails game

Category: Games, Ruby

Friday fun is here. llor.nu has a fun simple game written using Rails, that feels like a board game (e.g. monopoly). Check out llor.nu for some time wasting

Posted by Dion Almaer at 10:00 am
4 Comments

+++--
3.2 rating from 13 votes

Thursday, November 17th, 2005

Graceful Degredation with Prototype, Scriptaculous and Ruby on Rails

Category: Accessibility, JavaScript, Prototype, Ruby

Encytemedia has a series of articles discussing graceful degradation with Ajax and how to handle the issues with Rails, Prototype, and Scriptaculous. Part one deals with the problem of degrading when the user has Javascript disabled, and illustrates with a couple simple examples. Part two looks at some possible solutions using Behaviour and the author’s Read the rest…

Posted by Rob Sanheim at 3:21 am
1 Comment

+++--
3.5 rating from 19 votes

Tuesday, November 15th, 2005

Ajax Activity indicators with Rails

Category: Examples, Ruby

One of the definite patterns in Ajax is the activity indicator, the tool that we use to let a user know that we are talking back to the server, at that point. Thomas Fuchs of script.aculo.us has written up how to simply do this in a Rails-based application: Create an element on the page that Read the rest…

Posted by Dion Almaer at 9:23 am
9 Comments

+++--
3.9 rating from 31 votes

Tuesday, November 1st, 2005

Rails Slider Component

Category: Component, Ruby

Thomas Fuchs is working on a nice shiny slider component. How do you work with it? <%= slider_field :blub, :amount %>

Posted by Dion Almaer at 8:57 am
2 Comments

+++--
3.6 rating from 24 votes

Friday, October 28th, 2005

Ruby on Rails uses Ajax to simulate POST links

Category: Ruby

David Heinemeier Hansson wasn’t happy when he saw Google Web Accelator was back in action, and more deadly. He wrote about how Rails is more prepared this time around and the interesting part from an Ajax side is how Rails has added a high level abstraction that gives you links via get or post. link_to Read the rest…

Posted by Dion Almaer at 2:45 am
8 Comments

+++--
3.6 rating from 27 votes

Friday, September 16th, 2005

Rails Ajaxians hit out at Microsoft Atlas

Category: .NET, Editorial, Prototype, Ruby

The PDC love parade announced Microsoft Atlas. Thomas Fuchs has hit out with an auto completion comparison between Atlas and his script.aculo.us component: First off, looking at their code, they were certainly a bit inspired by my code (and also by Sam’s code). I can see it’s difficult to give credit, but hey, you know, Read the rest…

Posted by Dion Almaer at 7:51 am
5 Comments

+++--
3.9 rating from 16 votes

Thursday, September 8th, 2005

Showcase: Pick’Em Game

Category: JavaScript, Ruby, Showcase

John Carlin has created an ajaxian Football Pick’Em Game. It is a nice example of how Ajax can encapsulate your small application in one page. You simply pick the teams, and drag and drop them around! The game was built with Ruby on Rails and Scriptaculous.

Posted by Dion Almaer at 10:07 am
Comment here

+++--
3.2 rating from 6 votes

Monday, August 29th, 2005

Internet Explorer and Ajax image caching woes

Category: IE, Ruby

Thomas Fuchs (script.aculo.us / Rails fame) talks of his Internet Explorer and Ajax image caching woes. Inserting chunks of HTML via Ajax is cool stuff, and speeds things up quite a bit. As long as you don’t happen to insert some images and you’re using Internet Explorer 6, that is. Here’s the problem: Internet Explorer Read the rest…

Posted by Dion Almaer at 3:46 am
5 Comments

++++-
4.2 rating from 19 votes

Saturday, August 27th, 2005

Using Rails Ajax helpers to create safe state-changing links

Category: Articles, Examples, Ruby

Jarkko Laine discusses Using Rails Ajax helpers to create safe state-changing links: A few months ago there was a heated discussion going on about Google Web Accelerator prefetching links and at the same time wreaking havoc in web apps that used plain GET links to change the state of an application. A few tricks came Read the rest…

Posted by Dion Almaer at 2:01 am
1 Comment

++++-
4.2 rating from 11 votes

Thursday, August 25th, 2005

Rails based Ajaxian Spell Checker

Category: Ruby

Dee Zsombor has written up How to build an AJAX-ed spellchecker with Ruby On Rails. The tutorial walks you through binding to Aspell via Ajax, and takes you step by step (from starting a fresh Rails app). Some of the Meat <!– file app/views/spell/_misspelled.rhtml –> <% suggest_div = “suggest__#{cnt}” this_span = “id__#{cnt}” %> <span id='<%=this_span%>’> Read the rest…

Posted by Dion Almaer at 9:45 am
1 Comment

+++--
3.3 rating from 7 votes

Wednesday, July 6th, 2005

Rails 0.13: Ajax in Rails Update

Category: Ruby

The Rails team have churned out a bunch of new features and fixes for the 0.13 release: performance improvements, easier caching, named routes, and the additions to the render() method. There is also a lot of new Ajaxian components in there: Ajax: Visual effects, drag’n’drop, sortable lists, auto-completing text fields Thomas Fuchs is the latest Read the rest…

Posted by Dion Almaer at 5:20 pm
Comment here

+++--
3.4 rating from 7 votes

Thursday, June 23rd, 2005

script.aculo.us: JavaScript Libraries

Category: JavaScript, Library, Prototype, Ruby

Thomas Fuchs has given birth to: script.aculo.us. (Note to self. Must. Kill. .us domains that make words). script.aculo.us provides you with easy-to-use, compatible and, ultimately, totally cool JavaScript libraries to make your web sites and web applications fly, Web 2.0 style. script.aculo.us builds on Prototype, and gives you interesting items such as: Visual Effects: The Read the rest…

Posted by Dion Almaer at 12:33 am
2 Comments

++++-
4 rating from 7 votes

Tuesday, June 21st, 2005

Ajax on Rails

Category: Articles, Ruby

Curt Hibbs has written about Ajax on Rails. Rails got on the bandwagon early, and has first class support for Ajax built-in. This article discusses the support, which is noticably different to a componentized solution that other frameworks such as ASP.NET have. It is very “Rails-y” in that it is simple, and you the coder Read the rest…

Posted by Dion Almaer at 5:58 pm
2 Comments

+++--
3 rating from 6 votes

Friday, June 10th, 2005

JavaScript Drag-and-Drop extension for Prototype

Category: JavaScript, Library, Prototype, Ruby

Thomas Fuchs has released a Drag-and-Drop extension for Prototype. Generic drag-and-drop Any element can be declared draggable and/or a drop target Callbacks (onDrop, onHover) Integrated CSS class change to add class drophover if hovering over a possible drop-target Constraints (drag only vertically or horizontally) Uses the Effect2 library for transparency and snap-back visual effects Sortable Read the rest…

Posted by Dion Almaer at 12:14 am
1 Comment

+++--
3.7 rating from 90 votes