Alex Mueller on Software and Technology 
Tuesday, August 22, 2006

I have been working with a customer recently who came to me in need of a website geared towards marketing his educational curriculum. After sitting with him and thinking I understood his needs, I began looking for existing frameworks that would provide a working foundation for this project. My investigation piloted me to Moodle, an open source, course management system.

In this scenario, Moodle turned out to be a fine solution, for a larger-scale organization, like a university. Its features, while too many to list here, were almost too powerful for the needs of my customer. After seeing the frustration in his eyes, I decided to switch gears completely, and create a new web project using basic HTML and AJAX.

Reusing my layout from the Moodle project, I had a basic HTML site up and running quickly. As I created each page, I then ran into a problem of multiple HTML files with the same header, navigation menu, and footer. If my customer desired to change one menu item, certainly every HTML file would need to be modified. What a hassle. Having never been a fan of HTML frames, I decided to investigate AJAX as an option to retrieve HTML content and insert it into a content placeholder. Doing this in ASP.NET would be simple, but why make my customer have that dependency?

The solution worked wonderfully, except for the nature of AJAX and URL history navigation. AJAX systems are not capable of bookmarks by default, nor do they provide a solution to handle a user clicking a browser's forward and back buttons.

My solution: "The Really Simple History (RSH) framework makes it easy for AJAX applications to incorporate bookmarking and back and button support." The RSH was easy to implement and integrate into this simple HTML site, providing URL history and caching. Best of all, it is an open source solution. Feel free to see my customer's site in action.

"To Javascript! The cause of and solution to all of life's problems."

Really Simple History
AJAX: How to Handle Bookmarks and Back Buttons

Tuesday, August 22, 2006 8:34:02 PM (Mountain Standard Time, UTC-07:00) | Comments [0] | Tools#
MuellerDesigns.net
Search
On This Page
PowerShell Documentation
Automate Daily Tasks with PowerShell
SketchPath XPath Editor
Software Testing - Revisited
Architecting Buildings and Software
NBCOlympics.com with Silverlight
Marker Interfaces and C# Attributes
The Phone Screen
Working with ASP.NET MVC and MvcContrib
Thanks to BDD
Twitter
The Opposite of a Singleton?
Removing Duplicate Code in Functions
Add Vista Themes to Longhorn
Changing File Ownership In Vista and Longhorn
Most Popular
JavaScript ReplaceAll Functionality
What is polymorphism?
What is composition?
Sorting with IComparable and IComparer
Applying the Observer Pattern in ASP.NET
MVP in ASP.NET
What is abstraction?
What is encapsulation?
What is a class?
What is inheritance?
Authentication in ASP.NET
Calendar Controls
XPathNavigator.CheckValidity new for 2.0
SQL Server 2005 Connection Issues
Auto-attach to process '[####] aspnet_wp.exe' on m...
What is an object?
FreeTextBox
VMWare and VPC
An Example of Reflection using C#
Caring for the Team
Archive
Links
Categories
My Local Blog Map
Blogroll
About
Powered by:

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2009
MuellerDesigns.net

Sign In

Help Those In Need
The Hunger Site
Ronald McDonald House Charities (RMHC) of Western Washington & Alaska