XMLHttpRequest Javascript usage example

15 March 2005   0 comments   Web development


Mind that age!

This blog post is 15 years old! Most likely, its content is outdated. Especially if it's technical.

Yesterday Sunday I experimented with a simple yet useful application that uses XMLHttpRequest object that is ever so popular now thanks to Googles services Gmail and Maps. It makes it possible to make a webpage work like a browser. It can visit another website within one without refreshing the page; and with an asyncronous hack you can make these things happen in the background and not appear until they've been loaded.

On www.issuetrackerproduct.com there's a lots of information about the IssueTrackerProduct, naturally. On it, there is also two issue tracker instances hosted: Real and Demo. If you visit the website now you won't see a difference, but you will when you come back later.

New issues counted When you visit the Real or the Demo issue tracker, a Javascript cookie it set on your computer to remember the last time you visited the issue tracker. Then, much later, if you revisit www.issuetrackerproduct.com and new issues have been added inside Real or Demo, it will show so on in the menu as shown in the attached screenshot.

If you're interested in the code, feel free to view it and rip it for your own applications. It's not rocket science but the application is useful because it reminds people of how an email program works.


Your email will never ever be published

Related posts

Best Hubbles Space Telescope Images 13 March 2005
Adminspotting t-shirts 17 March 2005
Related by Keyword:
Never put external Javascript in the <head> 02 April 2013
ToDo apps I gave up on in 2010 03 January 2011
The awesomest way possible to serve your static stuff in Django with Nginx 24 March 2010
V8 < TraceMonkey < SquirrelFish 23 September 2008
IssueTrackerProduct 0.8.0 15 October 2007