Subscribe to RSS Feed

Book Review

Authors: Daniel Lopez, Jesus Blanco
Publisher: Sams
Copyright: 2006
ISBN: 0672328364
Pages: 240
Price: $14.99
Rating: 10/10
Synopsis: “Apache Phrasebook gives you the information you need to make an Apache web server do whatever you need it to, whether you run complex virtual domains serving millions of pages a day or just one simple test server that runs on your laptop.”

Review: Great things come in small packages….

This text expects you to have some experience with Apache, or at a minimum, http servers in general. Be it poking existing environments with a stick or setting up simple test/development Apache instances.

With that minimum required knowledge, this work will quickly launch you into the phenomenal world of Apache and all its capabilities in a compact, logical and concise way. As I read through the book, every few pages was a “I didn’t know you could do that with Apache”, or “Ah, I knew you could do that but know I know how!”. The format of example first, explain later allows someone with some previous apache knowledge to first see the example and if they throughly understand it, they can just skim through that chapter. I can almost guarantee though that unless you are an elite apache guru, you will come away with quite a few new Apache Tricks in your bag after this quick read.

Related links:

Pearson Education
Table of contents: Chapter 1 Apache Basics

Chapter 2 Troubleshooting

Chapter 3 Logs and Monitoring

Chapter 4 URL Mapping and Dynamic Content

Chapter 5 Virtual Hosting

Chapter 6 Security and Access Control

Chapter 7 SSL/TLS

Chapter 8 Content Publishing with DAV

Chapter 9 Performance and Scalability

Chapter 10 Apache Proxy and Caching Support

Chapter 11 Multi Processing and Protocol Modules

Continue Reading »
No Comments

Ajax In Action

October 21, 2005 by sam keen

Authors: Dave Crane, Eric Pascarello, Darren James
Publisher: Manning Publications
Copyright: 2005
ISBN: 1932394613
Pages: 680
Price: Street: $44.95 Amazon: $29.67
Rating: 8/10
Table of contents: Part 1 Rethinking the web application 1

1 A new design for the Web 3

2 First steps with Ajax 31

3 Introducing order to Ajax 69
Part 2 Core techniques 117
4 The page as an application 119

5 The role of the server 159
Part 3 Professional Ajax 209
6 The user experience 211

7 Security and Ajax 246

8 Performance 279
Part 4 Ajax by example 325
9 Dynamic double combo 327

10 Type-ahead suggest 361

11 The enhanced Ajax web portal 423

12 Live search using XSLT 466

13 Building stand-alone applications with Ajax 503
appendix A The Ajax craftsperson’s toolkit 561

appendix B JavaScript for object-oriented programmers 589

appendix C Ajax frameworks and libraries 619
Review: With my Java background, I have read a few of the “In action” series by Manning Publications, as they are often recommended reading in the Java circles. I must say I’ve always been pleased with these texts as they are well written and fulfill their goal of exploring very relevant real world examples. It seems now that Manning Publications is branching out a bit from their primarily Java works past and have set out to tackle the mother of all buzz words at the moment – AJAX. If you are of the few who have not heard of AJAX or Asynchronous JavaScript and XML, see here.

I have read many articles and even one other book on the subject of AJAX. I learned from all of them but they all seemed to be selling AJAX as “Look at this new toy, and look at these cool widgety things you can do with it!”. From page 1, Ajax In Action takes a much more structured and holistic approach. If you take a look at what the book defined as “The four defining principles of AJAX”, you get an idea of what I mean…

  • The browser hosts an application, not content.
  • The server delivers data, not content.
  • The user interacts continuously with the application, and most requests to
    the server are implicit rather than explicit.
  • Our codebase is large, complex, and well structured. It is a first-class citizen in our architecture, and we must take good care of it.

So who is this book for? The book realizes that AJAX is a very cross-discipline technology and is written to accommodate those coming to the technology from various backgrounds; CS degree wielding developers, desktop app coders, technically savvy designers, etc. Client-side (JavaScript), OO programming is the main focus and the server-side examples are purposely kept general and simple so no matter what your server-side language of choice is, you’ll be able to interpret the examples in the book.

This book is divided into four parts…

  • Part 1 clears the buzzword fog around AJAX and will tell you exactly what it is, explains why it is a useful addition to your development toolbox, and suggests a few tools that can make you successful building applications with it.
  • Part 2 covers the core techniques that make an AJAX application work in terms of design patterns and best practices.
  • Part 3 discusses how to deal with concerns such as usability, security, and performance in order to go from proof of concept to production-ready software.
  • Part 4 gets down to business and leads you through the step-by-step development of five AJAX projects. Then as a bonus you are shown how to refactor these apps into drop-in components that you can use in your own web applications.

As a whole the authors do an excellent job of covering AJAX. Their stance of treating AJAX as a fully fledged application framework on it own and that structured, patterned development techniques are required for successful projects is realistic and welcomed. The examples are “real-world” and relevant, such as “live search” and “web portals”. As is expected, each successive part of the book builds on the previous content. Often examples in the book are presented as a first edition that functions well, but then the examples are refactored to make them more scalable and re-useable. This “get something that works and then make it better” style is refreshing to see as it is how most of us actually code in the real life.
If you are looking for a “cookbook” style text with example after example hurled at you, this book may not be for you but for those of you looking for a new approach to web application design, you’ve come to the right place. As many of the “In Action” books in the past, I feel Ajax In Action is destined to be added to the standard reading list for anyone interested in serious AJAX development.

Related links:

Sample Chapters, Source Code, etc

What the #@!& in AJAX

Book at Amazon

Continue Reading »
No Comments