the Write Side of the Web
WS-REST 2011 I'll See You on
1
the Write Side of the Web WS-REST 2011 1 Introduction Stuart - - PowerPoint PPT Presentation
I'll See You on the Write Side of the Web WS-REST 2011 1 Introduction Stuart Charlton (@svrc) Director at Canadian Pacific Railway Formerly CTO of Elastra, a cloud computing product based on semantic web technology Weblog: Stu
WS-REST 2011 I'll See You on
1
based on semantic web technology
http://www.stucharlton.com/blog
topic
2
success...
write side of the web to scale and become nearly as serendipitous as the read side
3
4
5
6
7
prescriptive guidance
types (e.g. as with HTML, AtomPub)
8
9
with the server
10
pieces of independent agreement to be linked together and shared; we’re missing some agreements for writes
agents in a dynamic information space
dynamic environment
type for systems to manipulate state on the web, in lieu of more specific media types.
11
12
is the interfaces.”
(Maier & Rechtin, The Art of Systems Architecting)
connector semantics where other styles have focused on components semantics.”
13
RDFa/microformats, URI templates, well-known URIs, host meta, etc.
14
15
16
Client Server Remote Procedure Handler New Message (optional) New Message Request Message Format Handler Response Message Format Create Application Logic & Exception Handling Invoke 17
Client is a program sending/receiving messages
Client is an agent acting in an information space
18
Hypermedia Agent Environment (The Web) State of the application now Transfer Desired State Resource Resource Cached Representations Sensors HTTP GET Effectors Resource Representation Logic e.g. Link relations, Media type specifications, pre/post conditions Choose Desired State Resource Resource Goals & Preferences Exception Handlers Modify Goals Runtime Events HTTP POST
19
(cached representations)
20
21
mere programs via...
to react to
detailed decisions for the user so long as it is seeking to achieve a goal
22
taken in pursuit of a goal
Current state of the world Description of actions Goals and constraints
Planner
Required actions (plan)
23
Download X Install X
Download package list
Install X Download Y Install Y Upgrade X Upgrade Y Download Z Install Z Upgrade Z
Download package list
Download X Download Y Install Y Install X
Set of all available actions Plan (selected and
24
15
Step 1 Step 2 Step n Result
…
/32
15
STAGE n STAGE 2 SYSTEM
time
Situation 1 Situation 2 Situation n STAGE 1 STAGE 1
STAGE 2
!" !" !" !" !" !"
Step 1 Step 2 Step n
………
Result
…
STAGE 1
…
/32
25
rapidly in terms of an old one, by reusing semantics from the parent
26
27
Application State Machine Hypermedia Application State Machine HTTP State Machine Media State Machine
...
28
29
30
Expressions (Pre/Post Conditions), Event Model
<state id="S" initial="s1"> <state id="s1" initial="s11"> <onexit> <log expr="'leaving s1'"/> </onexit> <state id="s11"> <onexit> <log expr="'leaving s11'"/> </onexit> </state> <transition event="e" target="s21"> <log expr="'executing transition'"/> </transition> </state> </state>
31
transitions
representations
32
33
representations
an agent runtime
today; hierarchical planning with sensing is a promising thread for research
the ability to nest states & transitions via hyperlinks
34