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

  • Home
  • SEARCH
  • 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 6860051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:21:36+00:00 2026-05-27T02:21:36+00:00

While attempting to build a website, i have gone through many online tutorials. Thanks

  • 0

While attempting to build a website, i have gone through many online tutorials. Thanks to those websites and stackoverflow, i got things up and running. However, out of curiosity, when i checked the source of other professional websites, the scripting looks so much more complex. I have listed a few examples here:

  1. Im using XML in my web and i read from a web tutorial website that in order to manipulate the xml data using javascript, we first need to convert the xml doc to a DOM object, using code snippets like this:

    if (window.XMLHttpRequest)
    {// code for IE7+, Firefox, Chrome, Opera, Safari
    xmlhttp=new XMLHttpRequest();
    }
    else
    {// code for IE6, IE5
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    xmlhttp.open("GET","books.xml",false);
    xmlhttp.send();
    xmlDoc=xmlhttp.responseXML;

I have checked several professional websites that use xml, but i don’t see such codes there. Could they have hidden the codes in some external file?

  1. In another website, when i checked the source, it uses a lot of funny values such as this:

    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="vDzFWVcOVLrtEQSDGPTcYv1RQRqWyN+jKq3DtdY1Q95kqTQ36 .......

What does all this mean? and why is it necessary to have this?

  1. Another one that i often see in professional websites is something called “google-analytics”. What is that?

My website is working perfectly fine, but im afraid that i might be missing out on something which i may not be aware of. Pls help me with this. Thanks a lot!

  • 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-27T02:21:37+00:00Added an answer on May 27, 2026 at 2:21 am

    Your first code block that starts with if (window.XMLHttpRequest) is cross-browser code for doing an Ajax call (a request for data from a remote server). This type of code would typically be in an external javascript file (which can be more appropriately cached by the browser across all the pages of your site). If you use a client-side framework like YUI or jQuery, this type of code will be in that framework. You would only need this code if you were doing ajax calls in your web page.

    The funny variable names are probably something generated server side by some server-side framework. It is unlikely a human would manually make names like that in manually created HTML. The names make sense to the server-side framework – they aren’t something you need to emulate.

    Google-Analytics is a visitor tracking and site reporting tool that Google provides. A quick search on Google give you as much info as you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While attempting my first sub-class in Objective-C I have come across the following warning
I'm pretty exasperated. I'm attempting to build a turn-based multiplayer online game for Android
I'm attempting to learn Spring MVC but have been spoiled by Grails. While I
While attempting to provide an implimentation to this question , I got stuck on
While attempting to get an old svn dump of a project under git control,
While attempting to link with QT 4.5 release, I run into this error message
Occasionally while attempting to save a Crystal Report that I'm working on in VS2008,
Note : No MFC No ATL Using Visual C++ While attempting a connection between
While going through university and from following the development of SO, I've heard a
I am attempting to build a string extension method to trim a string to

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.