THINKPHP form submission method efficiency questions

Source: Internet
Author: User
Efficiency of form submission in THINKPHP 1. Which of the following is more efficient for ajax and common post when a large amount of data is inserted?
2. when querying a large amount of data, which of ajax, common get, and common post is more efficient?


Reply to discussion (solution)

All the same!
The form has built-in get and post submissions.
Ajax completes get and post through The XMLHttpRequest component

If you need to write a word, you must be sure that the post efficiency is the lowest, but this difference can be reflected in your business logic, and you probably won't come here to ask this question. We recommend that you use ajax for submission and query to optimize the user experience.

When querying a large amount of data, it is not feasible to submit a get statement with more query conditions. post is required,

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.