This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Performance" Watch "Performance" New topic
Author

Performance

Alvin Tang
Greenhorn

Joined: Oct 16, 2004
Posts: 20
I want to know the performance of using AJAX compared with tailor-made codes. How much memory resources is required solely for AJAX?

Is there any tests carried out that measure the performance or is there any benchmarking?
[ November 15, 2005: Message edited by: Alvin Tang ]

Alvin Tang
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
What do you mean by this: "AJAX compared with tailor-made codes"

Eric
Alvin Tang
Greenhorn

Joined: Oct 16, 2004
Posts: 20
Sorry, I think I cannot express the question clearly.

"AJAX compared with tailor-made codes" means comparing with some general DHTML/Javascript written specifically for a web page, how is AJAX's performance?

Thanks.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Ajax is just JavaScript so you are not talking about anything different with DHTML. DHTML s JavaScript with CSS to manipulate the page. You end up using 'DHTML' with Ajax.

Performance wise with Ajax is based on: Type of conection user is on (T1,dialup,DSL,etc), where they are located compared to the server, type of caching involved (client and server), the business logic on the server (how long is it going to chug to get the data out), and how well the client side code is implemented.

An Ajax script may look like lightening fast testing, but the developer needs to realize that there will be traffic on the net and not everyone has a direct connection to the server.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Performance