1. Building Intelligent Mashups An Introduction Adrian Giurca BTU Cottbus Dept. of Internet Technologies http://www.informatik.tu-cottbus.de/~agiurca/ http://adrian-giurca.blogspot.com Future Trends in Service-Oriented Computing, Hasso Plattner Institut, Potsdam, June 18-19, 2009
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17. 2. How to build intelligent mashups Challenges and potential solutions. What we achieved until now. Future Trends in Service-Oriented Computing, Hasso Plattner Institut, Potsdam, June 18-19, 2009
18.
19.
20. A Simple Rule and its Execution Effect <div class='note'> <ul> <li>First issue</li> <li>Second issue </li> </ul> </div> <div class="note"> <p>Another note</p> </div> Future Trends in Service-Oriented Computing, Hasso Plattner Institut, Potsdam, June 18-19, 2009 On any occurrence of a "mouse click" on any element with class='note' having as first child an ul element, change the first child background color to blue. Mouse click
21.
22.
23. Encoding the rule (JSON Rule) { "id" :"rule101", "appliesTo" : [ "http://www.mysite.com", "http://www.google.com/" ], "eventExpression" : { "type" : "click", "target" : "$X" }, "conditions" : [ "$X:Element( class == 'note', $Y:firstChild)", "$Y.tagName == 'ul'" ], "actions" : [ "changeBackground($Y, 'blue')" ] } Future Trends in Service-Oriented Computing, Hasso Plattner Institut, Potsdam, June 18-19, 2009 On any occurrence of a DOM click on any element with class='note' having as first child an ul element, change the first child background color to blue.
24. Basic components and roles Future Trends in Service-Oriented Computing, Hasso Plattner Institut, Potsdam, June 18-19, 2009