API development practices

Source: Internet
Author: User
: This article mainly introduces API development practices. if you are interested in the PHP Tutorial, you can refer to it. In 2015, if you want to add a label to yourself, it should be an API.

Customizes various API frameworks in different systems.

  • In the development of APIs for connecting malls to various e-commerce ERP systems, I used SHOPEX-compatible API interfaces, because various ERP systems are basically supported.
  • In the development of Zen-Tao API interfaces, I compared the support of mainstream IDE interfaces for Issue management systems on the market, and used the Redmine API compatibility mode for development.
  • And so on.

In API Design, one of the most interesting ones should be compatible. Although Oracle won the Java API lawsuit, API compatibility is undoubtedly a matter of self-interest.

You don't need to talk about the advantages!

Remember an advertisement: world, China, China, world!

Compatibility with analogy interfaces: others' interfaces, yours; your interfaces, others!

I don't want to talk about the details of API design here, because if I design it independently, radish and vegetables will often have their own love and diverse forms and styles.

However, once compatible, although the API's initial initiator will receive explicit or implicit benefits, it is undoubtedly a "good news" for the end users of the API ". Of course, from the perspective of Linux community culture, it is unacceptable. The world should be colorful!

The rest api design style is indeed concise everywhere, but most people have not realized the necessity of applying this style.

In any case, Web programmers will inevitably switch from full-stack development thinking to API design thinking.

The above introduces the API development practices, including some content, and hopes to help those who are interested in the PHP Tutorial.

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.