Preface; Assumptions This Book Makes; Contents of This Book; Conventions Used in This Book; Using Code Examples; We'd Like to Hear from You; SafariĀ® Enabled; Acknowledgments;Chapter 1: Introduction; Who This Book Is For; What Ajax Is; What Rails Is; 'You Got Your Ajax in My Rails!'; Getting Up to Speed; Summary;Chapter 2: Getting Our Feet Wet; The Old-Fashioned Way; JavaScript Libraries and Prototype; Bringing Rails into the Picture; Summary;Chapter 3: Introducing Prototype; Setting the Stage; Ajax Links; Forms; Ajax Forms; Buttons; Form Observers; Summary;Chapter 4: Introducing script.aculo.us; Visual Effects; Drag and Drop; Summary;Chapter 5: RJS; Instructions Instead of Data; Putting the R in RJS; A Real-World Example; Summary;Chapter 6: Ajax Usability; Principles of Usability; The Context of the Web; Usability on the Web; Cross-Platform Development; Summary;Chapter 7: Testing and Debugging; Debugging; Testing; Summary;Chapter 8: Security; Healthy Skepticism: Don't Trust User Input; Hashing Passwords; Silencing Logs; The Same-Origin Policy; The Use and Abuse of HTTP Methods; Encryption and Secure Certificates; The Rails Security Mailing List; Summary;Chapter 9: Performance; Development and Production Environments; Session Stores; Output Caching; Asset Packaging; Dealing with Long-Running Tasks; Summary;Chapter 10: Prototype Reference; Ajax Support; DOM Manipulation; Core Extensions;Chapter 11: script.aculo.us Reference; Visual Effects; Drag and Drop; Controls; Element Extensions; DOM Builder; JavaScript Unit Testing; Utility Methods;Chapter 12: Review Quiz;Chapter 13: Photo Gallery;Chapter 14: Intranet Workgroup Collaboration;Colophon;.
Ajax on Rails : Build Dynamic Web Applications with Ruby