Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 747221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:10:49+00:00 2026-05-14T14:10:49+00:00

What are the things to consider and watch out for when designing a website

  • 0

What are the things to consider and watch out for when designing a website with AJAX? Must take care of conditions, say timeouts, error handling, for instance?

Best practices? What parameters to take care of while designing and coding?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:10:49+00:00Added an answer on May 14, 2026 at 2:10 pm

    There’s a few different views to consider:

    AJAXs Frameworks

    • There’s a few out there – I’m afraid I haven’t used many, but they’ll cover a lot of the plumbing for you, and handle X-Browser compatibility issues.
    • jQuery is a very commonly used one (so probably good for your CV).
    • ASP.NET AJAX if you’re on the MS platform.
    • Rolling you own can be instructive – but you’d only want to do it for the right reasons.

    Dependancies

    • Which browsers will be using the site and what do they support, all the old JavaScript X-Browser compatibility issues are applicable.
    • A good framework should help here.
    • Be careful how you manage dependancies between client-side code and server-side code; you want to ensure consistency as much as possible, and you want to avoid hard-coding stuff and baking in other garbage that will make maintenance and change hard over time.

    API / Interface Design

    • Somethings got to handle the AJAX calls server-side: when you build thios you’re building an API that you app (and others) can call, so make sure you take a bit of time to think about it up front.
    • Make sure you consider useful design patterns and principles: Single Responsibility Principle (SRP), Interface Segregation Principle (ISP), Common Reuse Principle (CRP)

    Security

    • Publishing an AJAX API on the net has it’s own set of security gotcha’s, be wary of them.
    • Don’t trust user / system input, make sure you validate all calls being sent.
    • Don’t forget you can secure your API (or parts of it) in a secure part of the site. Uusers who have authenticated will also be authenticated to use any AJAX interfaces protected this way.

    Documentation

    • AJAX in itself doesn’t provide a way of describing itself (like Web Services can, via WSDL); I’v esometime had the server-side interace provide info on how it should be called if it’s not called correctly, or allow every interface to be called with a common parameter “Help” – when called it provides back all the information you’d need to know how to call it.
    • Your approach will vary depending on who can use/call the API: is it part of a web-app that will only work on the companies LAN, or is it puiblic/www facing?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have resources that give a list of things to consider when designing
a. What are the things I must consider? b. I have several Stored Procedures
What are the things to consider when choosing between ByRef and ByVal. I understand
What are your criteria or things that you consider when you are an early
What things do I need to consider when doing this: What to remove/manipulate/add Regards
What are the things that you would consider when defining indexes, clustered and non-clustered,
Exceptions are wonderful things, but I sometimes worry that I throw too many. Consider
Things to take into consideration: - easy to use - fast - use underlying
Curious about things to consider to avoid any code breaks, etc to upgrade from
Consider I have following commandline: do-things arg1 arg2 | progress-meter Doing things...; , where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.