Learning rest together (1) -- What is rest

Source: Internet
Author: User

Original address: http://rest.elkstein.org/

Learn rest: a tutorial

A fast-training courseRest-
Re
PresentationalSTateTRansfer, a new approach to systems architecture and a lightweight alternative to Web Services

Rest-transition of expressive state-quick learning tutorial, a new system architecture method that can replace the lightweight Web service protocol.

_______________________________________________________________________________________

Rest refersRePresentationalSTateTRansfer (sometimes "rest") indicates a transfer of State. It requires stateless, client-server, and cache-based communication protocols-in fact, HTTP is used.

Rest is designed for network applicationsArchitecture Style. The concept is that inter-machine connections do not adopt complicated mechanisms such as CORBA, RPC, or soap, but adopt simple HTTP.

    • In many aspects, the World Wide Web (WWW, HTTP-based) can be considered as a rest-based architecture.

Restful applications use HTTP requests to post data (create and/or update), read data (for example, query), and delete data. In this way, rest uses HTTP for CRUD (create/read/update/delete) operations.

Rest is a lightweight alternative to RPC (Remote Procedure CILS, remote method call), Web Service (SOAP, WSDL, etc.) and other mechanisms. Later, we will describe the simplicity of rest.

    • Although rest is simple, rest functions are comprehensive. Anything that web services can do can be done in a restful architecture.

Rest is not a "standard ". For example, W3C is not expected to propose rest. However, there is a ready-made rest programming framework, and it is very simple to use rest. Perl, Java, and C # all have corresponding standard libraries.

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.