XML, JSON, AJAX

XML, JSON, AND AJAX

By: Gonzales, Brian Gabriel E.



What is XML?

- Extensible Markup Language is known as XML. It is a markup language made specifically to convey and store structured data. In order to encode documents in a way that is both machine- and human-readable, XML requires a set of rules.

Similar to HTML, XML stores data in a hierarchical format. However, XML is concentrated on describing the structure and substance of data, in contrast to HTML, which is largely used for displaying and formatting web content. It offers a method for creating unique tags and elements to represent data in a particular domain or application.

Elements, attributes, and text content are all parts of an XML document. Start and end tags are used to enclose elements, and they are capable of having child elements. The start tag of an element contains the attributes that are used to describe the element in more detail. The data that is present in an element is represented by text content.

Many different applications use XML, including online services, configuration files, data storage, and data exchange between systems. It may be parsed and handled by various programming languages and technologies and is platform-independent.

 


What is JSON?

-  JavaScript Object Notation, or JSON. It is a simple data interchange format that is simple for both humans and machines to read, write, parse, and produce. As an alternative to XML, JSON is frequently used to communicate data between a server and a web application.

Although JSON is based on a portion of the JavaScript programming language, it is also compatible with a wide range of other computer languages. Data is arranged into key-value pairs contained in curly braces ({}) or as an ordered list of values enclosed in square brackets ([]) in the key-value format, which is how it represents data.

 


What is AJAX?

-  Asynchronous JavaScript with XML is referred to as AJAX. It is a collection of web development methods used to build dynamic and interactive online applications. AJAX makes it possible to retrieve and transfer data from a web server asynchronously without having to reload the full web page.

Traditionally, the browser sends a request to the server whenever a user interacts with a web page, such as by filling out a form or clicking a button, and the server processes the request and responds. The revised content would then be displayed after the full web page was reloaded. Synchronous communication is the term for this action.

The asynchronous communication between the browser and the server is made possible by AJAX, on the other hand. Without refreshing the page, JavaScript is used with AJAX to send requests to the server in the background. The requested data is provided by the server in response, and JavaScript can use that data to dynamically change the requested web page elements. 

 

 

Comments

Popular posts from this blog

DATA DEFINITION LANGUAGE, INTERACTIVE DATA MANIPULATION LANGUAGE, EMBEDDED DATA MANIPULATION LANGUAGE

DATABASE, MS EXCEL, AND MS ACCESS