SlideShare a Scribd company logo
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

More Related Content

Recently uploaded

Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsUXDXConf
 
Motion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in TechnologyMotion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in TechnologyUXDXConf
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty SecureFemke de Vroome
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1DianaGray10
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101vincent683379
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupCatarinaPereira64715
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyJohn Staveley
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfChristopherTHyatt
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekCzechDreamin
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsExpeed Software
 

Recently uploaded (20)

Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
Motion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in TechnologyMotion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in Technology
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdf
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 

Featured

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
 

Featured (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