Slideshare.net (beta)

 
Post to TwitterPost to Twitter
Post: 
Myspace Hi5 Friendster Xanga LiveJournal Facebook Blogger Tagged Typepad Freewebs BlackPlanet gigya icons

All comments

Add a comment on Slide 1

If you have a SlideShare account, login to comment; else you can comment as a guest


Showing 1-50 of 4 (more)

Ajax and RJS

From dominiekth, 6 months ago

Brief overview of using Ajax with PrototypeJS and RubyOnRails' RJS

1600 views  |  0 comments  |  4 favorites  |  45 downloads  |  3 embeds (Stats)
 

Categories

Add Category
 
 

Tags

prototype json comet spinning spinner javascript rubyonrails rails ruby ajax

more

 
 

Groups / Events

 

 
Embed
options

More Info

This slideshow is Public
Total Views: 1600
on Slideshare: 1422
from embeds: 178

Slideshow transcript

Slide 1:Ajax and RJS

Slide 2:Yes, Macs Rule

Slide 3: Ajax • mini web request from javascript • used to update pieces of content in page

Slide 4: When NOT to use AJAX • when the action is related to navigation • when there is another AJAX call inside that action (will get very complicated)

Slide 5: Cons of AJAX • can slow down a page just as easy as speed up a page • explosion of partials

Slide 6: Pros of AJAX • when done well, it will make the user experience much better • saves server traffic and potentially load • and...

Slide 7:It’s cool.

Slide 8: How does it work? Something like this: You always need a library.

Slide 9: Using PrototypeJS new Ajax.Updater('my_div', '/items'); t