OOPs stands for Object Oriented Programming which is all about creating class and objects. Class serves as a template and multiple objects can be created using the class.
Oops concept reduces code repetition. Classes are templates for creating objects.
For an example, if we see a game take it as a Racing game where we will be having multiple cars which will be running there. So in this case either we have to write codes for each car individually or else we can create a class for car and then we can use it multiple times for the other class with that class name.
A class is a self-contained, independent collection of variables and functions which work together to perform one or more specific tasks, while objects are individual instances of a class.
Understanding synchronous and asynchronous:-
Synchronous:-The synchronous request blocks the client until the operation completes.
Asynchronous:- Asynchronous request doesn’t block the client. At the time when the request is processing, user can perform another operation.
Some AJAX technologies:-
As we know ajax is not a technology but group of inter related technologies.some of the technologies is given below:
1.HTML/XHTML and CSS
2.XML and JSON
HTML/XHTML and CSS:-These are the technologies which are used for developing front end of a websites and styling.
XML and JSON:-It is used for carrying data to and from the server
DOM:-It is used for dynamic display and interaction with the data.
XMLHttpRequest:- It is used for asynchronous communication between client and server .
HOW AJAX WORKS:-