Code on demand: Difference between revisions

Content deleted Content added
BattyBot (talk | contribs)
m Cod: improve wording, fix capitalization, use consistent spelling
Line 24:
An effective cache can reduce the number of client-server interactions, which contributes positively to the performance of the system. At least, from a user’s point of view.
 
=== CodCode on demand ===
Code- on-Demand demand (COD) is the only optional constraint in REST. It allows clients to improve itstheir flexibility because, in fact, it is the server who decides how certain things will be done. For instance, with Code-On-Demandcode on demand, a client can download a javascriptJavascript, javaJava applet or even a flashFlash application in order to encrypt communication so servers are not aware of any encryption routines / keys used in this process.
 
However, using COD reduces visibility, which is why this constraint is optional. Also, not every API needs this kind of flexibility.