SlideShare a Scribd company logo
Book Widget Embedding automated photo-document publication on the web and in mobile devices E. O’Brien-Strain, A. Hunter, J. Liu, Q. Lin, D. Tretter, J. Wang, X. Zhang, and P. Wu Hewlett-Packard Labs
In which the author ... explains how to design large-scale cloud platforms for document processing
Outline Motivation Architectural Principles Platform Implementation Example Application – Facebook Photo-Books
Motivation We have a wealth of auto-publishing algorithms Want to provide them for third parties to use  By building a cloud-based platform that Is flexible and programmable Is secure and private Is infinitely scalable Has high availability and responsiveness Reconciles WYSIWYG and style-driven use models
Architectural Principles REST Capability Security Authorization Authentication Agnostic Scaling: Elastic, Sessionless, noSQL, Caching Orthogonal: UI / Content Source / Artifacts
REST “ Representational State Transfer” Architectural pattern for creating network APIs All API calls are HTTP requests to some URL GET to retrieve data from a URL PUT to write data to a URL POST to perform some action on a URL DELETE to remove the data from the URL Starting from response from an initial URL client code finds other URLs to operate on
Capability Security Authorization An example of a URL from our API: http://foo.com/document/ qY9vZObN-slqsv_RWnJB4w /content/chunks.json Has cryptographically-secure random string If you do not know this URL there is no way to find it Possess URL <=> Authorized to use URL “ Moderate” level of security Still vulnerable to network snoopers Can use SSL to increase security
Authentication Agnostic No concept of a “User” Instead just store anonymous resources Client code expected to keep track of users and authenticate them remember which resources belong to each user Gives flexibility to client to use any authentication No need for complexity of “single-sign-on”  Allows us to  avoid many security/privacy headaches avoid complexity and cost of using SSL have our data cached in Internet infrastructure
Scaling Can use elastic infrastructure cloud rapid spin-up and spin-down of virtual servers Sessionless Bank of web servers operating in parallel Sequence of HTTP requests sprays out arbitrarily over multiple servers NoSQL Highly-distributed no-master key-value store Caching at every level
Any Permutation of User interface for creating documents Web (HTML5 or Flash) Mobile device PC application Where content comes from Social network Photo site / document storage site PC folder What kind of artifacts Print at home, at retail, or at PSP View on e-Book reader, slate, or phone
Platform Implementation Initially Targeting Photo-Oriented Documents Unified Model for Document + Template + Content Content Transformation Transactional Data Embeddable as a Widget Monetizable
Initial Target Platform architected to handle a wide variety of documents Initially handles photo-oriented documents Such as photo-books Can be extended to handle more text-heavy documents Such as magazines
Unified “Document” Model Document = content + “rendersheet” A single “document” resource type for User documents (content + rendersheet) Collections of input content (just content) Templates (just rendersheet) Any document can be used as  template for new document Any document can by used as source of content for new document Look-and-feel of one document can be applied to another
Algorithms Auto-organizing algorithms using Photo quality Near-duplicate detection using structural similarity and time proximity Auto-layout algorithms BRIC  (blocked recursive image composition) START  (structured layout for resizable background art)
Transactional Data Resources are not stored indefinitely Have an expiration date Two top-level types of resources Documents (composed of “Chunks”) Artifacts
Embeddable as a Widget Can be embedded in Web or mobile application Third-party developer can  write their own document design user-interface or they can use the Flash widget that we provide
Monetizable We include features that allow for a variety of different business models Each client application must register with us API key and “shared secret” token All client requests that create of modify resources must be signed with the secret All resources are marked with the client application that created All resources have a “time to live” before they are deleted
Example Application Facebook Application Built by team of outside developers Uses our UI widget for creating and viewing photobooks Integrates nicely into Facebook site Leverages social connections of users To make application more viral
 
Summary Introduction Architectural Principles Platform Implementation Example Application – Facebook Photo-Books

More Related Content

PDF
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
PDF
Bringing Decentralization to Collaboration
DOCX
An Attribute-based Controlled Collaborative Access Control Scheme for Public ...
PPTX
From Developer to Cloud Solutions Architect
PPT
Components Base Development Overview
PDF
SwellRT: Facilitating decentralized real-time collaboration
PDF
Resume summer17
PDF
Bounded Contexts for Legacy Code
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
Bringing Decentralization to Collaboration
An Attribute-based Controlled Collaborative Access Control Scheme for Public ...
From Developer to Cloud Solutions Architect
Components Base Development Overview
SwellRT: Facilitating decentralized real-time collaboration
Resume summer17
Bounded Contexts for Legacy Code

Viewers also liked (8)

PPT
Media Preparedness By Mark Chamberlin, Armstrong Shank
PDF
Marketing & PR Strategy Planning Template
PDF
Public Relations Plan
DOCX
PR plan template free
PPTX
PR Plan via PowerPoint
PPTX
Burberry`s PR strategy
PPT
HOW TO: Start Creating a PR Plan
PPT
Tiffany & Co (PR Plan)
Media Preparedness By Mark Chamberlin, Armstrong Shank
Marketing & PR Strategy Planning Template
Public Relations Plan
PR plan template free
PR Plan via PowerPoint
Burberry`s PR strategy
HOW TO: Start Creating a PR Plan
Tiffany & Co (PR Plan)
Ad

Similar to Book Widget -- Embedding automated photo-document publication on the web and in mobile devices (20)

PPT
Azure Serrvices Platform Pro Dev Partners
PPTX
Information management
PPTX
Azure Platform
PPT
Adobe PDF and LiveCycle ES Security
DOCX
final proposal-Lightweight Cloud instance contextualisation tool
PDF
Full-Stack-Interview-Questions-and-Answers.pdf
PDF
Archonnex at ICPSR
PPTX
Azure Overview Csco
PPT
ArcReady - Architecting Modern Distributed Applications
PPT
Arc Ready Cloud Computing
PPT
Live Mesh Presentation Bruno Svc
PPTX
Dev show september 8th 2020 power platform - not just a simple toy
PPTX
MongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoT
PDF
ColbyBackesPortfolio_HighRes
PPTX
Webinar - Windows Server 2016 for Nonprofits and Libraries - 2017-01-10
PPTX
AI-Driven Digital Transformation Using Agentic AI
PPTX
Kamil Kolodziejski_Structura-AWS.pptx
PDF
Stream analytics
PPTX
Data to Consumer : end to end middleware capabilities
PDF
BizSpark migreren naar de cloud
Azure Serrvices Platform Pro Dev Partners
Information management
Azure Platform
Adobe PDF and LiveCycle ES Security
final proposal-Lightweight Cloud instance contextualisation tool
Full-Stack-Interview-Questions-and-Answers.pdf
Archonnex at ICPSR
Azure Overview Csco
ArcReady - Architecting Modern Distributed Applications
Arc Ready Cloud Computing
Live Mesh Presentation Bruno Svc
Dev show september 8th 2020 power platform - not just a simple toy
MongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoT
ColbyBackesPortfolio_HighRes
Webinar - Windows Server 2016 for Nonprofits and Libraries - 2017-01-10
AI-Driven Digital Transformation Using Agentic AI
Kamil Kolodziejski_Structura-AWS.pptx
Stream analytics
Data to Consumer : end to end middleware capabilities
BizSpark migreren naar de cloud
Ad

Recently uploaded (20)

PDF
Empathic Computing: Creating Shared Understanding
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation theory and applications.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
cuic standard and advanced reporting.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Cloud computing and distributed systems.
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
A Presentation on Artificial Intelligence
Empathic Computing: Creating Shared Understanding
“AI and Expert System Decision Support & Business Intelligence Systems”
Unlocking AI with Model Context Protocol (MCP)
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Mobile App Security Testing_ A Comprehensive Guide.pdf
MYSQL Presentation for SQL database connectivity
Encapsulation theory and applications.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Review of recent advances in non-invasive hemoglobin estimation
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
cuic standard and advanced reporting.pdf
Big Data Technologies - Introduction.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Cloud computing and distributed systems.
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Building Integrated photovoltaic BIPV_UPV.pdf
A Presentation on Artificial Intelligence

Book Widget -- Embedding automated photo-document publication on the web and in mobile devices

  • 1. Book Widget Embedding automated photo-document publication on the web and in mobile devices E. O’Brien-Strain, A. Hunter, J. Liu, Q. Lin, D. Tretter, J. Wang, X. Zhang, and P. Wu Hewlett-Packard Labs
  • 2. In which the author ... explains how to design large-scale cloud platforms for document processing
  • 3. Outline Motivation Architectural Principles Platform Implementation Example Application – Facebook Photo-Books
  • 4. Motivation We have a wealth of auto-publishing algorithms Want to provide them for third parties to use By building a cloud-based platform that Is flexible and programmable Is secure and private Is infinitely scalable Has high availability and responsiveness Reconciles WYSIWYG and style-driven use models
  • 5. Architectural Principles REST Capability Security Authorization Authentication Agnostic Scaling: Elastic, Sessionless, noSQL, Caching Orthogonal: UI / Content Source / Artifacts
  • 6. REST “ Representational State Transfer” Architectural pattern for creating network APIs All API calls are HTTP requests to some URL GET to retrieve data from a URL PUT to write data to a URL POST to perform some action on a URL DELETE to remove the data from the URL Starting from response from an initial URL client code finds other URLs to operate on
  • 7. Capability Security Authorization An example of a URL from our API: http://foo.com/document/ qY9vZObN-slqsv_RWnJB4w /content/chunks.json Has cryptographically-secure random string If you do not know this URL there is no way to find it Possess URL <=> Authorized to use URL “ Moderate” level of security Still vulnerable to network snoopers Can use SSL to increase security
  • 8. Authentication Agnostic No concept of a “User” Instead just store anonymous resources Client code expected to keep track of users and authenticate them remember which resources belong to each user Gives flexibility to client to use any authentication No need for complexity of “single-sign-on” Allows us to avoid many security/privacy headaches avoid complexity and cost of using SSL have our data cached in Internet infrastructure
  • 9. Scaling Can use elastic infrastructure cloud rapid spin-up and spin-down of virtual servers Sessionless Bank of web servers operating in parallel Sequence of HTTP requests sprays out arbitrarily over multiple servers NoSQL Highly-distributed no-master key-value store Caching at every level
  • 10. Any Permutation of User interface for creating documents Web (HTML5 or Flash) Mobile device PC application Where content comes from Social network Photo site / document storage site PC folder What kind of artifacts Print at home, at retail, or at PSP View on e-Book reader, slate, or phone
  • 11. Platform Implementation Initially Targeting Photo-Oriented Documents Unified Model for Document + Template + Content Content Transformation Transactional Data Embeddable as a Widget Monetizable
  • 12. Initial Target Platform architected to handle a wide variety of documents Initially handles photo-oriented documents Such as photo-books Can be extended to handle more text-heavy documents Such as magazines
  • 13. Unified “Document” Model Document = content + “rendersheet” A single “document” resource type for User documents (content + rendersheet) Collections of input content (just content) Templates (just rendersheet) Any document can be used as template for new document Any document can by used as source of content for new document Look-and-feel of one document can be applied to another
  • 14. Algorithms Auto-organizing algorithms using Photo quality Near-duplicate detection using structural similarity and time proximity Auto-layout algorithms BRIC (blocked recursive image composition) START (structured layout for resizable background art)
  • 15. Transactional Data Resources are not stored indefinitely Have an expiration date Two top-level types of resources Documents (composed of “Chunks”) Artifacts
  • 16. Embeddable as a Widget Can be embedded in Web or mobile application Third-party developer can write their own document design user-interface or they can use the Flash widget that we provide
  • 17. Monetizable We include features that allow for a variety of different business models Each client application must register with us API key and “shared secret” token All client requests that create of modify resources must be signed with the secret All resources are marked with the client application that created All resources have a “time to live” before they are deleted
  • 18. Example Application Facebook Application Built by team of outside developers Uses our UI widget for creating and viewing photobooks Integrates nicely into Facebook site Leverages social connections of users To make application more viral
  • 19.  
  • 20. Summary Introduction Architectural Principles Platform Implementation Example Application – Facebook Photo-Books