SlideShare une entreprise Scribd logo
1  sur  16
POLITECNICO DI MILANO
                           Dipartimento di Elettronica e Informazione
                                         DEEPSE Group




MASHLIGHT:
A
LIGHTWEIGHTMASHUPFRAME
WORKFOREVERYONE
M. Albinola, M. Carcano,
L. Baresi, S.Guinea



                                                          2nd Workshop on Mashups, EnterpriseMashups
                                                                and LightweightComposition on the Web
2



Mashups in a nutshell
• Reuse and integrationofcomponents
  ▫ Lower design and developmentcosts
  ▫ Lowertime-to-market

• Software as a Service (SaaS)
  ▫ Simple and lightweightmodel
  ▫ Universallyaccessible (through a browser)
  ▫ No needtoinstall

• Do-it-yourself (DIY)
  ▫ Anyone can beanauthor
  ▫ On–the-flydevelopment
3



Mashlightgoals
Qualitydimensions:
 ▫ Flexibility
    Suppportforallthree “natures”
     (Data, Logic and Presentation)
 ▫ Usability
    Abstractionlevelthatanykindofuser can understand
     (End Users and Developers)
 ▫ Lightweight
    Can bedeployedtodifferentkindsofdevices
     (Android/iPhone)
4



Mashlight: the Idea
Starting Point:
Mashups are createdthrough the process-
 likedispositionoflogicactivities

Maincharacteristics:
• Single activities are Web 2.0 applications
  ▫ Mac OS XDashboard, Vista sidebar, etc.
• Processlanguageisextremelysimple
  ▫ Blocksdefineabstractionlevel
• Show oneactivity at a time
  ▫ Provideintrinsicrollback
5



The Model: MashlightBlocks
Independentfunctionalunitwithclear goal
 ▫ Es: Weather service, calculator, yellow pages,
   Remote Service Invocation



• Parameters                                              input
                         Block            Block
                                                          output


                                                          entry connection

• Links                                   Block
                         Block
                                                          outlink

                                               outlink2
                                    outlink1
                         outlink1
6



Real-worldblocks…
• Widgetlike Web 2.0 applications
• Modifiedversionsof Google Widgets
 ▫ Supportfor I/O parameters
 ▫ SupportforinteractionwithMashlightEngine
7



The Model: MashlightProcesses
• Graphrepresentationof the process
  ▫ Activationorder (Process Flow)
  ▫ Data dependencies (Data Flow)
              Process Flow   Execution Flows   Data Flow

                                                   A
                               A         A

                  A

                                               B
                               B                       D
                                         D

              B       D

                                               C       E
                               C         E

              C       E
                               E




• High levelofabstraction
  ▫ No explicitconditional branching or looping
8



The Model: AdvancedAspects
                                                                          Execution flow
• Complex Data                                                            A     B        C


  Assignment                                            A
                                                                                 B
                                              street
                                                                                   city
                                                                          address.city
                                                  address.street

                                                                    C

• Data with Multiple
  Cardinality                         A                               A                         A
                       address[1].stree                                      address[1].city
                                                                  city address[2].cit
                                      t       street                                         address[*].city
                                                                       y
                                      B                               B                         B


• Prioritized data                                                        A                     B
                                          A

  assignments                                               address[2].street                     address[1].city
                        address[1].city
                                              city[*]
                                                                   address.street         address.city
                                          B
                                                                                     C
9



The Model: AdvancedAspects
• Undooperation
 ▫ Goes back to the beginningof the
   previouslycompleted block
        Process Flow
                            Evolutionof the execution flow

                            A              A             A
            A




                            D              B             D
        B       D


                            E              C

        C       E
                            1              2             3
10



Mashlight: architecture
• Fourmainmodules

                                           Runtime
                                            Engine
                Blocks Library




              Block
                                 Mashup        Mashup
                                 Builder       Process




      Block Builder
11



RuntimeEngine

                       Control toolbar




                Map
                      Mashup area
12



Example-NightPlan
Userwantstoorganize a night out:
restaurant + cinema

Mashlightblocks:
 ▫ PagineGialle
    Italian Yellow Pages
 ▫ Google Maps
    Visualizationof interest point
 ▫ MovieTickets
    Buy tickets online
 ▫ Google Maps Navigator
    Mapdrivinginstructions
                                      DEMO
13

Process Flow                                        Data Flow

                                   what: ristorante
                                   where: Milano
                                   streetName: piazza leonardo           false


                                     searchQuery                 autoQuery

A - PagineGialle
                                                 A - Pagine gialle
      out
                                                            resultItem.coordinates
                     resultItem.coordinates
                                                 address          coordinates
                          resultItem.city
B - Google Maps                                                              cinema
                                                 B - Google Maps
                      resultItem.address
      out
                                                                                  false
                                   searchQuery                        autoQuery
C - PagineGialle
                                                  C - Pagine gialle
      out
                          resultItem.name               resultItem.coordinates
                                                 address          coordinates

D - Google Maps
                                                 B - Google Maps
      out                                                                   Matteo


                                  CinemaName                          accountUsername
E - MovieTickets
                                                 E - MovieTickets
      out
                                                                 resultItem.coordinates
                                                 steps[0] travelMode
                                            from                     to
                                                 F - Google Maps
F - Google Maps
                                                     Navigator
    Navigator
                   city: Milano
      out
                   address: via Golgi, 40
14



  Future Work
• EnrichlibraryofMashlightblocks
  ▫ Specificblocksforspecificdomains
• Block Builder
  ▫ Eclipsepluginforsemi-automatic block creation
  ▫ WADL-generatedMashlightblocks
• Mashup Builder
  ▫ Generalpurposeprocess design environment
  ▫ Domain-
    specificabstractionsthatuseMashlightasbackend
• Supportfor mobile devices
  ▫ Processstarts on PC and continues on Android/iPhone
15



Example - Prototype
Developerwantstoprototype service
 interactions

Mashlightblocks:
 ▫ SOAP Client
    Service invocationthrough SOAP
 ▫ Selector
    Selectorcomponentsimilartoforeach
     in programminglanguages
 ▫ Choose
    Chooseanoutlinkbased on
     conditionparameter
16

Process flow                                  Data flow

                              http://www.         getList
                                                methodName          parameter
                                    wsdlUrl
                                                                    s
 A - SoapClient
                                              A - SoapClient
        ok
                                                              soapResponseObjects
                               soapResponseXml
                                                itemIndex         itemList
                          0
  B - Selector
                                                B – Selector
             end
 loop                                         selectedItemIndex
                         nextItemIndex
                                                                item
                                                              parameters[0
                       getList                methodName
                                                              ]
                                    wsdlUrl
                     http://www.
 C - SoapClient
                                              C - SoapClient
        ok
                              soapResponseXml      soapResponseObjects[0]
                                                        condition
  D - Choose
                                                D – Choose
             false
 true
                       getList                          parameter
                                     wsdlUrl methodName
                                                        s
                     http://www.
 E - SoapClient
                                              E - SoapClient
        ok
                           soapResponseXml soapResponseObjects
                                          methodName parameters[1]
                                 wsdlUrl
                       getList
                                                            parameters[0]
 F - SoapClient
                                              F - SoapClient
                     http://www.
        ok
                                                               soapResponseObjects
                              soapResponseXml

Contenu connexe

Dernier

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Dernier (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

En vedette

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Mashlight: A Lightweight Mashup Framework for Everyone

  • 1. POLITECNICO DI MILANO Dipartimento di Elettronica e Informazione DEEPSE Group MASHLIGHT: A LIGHTWEIGHTMASHUPFRAME WORKFOREVERYONE M. Albinola, M. Carcano, L. Baresi, S.Guinea 2nd Workshop on Mashups, EnterpriseMashups and LightweightComposition on the Web
  • 2. 2 Mashups in a nutshell • Reuse and integrationofcomponents ▫ Lower design and developmentcosts ▫ Lowertime-to-market • Software as a Service (SaaS) ▫ Simple and lightweightmodel ▫ Universallyaccessible (through a browser) ▫ No needtoinstall • Do-it-yourself (DIY) ▫ Anyone can beanauthor ▫ On–the-flydevelopment
  • 3. 3 Mashlightgoals Qualitydimensions: ▫ Flexibility  Suppportforallthree “natures” (Data, Logic and Presentation) ▫ Usability  Abstractionlevelthatanykindofuser can understand (End Users and Developers) ▫ Lightweight  Can bedeployedtodifferentkindsofdevices (Android/iPhone)
  • 4. 4 Mashlight: the Idea Starting Point: Mashups are createdthrough the process- likedispositionoflogicactivities Maincharacteristics: • Single activities are Web 2.0 applications ▫ Mac OS XDashboard, Vista sidebar, etc. • Processlanguageisextremelysimple ▫ Blocksdefineabstractionlevel • Show oneactivity at a time ▫ Provideintrinsicrollback
  • 5. 5 The Model: MashlightBlocks Independentfunctionalunitwithclear goal ▫ Es: Weather service, calculator, yellow pages, Remote Service Invocation • Parameters input Block Block output entry connection • Links Block Block outlink outlink2 outlink1 outlink1
  • 6. 6 Real-worldblocks… • Widgetlike Web 2.0 applications • Modifiedversionsof Google Widgets ▫ Supportfor I/O parameters ▫ SupportforinteractionwithMashlightEngine
  • 7. 7 The Model: MashlightProcesses • Graphrepresentationof the process ▫ Activationorder (Process Flow) ▫ Data dependencies (Data Flow) Process Flow Execution Flows Data Flow A A A A B B D D B D C E C E C E E • High levelofabstraction ▫ No explicitconditional branching or looping
  • 8. 8 The Model: AdvancedAspects Execution flow • Complex Data A B C Assignment A B street city address.city address.street C • Data with Multiple Cardinality A A A address[1].stree address[1].city city address[2].cit t street address[*].city y B B B • Prioritized data A B A assignments address[2].street address[1].city address[1].city city[*] address.street address.city B C
  • 9. 9 The Model: AdvancedAspects • Undooperation ▫ Goes back to the beginningof the previouslycompleted block Process Flow Evolutionof the execution flow A A A A D B D B D E C C E 1 2 3
  • 10. 10 Mashlight: architecture • Fourmainmodules Runtime Engine Blocks Library Block Mashup Mashup Builder Process Block Builder
  • 11. 11 RuntimeEngine Control toolbar Map Mashup area
  • 12. 12 Example-NightPlan Userwantstoorganize a night out: restaurant + cinema Mashlightblocks: ▫ PagineGialle  Italian Yellow Pages ▫ Google Maps  Visualizationof interest point ▫ MovieTickets  Buy tickets online ▫ Google Maps Navigator  Mapdrivinginstructions DEMO
  • 13. 13 Process Flow Data Flow what: ristorante where: Milano streetName: piazza leonardo false searchQuery autoQuery A - PagineGialle A - Pagine gialle out resultItem.coordinates resultItem.coordinates address coordinates resultItem.city B - Google Maps cinema B - Google Maps resultItem.address out false searchQuery autoQuery C - PagineGialle C - Pagine gialle out resultItem.name resultItem.coordinates address coordinates D - Google Maps B - Google Maps out Matteo CinemaName accountUsername E - MovieTickets E - MovieTickets out resultItem.coordinates steps[0] travelMode from to F - Google Maps F - Google Maps Navigator Navigator city: Milano out address: via Golgi, 40
  • 14. 14 Future Work • EnrichlibraryofMashlightblocks ▫ Specificblocksforspecificdomains • Block Builder ▫ Eclipsepluginforsemi-automatic block creation ▫ WADL-generatedMashlightblocks • Mashup Builder ▫ Generalpurposeprocess design environment ▫ Domain- specificabstractionsthatuseMashlightasbackend • Supportfor mobile devices ▫ Processstarts on PC and continues on Android/iPhone
  • 15. 15 Example - Prototype Developerwantstoprototype service interactions Mashlightblocks: ▫ SOAP Client  Service invocationthrough SOAP ▫ Selector  Selectorcomponentsimilartoforeach in programminglanguages ▫ Choose  Chooseanoutlinkbased on conditionparameter
  • 16. 16 Process flow Data flow http://www. getList methodName parameter wsdlUrl s A - SoapClient A - SoapClient ok soapResponseObjects soapResponseXml itemIndex itemList 0 B - Selector B – Selector end loop selectedItemIndex nextItemIndex item parameters[0 getList methodName ] wsdlUrl http://www. C - SoapClient C - SoapClient ok soapResponseXml soapResponseObjects[0] condition D - Choose D – Choose false true getList parameter wsdlUrl methodName s http://www. E - SoapClient E - SoapClient ok soapResponseXml soapResponseObjects methodName parameters[1] wsdlUrl getList parameters[0] F - SoapClient F - SoapClient http://www. ok soapResponseObjects soapResponseXml