Tuesday, December 15, 2009

REST

Web is REST platform for an application. What ever Application you make for World Wide Web basically follows the rules of REST no matter what, so to make better web apps the application architecture should be made with the principals of REST in mind. What is REST!? 

RESTful application has this architecture,
1) Client - Server (front end - back end)
Client-server architecture is used to retrieve information for end user. Client asks for certain information and server responds with the desired information or responds with error information.     

2) Request - Response
       Client requests for information and server responds with appropriate information corresponding to the client's request.

3) URI/URL
Every information pool in the system is identified with a unique Uniform Resource Identifier. 

4) Stateless
There is no relation between the current request and the previous request(s). In another words state is not maintained between client's requests.