FOREST: An Interacting Object Web
Purchase on Springer.com
$29.95 / €24.95 / £19.95 *
* Final gross prices may vary according to local VAT.
Abstract
FOREST satisfies the need for objects to easily interact across the network in a RESTful way – without calling methods on each other. To do this, it asks you to set your objects up in an Observer Pattern relationship. Or, in particular, a “Functional Observer Pattern”, where an object’s state is set as a Function of its current state plus the state of other objects it Observes through links. This observation occurs through either pull or push of linked object state. Such a programming model maps directly to RESTful distribution over HTTP, using GET for pull and POST for push of object state, in both directions between interacting servers. Objects are published into a global interacting object Web. This distributed object architecture is declarative in nature, and thus very expressive, as well as being naturally concurrent.
Look
Inside
Within this Chapter
- Functional Observer Pattern
- Functional Observer REST
- FOREST Foreign Exchange Trading Example
- The Hypermedia Constraint
- Optimising POST
- Asymmetric “API”s
- Programming Functional Observer
- Design Guidelines for FOREST
- Benefits of the FOREST Approach
- Conclusion
- References
- References
Other actions
Continue reading...
To view the rest of this content please follow the download PDF link above.
