REST talk PHPNW11

History of REST

Constraints are a good thing

REST is an architecture  not a plugin

goals

1.  scale

2. general UI

3. Independent component

4.

Constraints

Client save server

Stateless (never store anything server side)

Caching

Layersystem  (allow to put in intermediaries eg. load balancing, caching  is to help scale.)

Code on demand  ()

Uniform interface (4 guiding principals  a, uri, )

URL to access e.g media type get back url to get one pint on api to the next)

http   browser identifies what comes back.  could be html2 to 5

Versioning:  web does not matter on the web  but make sure the links are still valid.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.