RobLog

Web Design in the World of .NET (C# and VB.NET, XML, and Javascript). I learned how to program from TheDailyWTF.com!
posts - 140, comments - 127, trackbacks - 5

My Links

News

Main Site Cert Corner Goals About Me

Article Categories

Archives

Post Categories

Image Galleries

.NET

Personal

WOW


AJaX - Asynchronous JavaScript and XML

http://en.wikipedia.org/wiki/AJAX 

http://ajax.schwarz-interactive.de/csharpsample/default.aspx

http://ajax.schwarz-interactive.de/vbnetsample/default.aspx

What is it?  It is a way to leave out postbacks from a page when you use ASP.NET.  This causes it to only return the data that is needed instead of an entire page each time. 

Advantages:

  1. Speed
  2. Less bandwidth
  3. Richer Interface (possibly)

Disadvantages:

  1. Harder to Debug.
  2. More Javascript on pages. (much more)

I really think the speed wins out in this case, because you can pull the JS code back into your Class and have it register the JavaScript code on first load.  It is possible to debug Javascript with VS.NET, so it may make sense to do this.

Speaking of AJaX, if you use GMail, then you have used an interface that uses it.  It is very responsive and very nice...

posted on Saturday, April 23, 2005 11:12 AM

Feedback

# re: AJaX - Asynchronous JavaScript and XML

I've made my own system called "PostOfficeBox" that removes the need of post backs and the like as well by using invisible javascript packages to send and recieve data from a web server. It's better than AJaX, and has a few pretty cool features to it.

We use it all the time at the company where I work. Most of the developers here love it, the rest don't understand it.

The PostOfficeBox doesn't need any special XML plugin and it's only 2.2k worth of javascript. Works in IE / Mozzilla / Opera, but doesn't work in Konquerer due to their poor poor code.

At first you may not see the point of AJaX or the PostOfficeBox, but once you understand what it can do / open up in the web world, you can do some pretty interesting things that would normally be laughed at in a web environment.

I have a semi-old version still up on my site at http://pobox.staticsolution.com.

Peace,
-Timothy
4/27/2005 1:27 PM | PostOfficeBox

Post Comment

Title  
Name  
Url
Comment   
Protected by Clearscreen.SharpHIPEnter the code you see: