27
Red Hat Summit 2009 | Deb W 1 Woods, Binesh Gummadi

Get Connected – Using Open Source Technologies on Facebook

Embed Size (px)

Citation preview

Page 1: Get Connected – Using Open Source Technologies on Facebook

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi1 Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Page 2: Get Connected – Using Open Source Technologies on Facebook

Get Connected – Using Open Source Technologies on Facebook

Deb WoodsVP Product Management, Ingres

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi2

VP Product Management, Ingres

Binesh GummadiSr. Software Engineer, Rivet Logic

September 3, 2009

Using Open Source Facebook

VP Product Management, Ingres

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

VP Product Management, Ingres

Sr. Software Engineer, Rivet Logic

Page 3: Get Connected – Using Open Source Technologies on Facebook

Agenda

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi3 Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Page 4: Get Connected – Using Open Source Technologies on Facebook

Ingres – Our Mission & Company

● Ingres delivers Reduced Cost and Greater Innovation for business critical database workloads through our Open Source model.

• Over 10,000 commercial customers in 58 countries

• Revenue – $68M in 2008, $52M in 2007, $24M in 2006

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi4

• 300+ employees

• 2nd largest pure play Open Source Co. after RHAT

Proven pedigree delivers:

Performance, Scalability Security, High Availability with 24/7 Global Support

Reduced Reduced CostsCosts

Ingres delivers Reduced Cost and Greater Innovation for business critical database workloads through our Open Source

Over 10,000 commercial customers in 58 countries

$68M in 2008, $52M in 2007, $24M in 2006

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

largest pure play Open Source Co. after RHAT

Proven pedigree delivers:

Performance, Scalability Security, High Availability with 24/7 Global Support

Greater Greater InnovationInnovation

Page 5: Get Connected – Using Open Source Technologies on Facebook

Driven by Open Standards & Open Source

● Move from Premium to Commodity pricing

– No license fees/amortization

– Develop on/ Migrate to low cost platforms

– Pay per use (no shelfware)

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi5

● Move from lock-in to Flexibility & Choice

– Technology layer portability

– Reduce your vendor monopoly

– Reassign as needed

– Access to source code

Application Infrastructure and Development at a fraction of the cost

Driven by Open Standards & Open Source

Move from Premium to Commodity pricing

Migrate to low cost platforms

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

in to Flexibility & Choice

Development at a fraction of the cost

Page 6: Get Connected – Using Open Source Technologies on Facebook

Open Standards Application Development

Java Development

Java Java DevelopmentDevelopment

Application ServerApplication Server

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi6

Operating Operating SystemSystem

Database

Open Standards Application Development

Open Standards Eliminate

Architectural Lock-in

� Completely interchangeable components

� J2EE eliminates Application Server Lock-in

� Logic in Application Server eliminates DBMS lock-in

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

eliminates DBMS lock-in

� Database access through standard APIs

Open Source Eliminates

Commercial Lock-in

� No Licenses fees

� Focus on the Support

� Foster Innovation

Page 7: Get Connected – Using Open Source Technologies on Facebook

Ingres Development Stack for

Bundle Overview

Bundle Contents– JBoss Developer Studio

• Eclipse

• Eclipse Tooling

• JBoss Enterprise Application Platform

– Ingres 9.2

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi7

– Ingres 9.2

– Ingres Database Workbench (IDW)

Target Platforms– Windows

– Red Hat Enterprise Linux

90 Day Evaluation Developer Support– Provided by Ingres

Ingres Development Stack for JBoss

Enterprise Application Platform JBoss Seam

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Ingres Database Workbench (IDW)

Day Evaluation Developer SupportIngres 9.2

Hibernate

JBoss App

Server

IDW

Page 8: Get Connected – Using Open Source Technologies on Facebook

Wedding Planning application developed for

Facebook

• Web 2.0 social networking application for web and iPhone

http://www.connectedweddings.com

Business Value

• Reduced Costs

• No CAPEX for software

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi8

• No CAPEX for software

• Subscription business model for support & maintenance

• Performance, Reliability, Scalability

• Simplified application extension and customization

• Time to Market

End-to-End Integrated Open Source Infrastructure

• Ingres, Alfresco and JBoss

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

End Integrated Open Source Infrastructure

Page 9: Get Connected – Using Open Source Technologies on Facebook

● Architecture

● Technology overview

● JBoss Seam

● Facebook

● Alfresco

How to write your own…JBoss-enabled Enterprise Social Networking

Applications

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi9

Alfresco

● Ingres

● Crafter

● Amazon Webservices (EC2, S3, EBS)

● Connected Weddings

● Demo app

● Q&A

enabled Enterprise Social Networking

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Amazon Webservices (EC2, S3, EBS)

Page 10: Get Connected – Using Open Source Technologies on Facebook

Architecture

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi10 Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Page 11: Get Connected – Using Open Source Technologies on Facebook

JBoss Seam - Keys

● Application framework for building next generation Web 2.0 applications

● Advanced scoped management beans (Conversation, BPM)

● Contextual component scoping (from wide to narrow)

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi11

● Less XML configuration

● Bi-jection and attribute based wiring

● Integrates easily with other frameworks

● Spring, RESTEasy, Facelets

Application framework for building next generation Web 2.0

Advanced scoped management beans (Conversation, BPM)

Contextual component scoping (from wide to narrow)

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

and attribute based wiring

Integrates easily with other frameworks

Page 12: Get Connected – Using Open Source Technologies on Facebook

Facebook

● 250 million active users

● Well defined developer framework

● Applications

● 350,000+ active applications

1 billion+ photos per month

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi12

● 1 billion+ photos per month

● 1 billion+ pieces of content shared each week

● 2.5 million+ events created each month

Well defined developer framework

350,000+ active applications

1 billion+ photos per month

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

1 billion+ photos per month

1 billion+ pieces of content shared each week

2.5 million+ events created each month

Page 13: Get Connected – Using Open Source Technologies on Facebook

Writing a Facebook application

● Understanding a “Developer Application” within Facebook

● Creating an application

● What is a Canvas page and a Canvas URL

● Understanding Render modes. FBML and Iframe

Leverage Facebook Connect

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi13

● Leverage Facebook Connect

● Core components of Facebook

● API

● FBML

● XFBML

● FQL

● FBJS

Writing a Facebook application

Understanding a “Developer Application” within Facebook

What is a Canvas page and a Canvas URL

Understanding Render modes. FBML and Iframe

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Page 14: Get Connected – Using Open Source Technologies on Facebook

Web Application

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi14

1. Browsing requesting a resource.

2. Server processing the request and sending response.

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Browsing requesting a resource.

Server processing the request and sending response.

Page 15: Get Connected – Using Open Source Technologies on Facebook

FBML Application

Browser requesting a resource.

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi15

1. Browser requesting a resource.

2. Facebook calling JBoss App. server using a callback URL.

3. JBoss responding with a html or fbml or a combination page.

4. Facebook rendering the fbml tags and sending html to browser.

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Facebook calling JBoss App. server using a

JBoss responding with a html or fbml or a

Facebook rendering the fbml tags and sending

Page 16: Get Connected – Using Open Source Technologies on Facebook

iFrame Application

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi16

1. Browser requesting a resource

2. Facebook sends response back to browser with an iframe

3. IFrame requesting the resource

4. JBoss application sends response

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Browser requesting a resource

Facebook sends response back to browser with an iframe

IFrame requesting the resource

JBoss application sends response

Page 17: Get Connected – Using Open Source Technologies on Facebook

Smart fb:iframe

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi17

1. Browser requesting a Facebook resource.

2. Facebook calls JBoss app server using the callback

3. JBoss app responds with a fb:iframe facebook

4. Facebook parsing the response and converting Sending response back to the client.

5. Browser making a request to JBoss app server.

6. JBoss application serving the response.

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

resource.

app server using the callback url.

facebook tag along with other html.

parsing the response and converting facebook iframe to a regular iframe.

app server.

application serving the response.

Page 18: Get Connected – Using Open Source Technologies on Facebook

Alfresco Overview

• Robust content repository and services– Content management services

– Workflow

– Search and indexing

• Content Modeling– Content types, meta-data

– Associations, tags

Web Applications

Virtual File System

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi18

– Associations, tags

– Categories, taxonomies

• User Interface– Variety of options

– APIs

• Integration Support– Open and modular architecture

– APIs

• Enterprise Deployment Support

Robust content repository and services

Web Applications Knowledge Portals Web Services

Virtual File System

App Server

Portal Server

CRM

Business

Process

Engine

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

High Availability

FTP

CIFS

WebDAV

Page 19: Get Connected – Using Open Source Technologies on Facebook

Crafter rivet

● Open source middleware for contentdevelopment

● High-level APIs for accessing content from WCMS like Alfresco

● In-process Java APIs

REST-based APIs (JAX-RS and

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi19

● REST-based APIs (JAX-RS and

● Features include

● High performance (active caching)

● Horizontal scalability

● SEO-friendly URL management

● Ease of integration (OSGi)

Open source middleware for content-rich application

level APIs for accessing content from WCMS like

RS and RestEasy)

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

RS and RestEasy)

High performance (active caching)

friendly URL management

Page 20: Get Connected – Using Open Source Technologies on Facebook

Crafter rivet - Architecture

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi20

Architecture

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Page 21: Get Connected – Using Open Source Technologies on Facebook

Crafter rivet - Core API

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi21 Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Page 22: Get Connected – Using Open Source Technologies on Facebook

Connected Weddings

● Social platform for planning weddings

● Awarded grant from Fbfund

● Content managed in Alfresco WCW

● Content delivery through JBoss /Seam/ Facelets/ Crafter

● Content Rich

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi22

● Content Rich

● Ability to personalize

● Built to scale out rapidly on Facebook

Social platform for planning weddings

Content managed in Alfresco WCW

Content delivery through JBoss /Seam/ Facelets/ Crafter

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Built to scale out rapidly on Facebook

Page 23: Get Connected – Using Open Source Technologies on Facebook

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi23 Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Page 24: Get Connected – Using Open Source Technologies on Facebook

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi24 Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Page 25: Get Connected – Using Open Source Technologies on Facebook

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi25 Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Page 26: Get Connected – Using Open Source Technologies on Facebook

Next Steps:

Check out our Demo Application

– Demo app can be downloaded from http://downloads.rivetlogic.com/jboss

– Refer README.txt file for frameworks and version numbers used.

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi26

– Write your own Facebook app using Ingres, JBoss, and Alfresco

Try out the Ingres Development Stack for JBoss

– http://esd.ingres.com/product/JBoss_Stack

Check out our Demo Application

Demo app can be downloaded from http://downloads.rivetlogic.com/jboss-facebookapp/

Refer README.txt file for frameworks and version numbers

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi

Write your own Facebook app using Ingres, JBoss, and

Try out the Ingres Development Stack for JBoss

http://esd.ingres.com/product/JBoss_Stack

Page 27: Get Connected – Using Open Source Technologies on Facebook

Red Hat Summit 2009 | Deb Woods, Binesh Gummadi27 Red Hat Summit 2009 | Deb Woods, Binesh Gummadi