<a href="http://www.micropoll.com/akira/mpview/585320-168921">Click Here for Poll</a><a href="http://www.questionpro.com" title="online surveys">Online Survey</a><BR> | <a href="http://www.micropoll.com" title="Website Polls">Website Polls</a><BR> | <BR><a href="http://www.micropoll.com/akira/MicroPoll?mode=html&id=168921">View MicroPoll</A></div>

Visual Studio 2010!

Read now >

Windows Mobile Development Thoughts

Read now >

View Now
DevSource RSS FEEDS
XML Want an easy way to keep up with breaking tech news? And the Get DevSource headlines delivered to your desktop with RSS.
ADVERTISEMENT
ADVERTISEMENT

 

DevSource.com: Your Source for Visual Studio on Facebook
ADVERTISEMENT
AJAX Is No Overnight Success
By Peter Coffee

Rate This Article: Add This Article To:

AJAX Is No Overnight Success - ' AJAX faces cultural obstacles '
( Page 2 of 2 )

too">

Other barriers to AJAX development are as much cultural as technical. The perception that real programmers write [insert technology here] applications, with the insertion being chosen from .Net, Java or other technology du jour, may be entrenched in a development shop.

Developers may even argue that the generation beyond AJAX is already being defined by Microsoft Corp.'s .Net languages and frameworks—specifically, the presentation and communication foundations of Microsoft's forthcoming Windows Vista. This platform offers developers the prospect of powerful asynchronous communication mechanisms plus engaging client-side interaction, freed from the confines of a Web browser. One could argue that AJAX takes aim at the problems of browser-based application development, just as the developer community prepares to leave the browser behind.

Does Microsoft want a piece of the AJAX action? Mary Jo Foley thinks so. Click here to read more.

If a preference for open standards drives AJAX adoption nonetheless, an outcome to be avoided is one in which AJAX is oversold. Its appeal may seduce newly empowered front-end developers into shifting too much of a task off the server and into the browser. "Front end technology can never replace ... back end technology, or vice versa, because the two have different purposes," states the JavaScript Manifesto. "Back end technologies search for, collate, and serve data and business logic. Front end technologies present this information to the user. The two need to be properly separated."

AJAX's "X" for XML should be taken as descriptive, not prescriptive. "XML is the most fully developed means of getting data in and out of an AJAX client, but there's no reason you couldn't accomplish the same effects using a technology such as JavaScript Object Notation or any similar means of structuring data for interchange," Garrett said. He apparently couldn't resist, however, the temptation to embed a reference to XML as the price of a catchy name.

Developers must steel themselves against the implication that there's some organic connection between JavaScript and XML that makes AJAX an all-or-nothing proposition. It's useful for developers to appreciate the generality of the ideas that are at risk of becoming straitjacketed by the AJAX label. "The name AJAX was apparently coined because 'HTTP + XML + HTML + XMLHttpRequest + JavaScript + CSS' was too long," suggested software researcher Ian Hickson in a blog posting one month after the AJAX name emerged.

Understanding each of those component technologies, and letting each do what it does best, may be a better approach than seeking out a packaged AJAX solution and letting its choices and limits become the developer's as well. Microsoft Program Manager Dare Obasanjo made this point from another perspective with a comment on his blog last March: "What I find particularly disappointing about the AJAX hype is that it has little to do with the technology and more to do with the quality of developers building apps at Google [Inc]. If Google builds their next UI without the use of XML but only JavaScript and HTML, will we be inundated with hype about the new JUDO approach (Javascript and Unspecified DOM methods) because it uses proprietary DOM extensions not in the W3C standard?"

Google's high profile has contributed to an aura of fairy dust surrounding AJAX, making it seem both more powerful and less risky than it may prove to be in the hands of any but the most talented developers. But as Sophocles wrote in 440 B.C., "Ever do I behold thee scheming to snatch some vantage o'er thy foes. Skilled in the chase thou seemest. Say what eager quest is thine, that I who know may give thee light." That's Athena's opening speech in the classic play "Ajax."

Peter Coffee can be reached at peter_coffee@ziffdavis.com.

Click here for an archive of Peter Coffee's columns.

This article was originally published on eWEEK.com.



 
 
>>> More Microsoft Architecture Articles          >>> More By Peter Coffee