Text 28 Mar Javascript Hashtable.

I wanted to put more statistical information on the FaiftfulNews front page. That means having a persistent data structure during each “view” of the page in which I can store the statistical values accurately.

At first, I thought an array will do. A simple 1-D or probably 2-D array would do the job. It will work, but since the data structure will involve key-value pairs, a hashtable made a more sense.

So I went ahead and found a very nice Javascript hashtable. Download it from here. It comes with a nice documentation.


Design crafted by Prashanth Kamalakanthan. Powered by Tumblr.