mashups

24
 Presented by, R.Mujeebabeham Final year,CSE.

Upload: kalasalingam

Post on 06-Dec-2014

291 views

Category:

Education


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Mashups

   

Presented by,R.MujeebabehamFinal year,CSE.

Page 2: Mashups

   

  Mashups Definition

 Types of Mashups

  Mashups vs Portals

  Business Mashups

  SEQUENCES :

Page 3: Mashups

   

 Architectural aspects of  Mashups

 Some problems with mashups

 Pro's and con's

 How to build a Mashup?

 The Mashup programming model

 SEQUENCES ...

Page 4: Mashups

   

Mashup: Definition“A mashup is a web application that combinescontent from more than one source into anintegrated experience”

✔   The Web as a Platform ✔   Services, not packaged software ✔   Remixable data sources ✔   Building situational applications ad hoc 

Page 5: Mashups

   

PICTORIAL REPRESENTATION:

User

Mashup website

User Request

Website 1 Website 2

API Call Data API Call Data

Data presentation

Data Manipulation

Page 6: Mashups

   

A Simple Example:

User

Mashup website

What are the available flats near US?

Real estate website Google Map

Request for available flat 

listFlat list

Request for area map

Area map

Map with available flats marked

Page 7: Mashups

   

 Types of Mashups:

Map mashups'

Google maps virtual Earth Yahoo maps MapQuest

Search and shopping mashups'

BizRate PriceGrabber MySimon Froogle

Page 8: Mashups

   

Video and photo mashups'

News mashups'

Page 9: Mashups

   

 Mashups vs Portals:

Portal Mashup

Older technology, extension to traditional Web server model using well defined approach

Using newer, loosely defined "Web 2.0" techniques

Traditionally content aggregation takes place on the server

Content aggregation can take place either on the server or on the client

Aggregates presentation­oriented markup fragments (HTML, WML, VoiceXML, etc.)

Can operate on pure XML content and also on presentation­oriented content (e.g., HTML)

Page 10: Mashups

   

Business Mashups:

Business mashups are useful for integrating business and data services, as business mashups technologies provide the ability to develop new integrated services quickly.

To combine internal services with external or personalized information, and to make these services tangible to the business user through user­friendly Web browser interfaces.

Page 11: Mashups

   

Architectural aspects of  Mashups:

Architecturally, there are two styles of mashups: 

(i)Web­based  and 

(ii)server­based

Page 12: Mashups

   

(i)Web­based Mashups :

  Use the user's Web browser to combine and     reformat  the data

(ii)server­based Mashups:

   Analyze and reformat the data on a               remote server and transmit the data to          the user's browser in its final form

Page 13: Mashups

   

Some problems with mashups:

Page 14: Mashups

   

Some problems with mashups:

1.Mashups sit on the shoulders of others.

2.Build real applications? Developing a   proprietary data source is a high cost route   to differentiation.

3. Consumer processes are simple.

4. Consumer business models are tough on    mashups.

Page 15: Mashups

   

Pro's and con's:

(I) Pros:

 Information reuse More resources to play with

(ii) Cons:

 Network congestion Speed bottleneckDanger of service failure

Page 16: Mashups

   

How to build a Mashup?

Prerequisites

Three steps 

✔ Planning✔  API sign­up✔  Coding

Page 17: Mashups

   

Prerequisites:

Required✔    Programming Language✔    Web Programming✔    XML Manipulation (XPath, XQuery, etc…)

Recommended✔   Web authoring tools

Page 18: Mashups

   

Three steps:

Planning:

(I) Pick a subject:✔     A Mashup of What?             Map + Real Estate?             Bookshop + Library Catalog?✔     More sources of data  More complicated

(II) Decide your data sources:✔         Who is your data provider?                  Maps: Google maps, Yahoo maps, etc..                  Online shopping: Amazon, EBay, etc..✔        Usually language agnostic✔        Varying complexity

Page 19: Mashups

   

 Planning continu...

(III) Other concerns

✔         How much time do you have?✔         Do you have a server to run it on?✔         Which programming language?

Page 20: Mashups

   

  API sign­up:

✔ Sign­up for the API

       ­Visit the homepage of your data source            and sign up       ✔ Example: http://www.google.com/apis/maps/

Page 21: Mashups

   

   Coding:

­ API Call●     REST, XML­PRC, SOAP , Javascript

­ Data Manipulation➢     To generate API requests➢     To process API responses➢     To represent data internally

­ Web programming➢      Design UI for your page

Page 22: Mashups

   

The Mashup programming model:

 Lightweight programming model

✔    Support lightweight programming models     that allow for loosely coupled systems

✔    Think syndication, not coordination

✔    Design for “hackability” and remixability

Page 23: Mashups

   

 (II) What does this mean?

✔         Uncontrolled reuse   ✔         Collaborative composition   ✔         Internet­wide interoperability   ✔          User­centric approach

The Mashup programming model:

Page 24: Mashups

   

          THANK YOU