Ajax obtains Background Data. Is this data written in the database?

Source: Internet
Author: User
Ajax obtains the background data. Is this data written in the database? Ajax obtains the background data. Is this data written in the database?

Reply content:

Ajax obtains the background data. Is this data written in the database?

Answer the question first, either yes or no.

Then explain why ajax sends an xhr package to the backend, and performs a series of operations after backend parsing (adding, deleting, querying, and modifying data ). For example, if you register a user, submit the registration data using ajax, and then send the data to the backend for processing, that is, insert the data to the database. Then, a result is returned. The ajax callback function performs subsequent operations on the client based on the returned results.

This data is composedThe background generates. It can be native database content, processed content, or something else.

  1. Databases, files, sessions, and custom data can also be used.

  2. Obtain data from php, java, python, and nodejs

  3. Convert to json, xml

  4. Ajax Recognition

In fact, the interaction between the background and the foreground is implemented through interfaces, or APIs.
The specific embodiment is the json, xml, and other exchange formats.
This is like two people, one from China and one from Japan. You don't know Japanese, and I don't know Chinese.
But everyone knows English, so they translate it into English first.
How did this English come from? You can translate sentences in the book you are looking for or think about yourself.
There are many methods.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.