Loading....
Recent Article links:

Article

Ajax JavaScript Libraries

Last week I had some spare time and took a look at the Ajax hype. Instantly my attention was drawn by the loaders and to say the least, the load time on the WordPress blogs. Since I wanted to implement Ajax at my site, it was a bit of a turn off.

I first looked of course at the Gianni Milanesi’s AjaxWP. This looks promising if you like some DHTML in combination with Ajax. It’s also easy to setup… so what’s the problem? Well, it’s using Prototype, Scriptaculous and a history library. Which are all fine JavaScript libraries but do not improve load time. In fact, according to www.websiteoptimization.com it takes about one minute on a 33k6 telephone line on its first visit to completely load the site (without browser rendering). The Bloxpress 2 is a very fine WordPress theme, with a high coolaid level. But again, the load time is nothing to be proud of. And it’s a theme, I wanted my own the Brajeshwar theme to have Ajax.

I personally don’t like libraries, because you either use you nasty hacks because they don’t do what you want, or they just are far to big, which then you have a problem with legacy clients (which the processor can’t cope) or dialup users, which are very grateful that they could actually use your site within a minute :)

Because I want to use Ajax to improve the download and render time of the site instead of making it worse by implementing those libraries, I decided to write my own implementation.

Comments (3 comments)

[...] Needles to say, it saves a lot of bandwidth. My average page size did go from 15kb to 5kb (uncompressed, with ZLib compression, often not more than 1kb!). This has a lot of advantages, because it uses less processing and parsing time on the server and less download time and render on the client, and it looks nicer towards the user because the page doesn’t get refreshed. I The only overhead is the 4kb JavaScript, which is nothing compared to some other ajax JavaScript libraries. [...]

Nico.Berlee.nl » Archives » My improved website response with Ajax / August 19th, 2006, 10:12 pm

[...] All driven by my own build very light weighted framework which I will release hopefully later this week separately with a howto to adapt it to your own WordPress theme. [...]

Nico.Berlee.nl » Archives » AjaxBerlee WordPress theme released / October 17th, 2006, 3:29 am

[...] Needles to say, it saves a lot of bandwidth. My average page size did go from 15kb to 5kb (uncompressed, with ZLib compression, often not more than 1kb!). This has a lot of advantages, because it uses less processing and parsing time on the server and less download and render time on the client, and it looks nicer towards the user because the page doesn’t get refreshed. I The only overhead is the 4kb JavaScript, which is nothing compared to some other ajax JavaScript libraries. [...]

My improved website response with Ajax | WordPress / January 5th, 2007, 5:38 pm

What do you think?

ACF loading animated gif