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
Post a Comment