We had a requirement to create a slideshow of a large number of images. The total size of all the images was over 5 MB and most jQuery plugin’s I searched for used and <img> and <ul> to create the slideshow which wouldn’t work in this case as it would increase the size of the page humongously.
So I wrote this jQuery plugin which fetches the images from <a> anchor tags and loads the images one after another, allowing the possibility of showing unlimited number of images since only 2 images are loaded in the DOM any any given time.
Download jquery.dynamicslideshow.js here.
dynamicSlideshow demo:
Usage:
$(function(){
$("#slideshow").dynamicSlideshow();
});
<div id="slideshow">
<a href="http://farm4.static.flickr.com/3382/3662064069_997cfedd92_m.jpg"></a>
<a href="http://farm4.static.flickr.com/3415/3659838512_124de4e172_m.jpg"></a>
<a href="http://farm4.static.flickr.com/3384/3548909606_3755647a07_m.jpg"></a>
</div>
$(function(){
$("#slider").dynamicSlideshow({duration: 5000});
});
The recent processing shift in software world has given me a paradigmn shift in thinking about software architectures.
However complicated the movie ‘Matrix Reloaded’ may seem, it made one thing clear, and that was that the Matrix was being upgraded. The same can been seen today happening with the Internet. And this processing shift I believe is at the center of it.
I remember the old days when we developed desktop applications in VB, Delphi, C++ and such languages. These applications were deployed on individual desktop computers and many of them communicated with very powerful servers. The whole idea being to make that dummy client (desktop) become more intelligent. The idea of the application residing on the computer was prevalent and acceptable. Web browsers were simply windows into the servers sitting behind them. Web servers were powerful machines that did huge amout of processing the desktop’s could not perform. So they would provide a simple output that the dummy clients (desktops) could display to the users.
Today when the desktops are more powerful than those powerful servers in old days, this overall architecture has evolved. Applications no longer need to be hosted on the desktop. They can be served in real time. The servers need not be powerful, they can be dummy. The desktops are no longer dummy, they are powerful and can be intelligent. Thus the processing has been shifting from the server to the clients. AJAX has been one of the powerful factors in implementing this beautiful architecture. Javascript has evolved as the de-facto language in making this shift possible.
Working on these concepts has been very interesting. The scope of growth this kind of architecture provides is unlimited. It finally brings the plug-n-play model to software. Just as hardware plug-n-play models have evolved over the centuries, the same is happening today with software but at a much faster rate.
I am looking forward to the days when software merge with hardware, opening horizons to a world even difficult to imagine today.
It is amazing how small a world we live in in this world of google. A month or so back while playing with google gadgets I published few gadgets to get a feel of how its subscriber base grows.

This image is a snapshot of its spread around the world in this short span.
Naturally there is much we can do and do differently in this global village we have come to live in.
This is my very first blog and my very first post therein.
I would like to start with publishing this poem I wrote many years back. This poem has always been an inspiration to me.
Sitting Alone,
In a dark night,
I think of,
My inner sight.
I see myself,
From the world of height,
At the place I sit,
As only a tiny might.
Then I think of how,
That this tiny me,
Could make this world around,
Bow at my knee.
And in my thought,
I see the drop,
That made waves wide,
In the lake I sought.
- Yusuf
Have fun!