Posts

Showing posts from May, 2023

AJAX (Asynchronous JavaScript and XML)

Image
What is AJAX?  AJAX (Asynchronous JavaScript and XML) is a web development method used to build responsive and dynamic web pages. Without requiring a complete page reload, it enables web applications to update and show content asynchronously. The XMLHttpRequest (XHR) object is used in the AJAX approach to asynchronously update the page's content and connect with the server. A web page's JavaScript code can utilize XHR to send a request to a server whenever a user interacts with it. Once the server responds, the request can be used to change the page's content. AJAX is useful for a variety of tasks, including form submission, real-time data changes, and dynamic content loading. Modern web browsers support it to a large extent and it has gained popularity in web development.

JSON (JavaScript Object Notation)

Image
What is JSON? JavaScript Object Notation, or JSON. In order to transfer data between a server and a web application, it is a lightweight data exchange format that is frequently used in web development. It is based on a portion of the syntax used in JavaScript, although it may be used to any programming language. JSON was created with both people and robots in mind. It employs a straightforward syntax of key-value pairs surrounded in curly brackets and separated by commas. The values may be texts, numbers, booleans, boolean arrays, or even other JSON objects, and they may also be of other data kinds. Especially in AJAX applications where it allows for dynamic changes without requiring a full page refresh, JSON is frequently used in web development for sending data between a server and a web application.

XML(Extensible Markup Language)

Image
What is XML? XML stands for Extensible Markup Language. It is a markup language made specifically for storing and sending data in a way that is both machine- and human-readable. As it offers a mechanism to organise and define the data being sent, XML is a standard format for data interchange between various applications and systems Similar to HTML, XML employs tags to describe the structure of data. But unlike HTML, XML tags aren't predefined; instead, the person or group writing the XML document defines the tags. The structure and substance of the data being stored or shared can now be defined with more freedom. Structured data, including configuration files, database information, and documents with intricate formatting, are frequently stored and exchanged using XML. It is also commonly used in web services, where it is used to represent data in a format that is simple for many platforms and apps to ingest.