This link has been bookmarked by 365 people . It was first bookmarked on 02 Mar 2006, by techieme Ron.
-
26 Feb 18
-
18 Jun 17
kevinoempty
-
14 Mar 13
-
03 Jun 12
-
24 Mar 10
-
23 Jun 09
-
12 Jun 09
-
30 Mar 09
-
26 Aug 08
-
19 Aug 08
-
09 Jul 08
-
02 Jul 08
-
24 Mar 08
-
21 Mar 08
-
20 Mar 08
-
04 Mar 08
-
07 Feb 08
-
The easiest way of all is to use the built-in Ajax facilities of Ruby on Rails. In fact, Rails makes Ajax so easy that for typical cases it's no harder to use Ajax than it is not to!
-
-
03 Feb 08
-
01 Feb 08
-
29 Jan 08
-
14 Jan 08
-
28 Nov 07
-
10 Nov 07
-
09 Nov 07
-
28 Oct 07
-
23 Oct 07
-
27 Sep 07
-
11 Sep 07
-
24 Aug 07
-
26 Jul 07
-
18 Jul 07
-
05 Jun 07
-
04 May 07
-
26 Apr 07
-
22 Apr 07
-
10 Apr 07
monika gorkanidef say_when render_text "<p>The time is <b>" + DateTime.now.to_s + "</b></p>" end
-
04 Apr 07
-
28 Mar 07
-
26 Mar 07
-
22 Mar 07
-
07 Mar 07
-
How Rails Implements Ajax
-
-
16 Feb 07
-
29 Jan 07
-
Ajax on Rails
-
-
27 Dec 06
-
12 Dec 06
-
05 Dec 06
-
02 Dec 06
-
29 Nov 06
-
22 Nov 06
-
20 Nov 06
-
18 Nov 06
-
16 Nov 06
Ken HIntro article to Ruby, Rails, and Ajax
-
14 Nov 06
-
11 Nov 06
-
10 Nov 06
Johan Van MolCurt Hibbs demonstrates the use of Ajax within Ruby on Rails applications.
imported Bookmarks [OnRails_interessant] ajax rails ruby rubyonrails programming javascript tutorial johan_vm
-
05 Nov 06
-
04 Nov 06
-
30 Oct 06
-
27 Oct 06
-
26 Oct 06
-
25 Oct 06
-
24 Oct 06
-
22 Oct 06
-
17 Oct 06
-
14 Oct 06
Arvind s grovernice article on how to use Ajax on Rails
articles design development html programming tools tutorial web ruby ajax oss
-
30 Sep 06
-
27 Sep 06
-
26 Sep 06
-
24 Sep 06
Johann RichardThis article introduces the
incredibly easy-to-use Ajax support that is part of the Ruby on Rails web application framework.rubyonrails ruby technology programming code ajax web web2.0 webdev
-
22 Sep 06
-
-
- A trigger action occurs. This could be the user clicking on a button or link, the user making changes to the data on a form or in a field, or just a periodic trigger (based on a timer).
- Data associated with the trigger (a field or an entire form) is sent asynchronously to an action handler on the server via XMLHttpRequest.
- The server-side action handler takes some action (that's why it is an action handler) based on the data, and returns an HTML fragment as its response.
- The client-side JavaScript (created automatically by Rails) receives the HTML fragment and uses it to update a specified part of the current page's HTML, often the content of a
<div>tag.
How Rails Implements Ajax
Rails has a simple, consistent model for how it implements Ajax operations.
Once the browser has rendered and displayed the initial web page, different user actions cause it to display a new web page (like any traditional web app) or trigger an Ajax operation:
An Ajax request to the server can also return any arbitrary data, but I'll talk only about HTML fragments. The real beauty is how easy Rails makes it to implement all of this in your web application.
-
-
12 Sep 06
-
07 Sep 06
-
19 Aug 06
-
18 Aug 06
-
17 Aug 06
-
07 Aug 06
-
05 Aug 06
-
04 Aug 06
-
03 Aug 06
-
02 Aug 06
-
25 Jul 06
-
21 Jul 06
-
In a few short months, Ajax has moved from an obscure and rarely used technology to the hottest thing since sliced bread. This article introduces the incredibly easy-to-use Ajax support that is part of the Ruby on Rails web application framework. This is not a step-by-step tutorial, and I assume that you know a little bit about how to organize and construct a Rails web application. If you need a quick refresher, check out Rolling with Ruby on Rails, Part 1 and Part 2.
-
In a few short months, Ajax has moved from an obscure and rarely used technology to the hottest thing since sliced bread. This article introduces the incredibly easy-to-use Ajax support that is part of the Ruby on Rails web application framework. This is not a step-by-step tutorial, and I assume that you know a little bit about how to organize and construct a Rails web application. If you need a quick refresher, check out Rolling with Ruby on Rails, Part 1 and Part 2.
-
-
17 Jul 06
-
05 Jul 06
-
28 Jun 06
-
24 Jun 06
-
14 Jun 06
-
12 Jun 06
-
09 Jun 06
Page Comments
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.