Could web development be like this?

Source: Internet
Author: User

Service is just data validation, call other service, call third-party API, read and write the database, in this case, I think the service can also be made configurable, configuration items are roughly

  1. Required parameter configuration: parameter list, parameter type, parameter length, parameter range, can be null no, prompt message
  2. The signature and permissions required to invoke the service, or Appkey or pwd
  3. Add a third-party calling interface that resolves the result by the httpclient call
  4. Read and write database under the management of Things
  5. Successful prompts and returned data

So how do you invoke service dynamically?

1. There is a unified URL call entry, servlet sufficient for the POST request, then query the required service list, sequential execution, Gobang principle, any one service exception will return the error prompt

In addition to a filter to do authentication, is it possible to say that only write page and configure service?

Could web development be like this?

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.