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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -