Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New Coder
    Join Date
    Sep 2010
    Location
    New Jersey
    Posts
    21
    Thanks
    3
    Thanked 1 Time in 1 Post

    Arrow Pure AJAX Web Design

    Greetings,
    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.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,784
    Thanks
    6
    Thanked 1,022 Times in 995 Posts
    Quote Originally Posted by H.R.H. View Post
    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.

  • Users who have thanked VIPStephan for this post:

    H.R.H. (10-11-2010)

  • #3
    New Coder
    Join Date
    Sep 2010
    Location
    New Jersey
    Posts
    21
    Thanks
    3
    Thanked 1 Time in 1 Post
    Yeap,
    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.

  • #4
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    1
    Thanks
    0
    Thanked 1 Time in 1 Post

    Pure AJAX Web Design

    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.
    Last edited by WA; 10-06-2010 at 07:25 PM.

  • Users who have thanked Huba for this post:

    H.R.H. (10-11-2010)

  • #5
    New Coder
    Join Date
    Sep 2010
    Location
    New Jersey
    Posts
    21
    Thanks
    3
    Thanked 1 Time in 1 Post
    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.

    H.R.H.

  • #6
    New Coder
    Join Date
    Sep 2010
    Location
    New Jersey
    Posts
    21
    Thanks
    3
    Thanked 1 Time in 1 Post
    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.

    www.paribit.com

  • #7
    New Coder
    Join Date
    Sep 2010
    Location
    New Jersey
    Posts
    21
    Thanks
    3
    Thanked 1 Time in 1 Post
    Here is the

  • #8
    New Coder
    Join Date
    Sep 2010
    Location
    New Jersey
    Posts
    21
    Thanks
    3
    Thanked 1 Time in 1 Post
    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.

  • #9
    New Coder
    Join Date
    Sep 2010
    Location
    New Jersey
    Posts
    21
    Thanks
    3
    Thanked 1 Time in 1 Post
    Hi,
    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.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •