JavaScript Codes


 What is XML? 

    >Data may be stored and sent using XML, which is independent of technology and software.
          

           What is XML?           

  • XML stands for eXtensible Markup Language
  • XML is a markup language much like HTML
  • XML was designed to store and transport data
  • XML was designed to be self-descriptive
  • XML is a W3C Recommendation


What is JSON?
    >The JSON format is text-only, however the JSON syntax is developed on JavaScript object notation syntax. Any programming language may be used to write code that reads and produces JSON data.

            JSON Syntax Rules

  • Data is in name/value pairs
  • Data is separated by commas
  • Curly braces hold objects
  • Square brackets hold arrays



What is AJAX?
    >AJAX is a deceptive acronym. Although XML may be used by AJAX apps to transfer data, plain text and JSON text are also frequently used.

            What is AJAX?

AJAX = Asynchronous JavaScript And XML.

AJAX is not a programming language.

AJAX just uses a combination of:

  • A browser built-in XMLHttpRequest object (to request data from a web server)
  • JavaScript and HTML DOM (to display or use the data)

Comments