Intro To Mashups

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + christianBarigelli christian barigelli 2 years ago
    Non avevo mai sentito parlare di mashup, e da questa introduzione l’idea che mi sono fatto è che è davvero interessante; vedo poi che utilizza tante di quelle tecnologie che sicuramente lo rendono uno strumento più potente di quanto non se ne intuisca immediatamente.
Post a comment
Embed Video
Edit your comment Cancel

Notes on slide 1

© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. MGB 2003

7 Favorites & 1 Group

Intro To Mashups - Presentation Transcript

  1. Introduction to Mashup Development John Herren Developer, Consultant, Masher-upper Mashup Camp III, Boston MA
  2. Wikipedia Says
    • Mashup (music), a musical genre of songs that consist entirely of parts of other songs
    • Mashup (video), a video that is edited from more than one source to appear as one
    • Mashup (web application hybrid), a website or web application that combines content from more than one source
  3. Characteristics of Mashups
    • Combination
    • Visualization
    • Aggregation
  4. Combination
    • Join across dimensions
    • Subject + Time/Place + ...
    • Bands I like + Where I live + Eventful.com + Yahoo! music search = nifty mashup
  5. Visualization ChicagoCrime.org
  6. Visualization ChicagoCrime.org
  7. Aggregation
    • Group your data and take a measure
    • Sum, Avg, Min, Max
    • Create information from the data
    • Which becomes new data itself
    • Use algorithms as a substitute for creativity!
    • Classification, prediction, clustering, NLP
    • Uncover hidden aspects of your data
  8. Why Mashup?
    • Hobby
    • Business
    • Embrace recursion
    • Embrace recursion
    • Profit! - Fulfil the underpants gnome prophecy
  9. Step One
    • Collect data sources. Use APIs to find
      • Restaurant reviews
      • Crime statistics
      • Books about alpaca farming
    • What's an API?
      • Hotlinking 2.0?
  10. Step Two
    • Make a mashup (duh)
    • Bootstrap a niche
    • Exploit the long tail
  11. Step Three
    • Profit!
      • 15 minutes of blogosphere fame
      • Monetize traffic with ppc/cpm ads
      • Affiliate programs
      • Sell advanced features or memberships
      • Sell it as software
      • Early acquisition
      • Your dream interview
      • Win a Sun Microsystems 8-core 32GB RAM Sun Fire T2000
      • (insert liquidity event here)
  12. How?
    • Two turntables and a microphone
    • APIs and a scripting language
      • Easy to prototype
      • Easy to deploy
      • Scripting language is rarely the bottleneck
  13. Development Goals
    • Be lazy!
    • Abstract the plumbing
    • Don't reinvent the wheel
    • Spend time on the good stuff
  14. Web Service Pattern
    • Request – Response*
    • Similar to a database query
      • Request == Query
      • Iterate over response (result set)
  15. Response Handling
    • Usually XML
      • SimpleXML: $rss->channel->item[0]->title;
    • JSON
    • Serialized Data
      • $results = unserialize(file_get_contents($url));
    • YAML
  16. SOAP
    • Not really simple
    • Not really object access
    • Not really a protocol
    • But there is hope
  17. SOAP Structure
    • Envelope
    • Faults
    • WSDL
  18. SOAP in PHP
    • $client = new SoapClient("AmazonWebServices.wsdl");
    • $params = array(
      • 'keyword' => 'alpacas',
      • 'page' => 1,
      • 'mode' => 'books',
      • 'tag' => 'jhherren',
      • 'type' => 'lite', //or heavy
      • 'devtag' => 'YOURAPIKEY');
    • $result = $client->KeywordSearchRequest($params);
  19. XML-RPC
    • Easier than SOAP
    • Supports typing
    • Uses system.methodSignature instead of WSDL
    • Popular with blogging apps
  20. REST
    • Representational State Transfer
    • Don't need extra layers
    • URI as resource
    • CRUD operations: GET, POST, PUT, DELETE
    • Stateless, cacheable, layered
    • (easier)
  21. RSS
    • In Python:
    • import feedparser #by Mark Pilgrim
    • rss_url = "http://feeds.feedburner.com/Techcrunch"
    • feed = feedparser.parse(rss_url)
    • for entry in feed.entries:
      • print entry.title
      • And another Demo....
  22. AJAX
    • Asynchronous Javascript and XML
    • a.k.a. XmlHttpRequest
    • Client side
    • XML, JSON, ...
    • Demo
  23. Browser Based Authentication
    • Login to the service, not the mashup
    • Provides anonymity, but not safety
    • Yahoo! BBAuth
    • Google AuthSub
  24. Third-party Libraries & Frameworks
    • Check the API providers first!
    • Web Frameworks: Django, Ruby on Rails, Zend Framework
    • Google AJAX Search API
    • Demo
  25. Mashup Tools
    • ning.com
    • openkapow.com
    • Dappr http://dappit.com
    • Amazon S3, EC2
  26. Pain Points
    • API abuse & metering
    • API versioning
    • IP & Copyright
    • Reliability & TOS
    • (Monetization)
    • Privacy, security, ...
  27. My Predictions
    • More mobile mashups
    • More AI & datamining to supplement “user generated content”
    • Microformats catch on and get aggregated
    • OpenID catches on
    • “ Attention Capital”, “Attention Management”
  28. Resources
    • Programmable Web
      • http://programmableweb.com/
    • Yahoo Developer Network
      • http://developer.yahoo.com
    • Google Code
      • http://code.google.com
    • Original Signal
      • http://www.originalsignal.com

+ tristan.wootristan.woo, 3 years ago

custom

1843 views, 7 favs, 4 embeds more stats

For the novices at Mashup University, this will be more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 1843
    • 1813 on SlideShare
    • 30 from embeds
  • Comments 1
  • Favorites 7
  • Downloads 0
Most viewed embeds
  • 17 views on http://tristanwoo.blog.techweb.com.cn
  • 8 views on http://hiddentreasure2.blogspot.com
  • 4 views on http://tristanwoo.blogspot.com
  • 1 views on http://cache.baidu.com

more

All embeds
  • 17 views on http://tristanwoo.blog.techweb.com.cn
  • 8 views on http://hiddentreasure2.blogspot.com
  • 4 views on http://tristanwoo.blogspot.com
  • 1 views on http://cache.baidu.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories

Groups / Events