Read more
Informationen zum Autor Scott Raymond is a Ruby on Rails developer living in Kansas City. His work has been highlighted on the Rails website and the Wall Street Journal Online. Besides participating in the framework's development, he has led international Rails training sessions, and was a presenter at RailsConf 2006. Zusammenfassung Ajax and the phenomenally efficient Ruby on Rails platform are the two most important approaches to web development. This book teaches you how to use both Ajax and Rails to quickly build high-performance, and scalable applications. It includes three fully worked out Rails/Ajax applications, and quick reference sections for Prototype. Inhaltsverzeichnis InhaltsverzeichnisPreface 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 2. Getting Our Feet Wet The Old-Fashioned Way JavaScript Libraries and Prototype Bringing Rails into the Picture Summary 3. Introducing Prototype Setting the Stage Ajax Links Forms Ajax Forms Buttons Form Observers Summary 4. Introducing script.aculo.us Visual Effects Drag and Drop Summary 5. RJS Instructions Instead of Data Putting the R in RJS A Real-World Example Summary 6. Ajax Usability Principles of Usability The Context of the Web Usability on the Web Cross-Platform Development Summary 7. Testing and Debugging Debugging Testing Summary 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 9. Performance Development and Production Environments Session Stores Output Caching Asset Packaging Dealing with Long-Running Tasks Summary 10. Prototype Reference Ajax Support DOM Manipulation Core Extensions 11. script.aculo.us Reference Visual Effects Drag and Drop Controls Element Extensions DOM Builder JavaScript Unit Testing Utility Methods A. Review QuizB. Photo GalleryC. Intranet Workgroup CollaborationIndex...