Mashup - Sustainability

23
MASHUP - SUSTAINABILITY Debiasi Alberto

description

A mashup is a Web application that combines data from one or more sources into a single integrated tool. The goal of the project is the possibility to visualize sustainable restaurants on the territory.

Transcript of Mashup - Sustainability

Page 1: Mashup - Sustainability

MASHUP - SUSTAINABILITYDebiasi Alberto

Page 2: Mashup - Sustainability

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.

Page 3: Mashup - Sustainability

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.

Page 4: Mashup - Sustainability

MAIN OBJECTIVE

gives you the chance to meet sustainable restaurants.

How?

Page 5: Mashup - Sustainability

MAIN OBJECTIVE

gives you the chance to meet sustainable restaurants.

How?

Every restaurant has a menu.

Page 6: Mashup - Sustainability

MAIN OBJECTIVE

gives you the chance to meet sustainable restaurants.

How?

Every restaurant has a menu. each menu has a list of dishes.

Page 7: Mashup - Sustainability

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.

Page 8: Mashup - Sustainability

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).

Page 9: Mashup - Sustainability

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.

Page 10: Mashup - Sustainability

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

Page 11: Mashup - Sustainability

PARTS AND OBJECTS INVOLVED

RestaurantSupplierDishIngredient (Product)

Page 12: Mashup - Sustainability

RESTAURANT INFORMATION:

Name Website Address Phone number Geo Position Opening hours Description Indicative Price Menu (list of dishes)

Comments (54)

Vote:

Sustainability:

Page 13: Mashup - Sustainability

DISH INFORMATION: Name Description Type Price a value that

represents the sustainability.

Ingredients (List of Products)

Menu:

13 $

Comments (4)

Vote:

Description ………Sustainability:

Page 14: Mashup - Sustainability

INGREDIENT INFORMATION:

Name Photo Video Description Provenance Price Supplier

Description…

3$

Italy,….

Page 15: Mashup - Sustainability

SUPPLIER INFORMATION

Name Website Address Phone number Geo Position Description List of Products Distance from

Restaurant

List of Products:

Distance: 43KmComments (4)

Vote:

Page 16: Mashup - Sustainability
Page 17: Mashup - Sustainability

FUNCTION (FOR USER)

View a list of restaurant based on: The location Most sustainable The vote A supplier An ingredient

Page 18: Mashup - Sustainability

FUNCTION (FOR RESTAURANTS)

Search recommended Supplier for a product: By distance By price

22Km

52Km

Page 19: Mashup - Sustainability

FUNCTION (FOR SUPPLIER)

View Restaurants: By distance By price

Page 20: Mashup - Sustainability

FUNCTION (FOR USER):

View a list of dishes based on: Most sustainable The vote A supplier An ingredient The Price

Page 21: Mashup - Sustainability

FUNCTION (FOR USER):

Search Recommended Restaurants: Most sustainable Distance Price

3. 0 h

1.20 h

2.10 h

Page 22: Mashup - Sustainability

CONTRIBUTION OF THE USER

Add information about: a restaurant, a dish, a product, a supplier

Page 23: Mashup - Sustainability

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