Xml: What is xml? Xml stands for ex



Download 35.3 Kb.
Date02.02.2017
Size35.3 Kb.
#16301
AJAX

Ajax (Asynchronous JavaScript and XML), is a group of inter-related web development techniques used for creating interactive web applications. A primary characteristic is the increased responsiveness and interactivity of web pages achieved by exchanging small amounts of data with the server "behind the scenes" so that entire web pages do not have to be reloaded each time there is a need to fetch data from the server. This is intended to increase the web page's interactivity, speed, functionality and usability.

Ajax is asynchronous, in that extra data is requested from the server and loaded in the background without interfering with the display and behavior of the existing page. JavaScript is the scripting language in which Ajax function calls are usually made. Data is retrieved using the XMLHttpRequest object that is available to scripting languages run in modern browsers, or, alternatively, through the use of Remote Scripting in browsers that do not support XMLHttpRequest. In any case, it is not required that the asynchronous content be formatted in XML.

Ajax is a cross-platform technique usable on many different operating systems, computer architectures, and web browsers as it is based on open standards such as JavaScript and the DOM.

{wikipedia}



XML:

What is XML?


  • XML stands for EXtensible Markup Language

  • XML is a markup language much like HTML

  • XML was designed to carry data, not to display data

  • XML tags are not predefined. You must define your own tags

  • XML is designed to be self-descriptive

  • XML is a W3C Recommendation



The Difference Between XML and HTML


XML is not a replacement for HTML.
XML and HTML were designed with different goals:

XML was designed to transport and store data, with focus on what data is.


HTML was designed to display data, with focus on how data looks.

HTML is about displaying information, while XML is about carrying information.


XML Does not DO Anything


Maybe it is a little hard to understand, but XML does not DO anything. XML was created to structure, store, and transport information.

The following example is a note to Tove from Jani, stored as XML:






Tove

Jani

Reminder

Don't forget me this weekend!


Download 35.3 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page