Im looking to add ajax to my website and wanted to start off small, I was wondering if anyone knew some ajax guides/tutorials or had there own tips on the use of some simple ajax. I looking for anything that can make my site look better or work better. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Alan Red wrote:> Im looking to add ajax to my website and wanted to start off small, I > was wondering if anyone knew some ajax guides/tutorials or had there own > tips on the use of some simple ajax. I looking for anything that can > make my site look better or work better. >I highly recommend this book. http://www.oreilly.com/catalog/rjsrails/ -- http://www.5valleys.com/ http://www.workingwithrails.com/person/8078 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Agreed. $15 well spent. The next step up is this one: http://www.oreilly.com/catalog/9780596527440/index.html It''s a great book that will give you a broader base in many areas, not just ajax. The general axiom for ajax is: static first, then ajax. By following that path you avoid getting domain/framework issues confused with RJS issues. That''s especially a concern when you''re just starting out. On Mar 17, 2:19 pm, Jon Garvin <jgarvin.li...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Alan Red wrote: > > Im looking to add ajax to my website and wanted to start off small, I > > was wondering if anyone knew some ajax guides/tutorials or had there own > > tips on the use of some simple ajax. I looking for anything that can > > make my site look better or work better. > > I highly recommend this book.http://www.oreilly.com/catalog/rjsrails/ > > --http://www.5valleys.com/http://www.workingwithrails.com/person/8078--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Specifically for Ajax on RoR, the book Agile Web Development with Rails by Thomas and Hansson has an excellent intro. It covers all the basics. http://www.amazon.com/Agile-Web-Development-Rails-2nd/dp/0977616630/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1205858542&sr=8-1 RoR Power http://www.rorpower.com Alan Red wrote:> Im looking to add ajax to my website and wanted to start off small, I > was wondering if anyone knew some ajax guides/tutorials or had there own > tips on the use of some simple ajax. I looking for anything that can > make my site look better or work better.-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I happened to be browsing through the Scott Raymond book "Ajax on Rails" when your message popped up. It''s a good book but some of the examples don''t work the same under Rails 2.0.2. A little consulting at api.rubonrails.com solved the problem though. And if you type in all the examples in chapter 3 into one page you''ll get conflicting id''s. The api docs refer to the scriptaculous page, and I was surprised to see rails examples there that told me what I wanted to know. For example: http://demo.script.aculo.us/ajax/sortable_elements. To find it I had to Google: ''sortable_element site:script.aculo.us''. The example of using sortable_element in Raymond''s chapter 4 leaves out the requirements for #id''s that are explained on the scriptaculous site. But that''s the exception, not the rule. It''s a pretty good book. And Raymond has a chapter on security, which was a nice surprise. F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---