Home > front end >  Commonly used web development way of back-end data before and after the interaction
Commonly used web development way of back-end data before and after the interaction

Time:12-14

Recently I want to do a project, involving a web front end data interaction technology, several developers is the ajax request interaction, want to ask next everybody, there is no other way to interact recommend, and simply explain the advantages and disadvantages of the technology, thank you!

CodePudding user response:

Ajax + json basic is the most commonly used the simplest technology, there are other hidden iframe to get the data, and the WebSoket new, but is not convenient

CodePudding user response:

Ajax is usually used, the bottom is also XMLHTTP request, websocket, real-time request is before and after the end, has always had a connection, are rather easy to use, in general, they had no difference of application scenarios they request protocol is different also, but with special needs to distinguish, baidu by oneself,

CodePudding user response:

Generally with ajax is satisfied, special circumstances with websocket connection long, embedded iframe

CodePudding user response:

Ajax!!!!

CodePudding user response:

Ajax is good

CodePudding user response:

CodePudding user response:

Now all is the manner in which the ajax + JSON, using this way