» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with Ruby + Ajax

The Official YAML Web Site

"YAML Ain't Markup Language." Instead, it's a human-friendly data serialization standard for all programming languages

XML: del.icio.us/tag/xml

The Official YAML Web Site

"YAML Ain't Markup Language." Instead, it's a human-friendly data serialization standard for all programming languages

json: del.icio.us/tag/json

Interview with the Gears on Rails team

With my Google hat on, I got to interview Michael Marcus and Rui Ma, two recent graduates from a masters program at NYU. They joined me to discuss Gears on Rails, their open source framework that makes it easier than ever to take a Rails code-base offline.

They take the approach of giving you a high level Ruby-ish way of developing your Rails app and having it work offline against local storage.

This means that you end up building actions like this:

RUBY:
    def create_local
     '
       post = Post.build(params("post"));
       Post.create_local(post);
       window.location.reload( false );
     '
    end

They build the local framework on the Jester framework that is a "JavaScript client for REST APIs that uses Rails conventions, and is inspired by Rails' own ActiveResource".

This means that you can write client side code like this:

JAVASCRIPT:
  1.  
  2. Resource.model("Twitter", {format: "json", prefix: "http://www.twitter.com", urls: {list: "/statuses/user_timeline/:username.json"}})
  3.  
  4. Twitter.find("all", {username: "bob"}, function(results) {
  5.   twitters = results
  6. });
  7.  

Listen to the audio interview directly (or subscribe via iTunes).

Ajax: Ajaxian

SproutCore : javascript framework for ruby

Si j'ai bien compris c'est un GWT en ruby :-))

RIA: del.icio.us/tag/RIA

Silverlight to support Ruby and Python developers

Programmers seeking to work with RIA can now use Sliverlight and keep programming in Ruby or Python. Javascript is also supported but now there's a choice.

RIA: del.icio.us/tag/RIA

Selling colleagues on progressive enhancement

I'm not talking about selling the client or the business team. I'm talking about selling one's fellow developers.

technology: dzone.com: tech links

Using jQuery with Ruby on Rails

By default, Rails comes packed with the Prototype javascript library and the effects library, Scriptaculous. While this is all well and good sometimes you want a change. I personally prefer jQuery to prototype. I don’t have any beef with prototype, infact I used it for about a year before even getting into rails, but I just prefer the jQuery syntax and selectors.

technology: dzone.com: tech links

jRails: Ruby on Rails with the Prototype guts ripped out

Luckily, I discovered jRails, which replaces the Prototype parts of Rails with a custom fork of jQuery, jQuery FX and jQuery UI. With jRails installed, all of the familiar Rails helpers function as usual: form_remote_for, observe_form and link_to_remote. But under the hood, they're running on jQuery instead of Prototype, which makes it much easier to integrate your custom, client-side jQuery-style JavaScript with the auto-generated stuff Rails spits out.

technology: dzone.com: tech links

Page 1 | Next >>