Mark Haliday raised an interesting question in the comments of my post announcing Pragmatic Ajax. His question: are most of the code samples in the book Java? Without a scientific analysis, here's my best guess as to how the samples break down across the book:
- 15% Java
- 9% Ruby
- 8% .NET
- 8% PHP
The extra space devoted to Java is largely due to the section of the Google Maps chapter devoted to carving up the SVG map which was done in Java, but has little or nothing to do with Ajax or Web 2.0. We just thought it was interesting.
Hope that helps clarify the purpose and nature of the book. Thanks for the question, Mark!