Chapter 13. Prototype, Scriptaculous, and Rails

This chapter covers

  • Understanding the Rails approach to generating JavaScript on the server
  • Using the Rails Ajax helpers to work with Prototype and Scriptaculous
  • Accessing Scriptaculous’s advanced features from Rails
  • Using Rails RJS templates to solve the multiple-update problem, and for other advanced techniques

Our main aim in this book has been to explore Prototype and Scriptaculous as standalone JavaScript libraries, independent of any server-side technologies. In our opinion, these libraries can increase your productivity in developing Ajax solutions with any server-side stack. However, there is no getting away from the fact that both Prototype and Scriptaculous are strongly allied with the ...

Get Prototype and Scriptaculous in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.