Rest makes the Web better!
What is representational state transfer (rest )?
Building Web services the rest way
Python web frameworks and rest
Dispatching in a rest Protocol Application
Selector: a restful URL dispatcher.
Robaccia: a restful Web framework. (Yes, the mini web framework !)
Wsgicollection: Make robaccia even more restful.
Use JSON restfully
Using rest with Ajax
- What is rest?Rest is an architecture style of the network system. Our Web is a good example of this architecture style. Everything is a resource, and Web is composed of these resources. Each resource is identified by a URL. When we access a URL through a clientRepresentationThen return. So the clientStateIt changes. So it is calledRepresentation stateTransfer! The server does not save the state, which makes the client's requests relatively independent, as long as the client'sStateUnchanged, the same client requests always get the sameRepresentation.
- Design Principles of restful Web Services
- Identifies all resources to be exposed,
- For each resource design URL, the resource should be a noun rather than a verb, for example should use http://www.parts-depot.com/parts/00345 rather than a http://www.parts-depot.com/parts/getPart? Id = 00345
- You can only view resources to classify resources based on whether the user can modify them. The former can only perform get requests, and the latter can use post, put, and/or delete
- No islands. Representations of all resources should be linked through hyperlinks
- Last aspectCodeRight
table issuer Huang Yi