I am unable to get the clear difference between these( Ajax call,REST/SOAP,Htttp) terms as they somehow confuses me. WHat I know about them right now is:
Ajax call: It’s used to send the request and receive the response back from the Server.
We use the method $.ajax() and we give the config for this like url, arguments, header etc. inside ajax() method and expect a response in return from backend written in PHP or any other language.
**REST/SOAP:**These both are different ways to communicate with the server. Parameters send in REST protocol are appended in its url while in SOAP parameters are encrypted while sending the request.REST is easy to implement and SOAP is little bit tedious to implement.SOAP is used for the secure connections while REST can be used for connections which doesn’t needs security.I am unaware how to implement it ?
**HTTP:**I have seen this term in no. of coding snippets but how it is used, I am unaware of it. All I know about it is “It is the protocol to interact with the server for the data transmission over the network”. But how does it work, No idea!
Along with this, How all these concepts are connected to each other Is there any single example which uses all these concept together. Till now I have used the ajax call in jquery which sends the request to the PHP page which in return sends the response in HTML form and we parse that data to get the relevance portion.
Any detail explanation will be helpful. Thanks in Advance !