- We design and build extraordinary applications for companies looking to make the next great idea a reality.
- learn more
Really Simple History: Onwards and upwards
I'm excited to announce that I've heard the call and volunteered to tackle maintenance and stewardship of Really Simple History, Brad Neuberg's intuitive, lightweight Ajax history library. Brad developed RSH a couple of years ago, drawing inspiration from the Dojo Toolkit folks to deliver a standalone library that provides back-button and bookmarking support for Ajax apps in IE6 and various Gecko-based browsers. Since, then, many additional Ajax frameworks have implemented back-button and bookmark support, some of them drawing on Brad's work.
Meanwhile, Brad's been too busy with other projects to upgrade RSH for a variety of new and existing browsers: IE7, Opera, Safari/Mac and Safari/Windows. I asked Brad to let me take care of his baby for several reasons. For one thing, I've been an enthusiastic user of the library. For another, I've been wanting to get involved on a more formal basis with open-source JavaScript projects. But most of all, I believe RSH remains a great tool for folks who want a solution to the Ajax history issue without the overhead of a larger Ajax framework.
I'm currently working with Brad to migrate RSH to Google Code, get acquainted with the bug base, and start tackling the thorny issues surrounding Ajax history support in the 2007 browser landscape. I look forward to shamelessly pilfering the many fine solutions uncovered by a large community of developers since Brad's initial work. (Brad was kind enough to point me to this blog post from Bertrand Le Roy, which lays out many of the aforementioned fine solutions and thorny issues.)
In the meantime, I'd love to hear from RSH users about their hopes for the future of the framework. Comments, please, or ping me directly at bdillard (at) pathf.com. Thanks!
Topics: Ajax Bookmarking, Ajax Frameworks, Back Button, Browsers, Firefox, Frameworks, IE, IE6, IE7, Javascript Libraries, Opera, Really Simple History, Safari, Webkit
Comments: 12 so far
Leave a comment
About Pathfinder
Recent
- Pimp my jQuery: Five plugins to replace the features Prototype and Scriptaculous users expect
- Thanksgiving 2008: What We’re Thankful For (In Rails)
- iPhone SDK: Testing with TextMate & GTM
- GWTQuery - JQuery-like Syntax in GWT
- Ask the readers: How do I fire native browser events in Prototype.js?
- News Rollup for the Week of November 17, 2008
- Rails ThreatDown!
- Automated Deployments Rock
- Bandwidth profiling Flex projects and more with Charles
- iPhone SDK: UIViewController Testing & TDD
Archives
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006


Fantastic! We are using yui’s browser history, which seemed to be the best of the crop of history managers when we made the choice. It has to be the most brittle piece of code in our app. The most ridiculous requirement is that it has to be included inline at the top of the body. You can’t put it in a separate file. I am very glad that development of browser history is progressing. Thanks for taking this on!
Comment by theIntuitionist, Wednesday, September 12, 2007 @ 11:39 am
Big ups, Brian! I’d been occasionally checking for the latest changes to an RSH fork at http://cvs.horde.org/dimp/js/src/dhtmlHistory.js .. it’ll be good to have proper new releases.
Comment by hdfssk, Wednesday, September 12, 2007 @ 4:39 pm
Sweet, looking forward to it. Been using it for a long time.
Comment by Trey, Wednesday, September 12, 2007 @ 5:50 pm
Brian, I’m very excited that you are onboard and leading the project now. I just did a blog post about it:
http://codinginparadise.org/weblog/2007/09/really-simple-history-finds-new-home.html
Best,
Brad
Comment by Brad Neuberg, Friday, September 14, 2007 @ 1:14 pm
There are a variety of forks and patches others have done on RSH. Amalgamating those is probably a good first step.
Comment by Brad Neuberg, Friday, September 14, 2007 @ 1:15 pm
hdfssk and Trey, thanks for using RSH!
Best,
Brad
Comment by Brad Neuberg, Friday, September 14, 2007 @ 1:41 pm
Looking forward to the next release.
Comment by Magnus, Monday, October 8, 2007 @ 3:04 pm
Thanks for putting together RSH. I am trying to use it in my code but am confused about the usage. I looked at the usage instructions at Google code, but I could not figure out how to add to history. Can you provide some more details as to when to invoke dhtmlHistory.add and historyStorage.put/get ?
Thanks for your help.
Comment by ms, Tuesday, November 20, 2007 @ 9:39 am
Hi Brian,
First, let me start by saying, thanks!
I’m new to Ajax and web development. I just implemented history and bookmarking capability with RSH and it seems to be working fine. My question: does this solution also solve the search engine problem. That is, if I have a sitemap with links on all my website pages (i.e. “pages + RSH solution”) and submitted the sitemap to google, will google and other search engines be able to read them and properly index them.
Thanks,
- Wael
Comment by Wael, Friday, January 4, 2008 @ 1:52 pm
Hi Brian,
First, let me start by saying, thanks!
I’m new to Ajax and web development. I just implemented history and bookmarking capability with RSH and it seems to be working fine. My question: does this solution also solve the search engine problem. That is, if I have a sitemap with links on all my website pages (i.e. “pages + RSH solution”) and submitted the sitemap to google, will google and other search engines be able to read them and properly index them.
Thanks,
- Wael
Comment by Wael, Friday, January 4, 2008 @ 1:54 pm
Hi Brian (and Wael)
After looking into this I discovered that most sitemap generators don’t support RSH links (which is probably due to “javascript” being included in each of them).
This is because RSH links in the demos given are in the following format:
add history
If you use the url generated by the script in the ‘href’ content and then put the javascript link in ‘onclick’, you will find that the script is initialised but the link is ignored, yet running a sitemap generator on this will list all links within ‘href’.
add history
I’m not sure if this works so well when you change the linked item dynamically, but this is a decent solution in my opinion for listing items. If this method doesn’t work exactly as planned then perhaps run an .htaccess script that points to the same item and change the url to something like the following:
add history
With the .htaccess script the page would then be interpreted by a search bot as an existing page, yet the server would interpret the page as the ‘href’ content given in the second example.
Comment by Mark, Wednesday, June 11, 2008 @ 6:57 am
Whoops, didn’t think the html would be parsed. Here are the three examples:
add historyadd historyadd historyComment by Mark, Wednesday, June 11, 2008 @ 7:09 am