Mashup - Sustainability
-
Upload
graphitech -
Category
Education
-
view
286 -
download
2
Embed Size (px)
description
Transcript of Mashup - Sustainability

MASHUP - SUSTAINABILITYDebiasi 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
RestaurantSupplierDishIngredient (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: 43KmComments (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 & APICan 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