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

unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Dernier (20)

unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

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