Java Entrepreneur

Java Application Development & Entrepreneurship

How reducing Ajax coding can lead to better results

ajax-visual-cues.png

Creating applications using Ajax can lead to lengthier codes and in cases where the latest browsers are not loaded and neither the bandwidth is good expect the usual freezing problem to erupt even before the application gets loaded. You might say that compression could help in sorting out the problem but it's not always possible to compress the entire code as some of them are needed to offer support to the function.

So what all can be done to bring down the size of Ajax application? Try and keep the coding to minimum wherever possible as this would lead to a better Ajax application. Putting to use libraries ensure that coding is kept to bare minimum and you will end up with some great results too.

Another option could be splitting Javascript files which would ensure they are read faster. Though you might say it may involve a lot of effort on your part but the results at the end of the day would surely compensate for your efforts. Go ahead and use some of these tips and you will surely realize the worth of Ajax.

Info & Utils

Published in Monday, June 30th, 2008, at 9:56 am, and filed under AJAX.

Do it youself: Digg it!Save on del.icio.usMake a trackback.

Previous text: .

Next text: .

One Response

  1. Solomon Says:

    Splitting JavaScript files helps? I always saw the reverse… The fewer total files the better. We split out javascript files during development, but generally consolidate and zip our javascript files for faster download times.

Leave a Reply

Java Entrepreneur © 2008. Theme Squared created by Rodrigo Ghedin.