web services - Code Demand Constraint for RESTful APIs -


as newbie trying understand rest , principles. have read articles struggling undestand code demand constraint optional constraint. ? how , when implement it? appreciated.

roy fielding's thesis, original source on rest, defines code-on-demand constraint follows:

rest allows client functionality extended downloading , executing code in form of applets or scripts. simplifies clients reducing number of features required pre-implemented. allowing features downloaded after deployment improves system extensibility. however, reduces visibility, , optional constraint within rest.

at time written, web static documents , "web client" browser itself. it's commonplace javascript-powered web apps consuming rest apis. example of code on demand - browser grabs initial html document , supports <script> tags inside document application can loaded on-demand.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -