View Full Version : Pure AJAX Web Design

09-09-2010, 06:55 PM
I developed a web application that uses only AJAX for everything. I know that it will break if javascript is turned-off. My entire site is defined/configured in the database. This makes it easier to maintain. The layout/masterpage, CSS and content is also defined at database level.

I want to make sure it degrades gracefully. What are my options other than using asp.net.

You can view the site at www.paribit.com

Opinions are more than welcome.

09-09-2010, 09:25 PM
What are my options other than using asp.net.

Using PHP.

No, but kidding aside: You’ll have to use something that outputs plain HTML. You could write static HTML pages but if you have an advanced site/CMS then you just have to use some server side language to process the data and output it as HTML. There’s no way around this, and the way it is now you’re kind of doing the same thing (retreiving data from a DB and composing it to a complete page), only that you’re doing it on the client side which is unreliable at best.
Use JavaScript to enhance the functionality of an already existing and working site, not for core functionality.

09-09-2010, 09:30 PM
The way it works right now is
jQuery calls webservice,
Webservice calls Business Service (Static methods) - this does XML transform
Business Service calls BLL
BLL calls DLL
DLL calls DbFactory

So my page is created at the Business Service Level using XSL.

I created the Business Service Level with degradation in mind. Only it seems I have to create a 1980's type web page and then enhance it with AJAX...does not seem right does it.

10-06-2010, 12:08 PM
There are a lot of good ways to use AJAX in your site design. Use a progress indicator to hint that processing is occurring. Provide a Slider to let the user choose a value within a range. When a page element undergoes a value change or some other significant event, dynamically manipulate its brightness for a second or so. Check out the Ajax Patterns site for some other good ideas.

10-08-2010, 04:28 PM
Thank you guys. I am looking into options.

Currently my C# code-behind also loads the information. this way if JScript is disabled, the page still loads correct details and functions accordingly.

What I am trying to accomplish is to prevent the code-behind from executing when JScript is enabled.

Any suggestions.


10-12-2010, 10:50 PM
I changed the look and feel of the application. Personally, I think this is better, cleaner.

Take a look. Let me know if its more professional.


10-26-2010, 02:04 AM
Here is the

10-26-2010, 02:30 AM
The username and password is: - demouser
Once in, click on the 'ClockIn' link at the top right.

Check out the AJAX functionality on Page Loads and Menu Options.

11-03-2010, 02:40 AM
I changed the design of the application.

Check www.ccbzone.com Same application, different front end.

If I could get feedback, that would be appreciated.