Jason Salas' WebLog

On-air and online: making people laugh, making people think, pissing people off

Sponsors

ASP.NET sites that kick ass

Pals with blogs

Podcasts I listen to

Book Review: "Ajax in Action"

Let me first preface this review by saying this is the first technical book that I've read cover to cover TWICE prior to posting a review. I had to make sure the stuff stuck, because the material covered in Manning's very excellent "Ajax in Action" is really deep. But bringing the next evolution of user experience, giving your web applications a rich client feel, isn't completely easy. This won't scare you away from using Ajax in your existing applications, but make you aware of exactly what to expect.

The book first starts out by presenting a healthy discussion of the key components of remote scripting - CSS, the DOM, JavaScript's XmlHttpRequest object and client callbacks - and how they interact within the scope of your project. Before diving into full-on Ajax development, authors Dave Crane and Eric Pascarello discuss the need for object-oriented JavaScript programing, which will be foreign and awkward to most developers, even those coming from procedural backgrounds like Java and C++. The authors familiarize you with the various ways of composing the unconventional constructs available (JSON-RPC, prototypes) for optimizing remote scripting.

Best practices are encouraged throughout the chapters and enforced in all code snippets. The use of patterns like Observer, Command and MVC and refactoring and module-based programming (mainly .NET assemblies and Java servlets) permeate the entire work. The actual meat of the book doesn't get started until Chapter 9, which the authors clearly state, dealing with the aforementioned discussion of raw JavaScript programming that'll be completely new to most people. But for those not wanting to engage in the massive task of writing syntax by hand, the major libraries available are thankfully referenced.

The book also isn't a "copyist's" title, one that can provide working code right out of the gate. Also, the audience for this work should be fairly sopisticated and experienced with modern-day web programming, as the book assumes a certain level of competency and doesn't waste time with rudimentary concepts or examples. Crane and Pascarello take a platform-agnostic look at incorporating Ajax-style programming into web applications, citing examples in PHP, Java and .NET, and accordingly the examples are all partial and abstracted, to be implemented in whatever platform the developer/reader is familiar with.

This is also one of the few books that I've ever recommended people read the appendices in addition to the chapters. Most titles have supplementary info that doesn't match the flow of the chapters, or exclusionary stuff you can skip, but this book is really a tome of good reading. Appendix B is an outstanding discussion on JavaScript OOP, providing an introduction to and examples in JSON.

Ajax programming is a lot more complex than it lets on, but not as daunting as you might think. This book is critical in your understanding of how to make the next big thing in web development to work for you. A must-have.

Comments

Jeff said:

Agreed that appendix B is a big deal. I'm only a couple chapeters in otherwise, but so far I like what the book has to say.
# November 16, 2005 1:45 PM

Anirban Pal said:

Some real good explanation and real geeky handling of the topics of interest, with a design flavour added. Not recommneded for beginners...but excellent for people who have some server-side and web programming expereince. Caution(4 people with an  appetite for sleep): At times I felt I was reading an epic.

# May 24, 2007 10:53 AM

Loy89 said:

And this is the only construction which is consonant with the manifest intention of the grant and with the rule of interpreting such grants as laid down by the foremost publicists and jurists. ,

# October 22, 2009 12:06 PM

Kelvin95 said:

But when people start telling me how to change the world over a G-major chord, that's when I generally leave the room. ,

# October 23, 2009 9:27 AM

vitamin c said:

To implement AJAX  procedure is the own environment implementation which includes :

1. Microsoft Visual Studio 2005 or Microsoft Visual Web Developer Express.

2. An AJAX-enabled ASP.NET Web site.

3. The AdventureWorks sample database. You can download and install the AdventureWorks database from the Microsoft Download Center.

# December 3, 2009 8:08 AM

Custom research papers said:

Ajax in Action helps you implement that thinking--it explains how to distribute the application between the client and the server (hint: use a "nested MVC" design) while retaining the integrity of the system. You will learn how to ensure your app is flexible and maintainable, and how good, structured design can help avoid problems like browser incompatibilities. Along the way it helps you unlearn many old coding habits. Above all, it opens your mind to the many advantages gained by placing much of the processing in the browser. If you are a web developer who has prior experience with web technologies, this book is for you.

# December 9, 2010 5:16 AM

Chaptergeek book reviews said:

I'll probably have to read the book three times!

# February 3, 2011 11:40 AM

OEM software download said:

6WjPKQ Uh, well, explain me a please, I am not quite in the subject, how can it be?!...

# September 25, 2011 5:00 AM

Cheap oem software said:

yx8y1h Cool:) I would say say it exploded my brain..!

# September 25, 2011 8:29 AM

Cheap software online said:

JUOEGa Stupid article..!

# October 28, 2011 11:22 AM

Download oem software said:

QN1fDZ Cool! You have answered. I'll take a quote! The meaning of life and everything else. Decided. No kidding!...

# October 29, 2011 2:54 AM

OEM software download said:

QDxlWX Hello! Read the pages not for the first day. Yes, the connection speed is not good. How can I subscribe? I would like to read you in the future!....

# November 6, 2011 9:44 AM

buy google +1 said:

XaFndt Fantastic blog post.Really looking forward to read more. Much obliged.

# March 23, 2012 1:18 PM

Logan Belten said:

This book teaches everything that is required to know about Ajax, and in that respect it is brilliant. It contains some great examples, diagrams, images so that everything is easily understood.

# April 6, 2012 9:15 AM

Hudson Kerrigan said:

Yes you have done a great job and this is really a very informative to all whether he is beginner or experienced. Thanks for this

# April 10, 2012 1:04 AM

Elissa said:

Fastidious replies in return of this difficulty

with real arguments and describing all regarding

that.

# May 9, 2012 4:15 AM

richardboss78 said:

For one of your most prolific reviewers I would hope the review would not contain numerous mistakes with missing spaces, misuse of apostrophe and missing letters. Ajax is a Web programming technique for developing rich, interactive interfaces using only JavaScript, HTML and CSS on the desktop. It's changing the landscape of the Web, and this book will help you gear up to be part of the revolution.

# May 12, 2012 8:23 AM

Wendi said:

Hi there, Great info. Does anyone like http:

//www.noticiasysalud.com/? I know where to get it cheap.

# May 18, 2012 11:42 PM

richardboss78 said:

Web users are getting tired of the traditional web experience. This part mainly deals with the most important factors a web designer is concerned about, User experience, Security and performance.

# May 25, 2012 4:20 AM

Godinez said:

Way cool! Some very valid points! I appreciate you penning this write-up

and also the rest of the website is extremely good.

prizes

# May 29, 2012 12:37 PM

daGoody said:

yeah definitely change my world

# July 10, 2012 9:26 AM

journey said:

love this book, recommend to all admins

# July 10, 2012 9:37 AM

Chastain said:

You ought to take part in a contest for one of the finest blogs on the web.

I most certainly will highly recommend this site! THIS SITE

# July 17, 2012 10:03 AM

Titus said:

Aw, this was a really nice post. Spending some

time and actual effort to generate a great article… but what can I

say… I hesitate a lot and never manage to get nearly anything done.

accident claims

# July 29, 2012 8:21 PM

eblan said:

He was where she obediently complied, but please email dacord@mail.ru me. I'm bad man and like suck with men! couldnt see a few spoke openly of.

# August 4, 2012 8:33 AM

eblan said:

For about it like face please email dacord@mail.ru me. I'm bad man and like suck with men! a young boy.

# August 4, 2012 7:35 PM

eblan said:

please email dacord@mail.ru me. I'm bad man and like suck with men!

# August 5, 2012 12:53 AM

eblan said:

You looking at me andthen please email dacord@mail.ru me. I'm bad man and like suck with men! smiled, said a man, women like those.

# August 5, 2012 6:33 AM

eblan said:

Helens, stroking please email dacord@mail.ru me. I'm bad man and like suck with men! him unconscious. She even greaterinterest at that.

# August 5, 2012 8:48 AM

eblan said:

please email dacord@mail.ru me. I'm bad man and like suck with men!

# August 5, 2012 5:34 PM

eblan said:

Right. This. I replied, i laid down please email dacord@mail.ru me. I'm bad man and like suck with men! on.

# August 6, 2012 12:43 AM

Iverson said:

I like the variations! quick quid

# September 13, 2012 7:45 AM

Wren said:

this image is actually the exciting! quickyquid.

co.uk

# September 20, 2012 6:01 AM

Cavazos said:

Pretty section of content. I just stumbled upon your blog and in accession capital to assert that I get in fact

enjoyed account your blog posts. Anyway I will be subscribing to

your feeds and even I achievement you access consistently fast.

# September 29, 2012 11:18 AM

Fenner said:

Wow that was strange. I just wrote an very long comment but after

I clicked submit my comment didn't show up. Grrrr... well I'm not writing all

that over again. Anyway, just wanted to say wonderful blog!

# September 30, 2012 12:09 AM

Coronado said:

Very nice depth instant cash till payday

# October 11, 2012 7:34 PM

Whitmore said:

incredibly great graphic! lending stream

# October 13, 2012 5:04 PM

Rich said:

What sort of digicam is that? That is definitely a great superior quality.

Look At This

# October 17, 2012 1:09 PM

Ho said:

It's a pity you don't have a donate button! I'd definitely donate to this brilliant blog! I guess for now i'll settle for book-marking and adding your

RSS feed to my Google account. I look forward to new updates and will

talk about this blog with my Facebook group.

Talk soon!

# January 3, 2013 9:21 PM

Clegg said:

All this is really because we are living inside of a financial be that their own

credit score by paying of the credit history on time However,

more disincentives should be required on people who do not go through norm

with two little ones

# January 21, 2013 11:35 PM

Connell said:

But make sure you buy the raspberry ketones from a reliable

and honest website. homepage But which one is the best?

# January 30, 2013 5:08 AM

Lawhorn said:

Not only can you make money, but you can make money sitting

on your living room couch if you are a skilled typist. click

here You may even employ linguistics to teach French and teach

Spanish to children.

# January 30, 2013 4:03 PM

Gipson said:

The internet service that was put in the Office of the Minister

by the Integrated Financial Management Information System IFMIS

people with huge World Bank money was destroyed

during Minister Konneh's renovation exercise and a new vendor has been hired by Minister Amara Konneh for US$42,000 Forty Two Thousand United States Dollars to bring the service back. scratch cards Another innovation happened in 1989 which increased the fame of scratch cards.

# January 30, 2013 10:04 PM

Dias said:

If you want to find the name and location of the owner of

a specific phone number cellular or landline and this number

is not listed in whitepages or phone books, you will need a specialized reverse phone

lookup service. white pages Nevertheless, ninety percent of the times, an individual's identity is tracked through reverse phone look up facilities.

# January 31, 2013 4:24 AM

Thorton said:

How does winning with every third scratch card sound? http://www.

scratchcardsgalore.co.uk/ Until 31st May you can collect cards to scratch which offer various gifts and prizes.

# January 31, 2013 4:56 AM

Aaron said:

This has nothing to do with scratching off cards online but its good for your body and not

"mind and soul". scratchcards What we are seeing today is different.

# January 31, 2013 5:05 AM

Mccaffrey said:

If you're interested in studying about reverse lookup in standard and how to reverse lookup a cell phone number or landline number, then continue to go through this guide. whitepages There are several websites that specialize in reviewing reverse phone search services.

# January 31, 2013 5:19 AM

Whitehurst said:

So, it's a little competition, kind of between everybody, but more just to keep yourself writing and see if you can keep up every week. online bingo It is dealt with 25 balls, numbered 1 via 30 and also competently often called Twenty five soccer ball bingo and / or rate bingo.

# January 31, 2013 10:08 AM

Page said:

(Maybe you lost of work along with didn't get a full test) Generally, these types of appraisal of creditworthiness by intending outside as well as from online

# February 3, 2013 5:09 PM

Freund said:

Anyone want to get rid of the item soon nevertheless,

you could not locate an way for that mypaydayadvanceuk Your co-signer can be your parent, sister, buddy,

aunt, older brother, or other general or even a loved

ones friend

# February 6, 2013 9:45 PM

Muhammad said:

It is not my first time to visit this site, i am visiting this web site dailly and obtain nice data from here every day.

# February 12, 2013 1:00 PM

Barron said:

We're hoping that before farsighted Microsoft Sc in following 2 sc, 2 sc in adjacent sc repeat some. car hire They were born on October appropriate for the age compass that the inventories test.

# March 21, 2013 1:41 PM

Mccarthy said:

This view volition employees, your clients, Strategical partners, vendors?

... car hire portugal When these inventories are secondhand they can be secondhand to likewise discover that HTC has likewise included a handy flashlight app that controls the sound's built-in LED blink of an eye.

# March 21, 2013 1:55 PM

Ouellette said:

The drawback would be the disorganised with encouraging entrants to recruit

their friends and category to signboard up and balloting for them.

cheap car hire Thither are overseas telegram and

Electric cord organizers that are made now officially dead.

# March 24, 2013 6:17 PM