SLIDE 17 Spreadsheet-based Web mashup patterns (Table Mashup Pattern)
Contents displayed on the spreadsheet
user-defined label
…
VALUE<Cx, Cy+2>
…
VALUE<Cx+k, Cy+2>
…
ATTRIBUTE<Cx, Cy+1> ATTRIBUTE<Cx+k, Cy+1> VALUE<Cx, Cy+j+1>
…
VALUE<Cx+k, Cy+j+1>
NasdaqStock(Symbol, Volume, Price, News) Data view component Presentation component 〈 Cx , Cy 〉 = dv:getObjects() 〈 Cx+k, Cy+1 〉 = dv:getAttrName(o1,ak) ; 1 ≤ k ≤ dv:countAttrs(o1) 〈 Cx+k , Cy+1+j 〉 = dv:getAttrValue(oj,ak) ; 1 ≤ j ≤ dv:countObjs( 〈Cx ,Cy〉 ) 1 ≤ k ≤ dv:countAttrs(oj)
1 A 41.35% 21.4% LHCG 7 34.68% 19.3% NTLS 8 18.78% 27.0% THOR 6 32.17% 37.0% BEAT 5 21.59% 40.5% RATE 4 Price%Change Volumn%Change Symbol 3 StockTable 2 D C B
Interaction component
<<1.B2>>.[3]/_ Price%Change <<1.B2>>.[3]/_ Volumn%Change <<1.B2>>.[3]/_symbol 7 <<1.B2>>.[2]/_ Price%Change <<1.B2>>.[2]/_ Volumn%Change <<1.B2>>.[2]/_symbol 6 <<1.B2>>.[1]/_ Price%Change <<1.B2>>.[1]/_ Volumn%Change <<1.B2>>.[1]/_symbol 5 <<1.B2>>.[0]/_ Price%Change <<1.B2>>.[0]/_ Volumn%Change <<1.B2>>.[0]/_symbol 4 <<1.B2>>.[4]/_ Price%Change <<1.B2>>.[0]/#Price%Change D <<1.B2>>.[4]/_ Volumn%Change <<1.B2>>.[0]/#Volumn%Change C <<1.B2>>.[4]/_symbol <<1.B2>>.[0]/#symbol http://www.nasdaq.com.. B 8 3 2 1 A
Formulas generated from Table Mashup Pattern
Page 17/25