Pragmatic Ajax
Last night I finished Pragmatic Ajax: A Web 2.0 Primer. This is the first book I’ve read specifically focused on Ajax technologies, and it does a really good job. I particularly liked how they prove early on in the book (2nd chapter) that Google Maps was created by mere mortals, and not some Gods/Rocket Scientists/Alien species, by actually implementing it right there in the book!
I am not a very experienced Javascript developer, and so a great benefit (for me) was that code was all very clear and easy to read… they took things step by step and made sense of the situation before pushing on.
They at least touch on most of the big frameworks out there right now: Prototype, Dojo, Script.aculo.us, Rico, MochiKit (very breifly), Atlas, and DWR. As you can see with the last two frameworks they also talk about integration with a variety of server-side web development environments: PHP, Spring with DWR, ASP.Net with Atlas, and of course Ruby on Rails with Prototype and Script.aculo.us.
Some other things discussed:
- Review of JavaScript
- UI Usability / Effective Ajax
- Degradable Ajax
- Tools (debuggers, logging, etc)
- Future of Ajax
I particularly liked the usability and degradable Ajax sections… extremely sensible recommendations.
Overall this book is a great introduction to Ajax for the novice Javascript developer, and a good refresher/overview of Ajax for the more experienced Javascript developer. There are also some chapters that I would like to give to managers as an introduction to what this “Ajax thing” is.