際際滷

際際滷Share a Scribd company logo
MASHUP -  SUSTAINABILITY Debiasi Alberto
WHAT IS A MASHUP? a  mashup  is a  Web application  that combines data from one or more sources into a single integrated tool. The term  Mashup  implies easy, fast integration, frequently done by access to open APIs and data sources to produce results that were not the original goal of the data owners.
WHAT IS AN API? An  application programming interface  ( API ) is a set of  routines ,  data structures ,  object classes  and/or  protocols  provided by  libraries  and/or  operating system   services  in order to support the building of applications.
MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How?
MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How?  Every restaurant has a menu.
MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How?  Every restaurant has a menu. each menu has a list of dishes.
MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How?  Every restaurant has a menu. each menu has a list of dishes. every dish has a list of ingredients.
MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How?  Every restaurant has a menu. each menu has a list of dishes. every dish has a list of ingredients. each ingredient comes from a different location. each ingredient has an associated weight (based on the distance from the restaurant).
MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How?  Every restaurant has a menu. each menu has a list of dishes. every dish has a list of ingredients. each ingredient comes from a different location. each ingredient has an associated weight (based on the distance from the restaurant). there will be a function to calculate the sustainability for each restaurant using the weights of the ingredients.
BUT NOT SO SIMPLE a restaurant can buy a product from a supplier, and the supplier can buy the product from another supplier, and so on. This can be clearly shown by observing the map
PARTS AND OBJECTS INVOLVED Restaurant Supplier Dish Ingredient (Product)
RESTAURANT INFORMATION: Name Website Address Phone number Geo Position Opening  hours Description Indicative Price Menu (list of dishes) Comments (54) Vote: Sustainability:
DISH INFORMATION: Name Description Type Price a value that represents the sustainability. Ingredients (List of Products) Menu: 13 $ Comments (4) Vote: Description   Sustainability:
INGREDIENT INFORMATION: Name Photo Video Description Provenance Price Supplier Description 3$ Italy,.
SUPPLIER INFORMATION Name Website Address Phone number Geo Position Description List of Products Distance from Restaurant List of Products: Distance :  43Km Comments (4) Vote:
油
FUNCTION (FOR USER) View a list of restaurant based on: The location Most sustainable The vote A supplier An ingredient
FUNCTION (FOR RESTAURANTS) Search recommended Supplier for a product: By distance By price 22Km 52Km
FUNCTION (FOR SUPPLIER) View Restaurants: By distance By price
FUNCTION (FOR USER): View a list of dishes based on: Most sustainable The vote A supplier An ingredient The Price
FUNCTION (FOR USER): Search Recommended Restaurants: Most sustainable Distance Price 3. 0 h 1.20 h 2.10 h
CONTRIBUTION OF THE USER Add information about: a restaurant, a dish, a product, a supplier
ARCHITECTURE & API Can be used to know information about dishes and ingredients Can be used to know information about the traffic Allows you to find the specific latitude and longitude for an address Can be used to know the driving directions Main Program  and information about restaurants

More Related Content

Mashup - Sustainability

  • 1. MASHUP - SUSTAINABILITY Debiasi Alberto
  • 2. WHAT IS A MASHUP? a mashup is a Web application that combines data from one or more sources into a single integrated tool. The term Mashup implies easy, fast integration, frequently done by access to open APIs and data sources to produce results that were not the original goal of the data owners.
  • 3. WHAT IS AN API? An application programming interface ( API ) is a set of routines , data structures , object classes and/or protocols provided by libraries and/or operating system services in order to support the building of applications.
  • 4. MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How?
  • 5. MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How? Every restaurant has a menu.
  • 6. MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How? Every restaurant has a menu. each menu has a list of dishes.
  • 7. MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How? Every restaurant has a menu. each menu has a list of dishes. every dish has a list of ingredients.
  • 8. MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How? Every restaurant has a menu. each menu has a list of dishes. every dish has a list of ingredients. each ingredient comes from a different location. each ingredient has an associated weight (based on the distance from the restaurant).
  • 9. MAIN OBJECTIVE gives you the chance to meet sustainable restaurants. How? Every restaurant has a menu. each menu has a list of dishes. every dish has a list of ingredients. each ingredient comes from a different location. each ingredient has an associated weight (based on the distance from the restaurant). there will be a function to calculate the sustainability for each restaurant using the weights of the ingredients.
  • 10. BUT NOT SO SIMPLE a restaurant can buy a product from a supplier, and the supplier can buy the product from another supplier, and so on. This can be clearly shown by observing the map
  • 11. PARTS AND OBJECTS INVOLVED Restaurant Supplier Dish Ingredient (Product)
  • 12. RESTAURANT INFORMATION: Name Website Address Phone number Geo Position Opening hours Description Indicative Price Menu (list of dishes) Comments (54) Vote: Sustainability:
  • 13. DISH INFORMATION: Name Description Type Price a value that represents the sustainability. Ingredients (List of Products) Menu: 13 $ Comments (4) Vote: Description Sustainability:
  • 14. INGREDIENT INFORMATION: Name Photo Video Description Provenance Price Supplier Description 3$ Italy,.
  • 15. SUPPLIER INFORMATION Name Website Address Phone number Geo Position Description List of Products Distance from Restaurant List of Products: Distance : 43Km Comments (4) Vote:
  • 16.
  • 17. FUNCTION (FOR USER) View a list of restaurant based on: The location Most sustainable The vote A supplier An ingredient
  • 18. FUNCTION (FOR RESTAURANTS) Search recommended Supplier for a product: By distance By price 22Km 52Km
  • 19. FUNCTION (FOR SUPPLIER) View Restaurants: By distance By price
  • 20. FUNCTION (FOR USER): View a list of dishes based on: Most sustainable The vote A supplier An ingredient The Price
  • 21. FUNCTION (FOR USER): Search Recommended Restaurants: Most sustainable Distance Price 3. 0 h 1.20 h 2.10 h
  • 22. CONTRIBUTION OF THE USER Add information about: a restaurant, a dish, a product, a supplier
  • 23. ARCHITECTURE & API Can be used to know information about dishes and ingredients Can be used to know information about the traffic Allows you to find the specific latitude and longitude for an address Can be used to know the driving directions Main Program and information about restaurants