dsHistory: Another Way to Revisit the Past

Andrew Mattie has released a new JavaScript history manager that allows one to bind functions to history events either with or without changing the window hash (depending on the developer’s preference). dsHistory internally works somewhat similar to the other history solutions that exist, but it is implemented more like dojo’s bind than anything else. It […]

Share online:

Andrew Mattie has released a new JavaScript history manager that allows one to bind functions to history events either with or without changing the window hash (depending on the developer’s preference).

dsHistory internally works somewhat similar to the other history solutions that exist, but it is implemented more like dojo’s bind than anything else. It requires no supporting libraries, it checks in at just over 7kb when compressed, and it is easy to use. The history is thought of as a series of events that have functions attached to them, and the bookmarkable window hash data is designed to be controlled independently from the events (if it is even utilized at all, which I’ve found isn’t desired at times).

Andrew details his travels on getting this library out by discussing those who came before him:

Check out examples to get started. It explains most everything you’ll need to know really. If you’d like to use it, you can download the zip. It contains the usage.html file, the uncompressed dshistory.js file, the compressed dshistory.compressed.js file, and the dshistory.html supporting asset file.

Source:→ Andrew Mattie

dsHistory, Java, Secipt, Javascript, Library

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.