the api facade pattern: technology - episode 3

25
API Façade: Technology Episode 3 Webinar Shorts March 2012 Series Brian Mulloy @landlessness Apigee @apigee

Upload: apigee

Post on 10-May-2015

8.387 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: The API Facade Pattern: Technology - Episode 3

API Façade: Technology

Episode 3Webinar ShortsMarch 2012 Series

Brian Mulloy@landlessness

Apigee@apigee

Page 2: The API Facade Pattern: Technology - Episode 3

groups.google.com/group/api-craft

Page 3: The API Facade Pattern: Technology - Episode 3

3

youtube.com/apigee

Page 4: The API Facade Pattern: Technology - Episode 3

IRC Channel#api-crafton freenode

New!

Page 5: The API Facade Pattern: Technology - Episode 3

Episode 1The API Facade: OverviewTuesday, March 6th

Episode 2The API Facade: Common PatternsTuesday, March 13th

Episode 3The API Facade: TechnologyTuesday, March 20th

Episode 4The API Facade: PeopleTuesday, March 27th

Webinar Shorts - March 2012 New!

Page 6: The API Facade Pattern: Technology - Episode 3

Episode 3 Topics

• Recap: API Façade Common Patterns• Technology

Page 7: The API Facade Pattern: Technology - Episode 3

Recap: API Façade

Page 8: The API Facade Pattern: Technology - Episode 3

Big System

DBContent

Management SOAP JDBC

API Facade

AppApp

Developer

XML

Page 9: The API Facade Pattern: Technology - Episode 3

Technology

Page 10: The API Facade Pattern: Technology - Episode 3

DNS

api-test.foo.comCNAMEapi-test: 1.2.3.4

API Facade 1.2.3.4

• DNS• Cloud platform

Page 11: The API Facade Pattern: Technology - Episode 3

DNS

api-test.foo.com

API Facade 1.2.3.4

ErrorsData Stubs

Support for mock=true and raise=404

• Web server• App server• API Gateway

CNAMEapi-test: 1.2.3.4

Page 12: The API Facade Pattern: Technology - Episode 3

Big System

DNS

api.foo.comCNAMEapi: 1.2.3.4

API Facade 1.2.3.4

TARGET: 5.6.7.8

5.6.7.8

Errors

• Subdomain routing

Page 13: The API Facade Pattern: Technology - Episode 3

Big Old System

DNS

api.foo.com/v2

5.6.7.8

• URL routing

Big Unproven New System5.6.7.9

API Facade 1.2.3.4

Page 14: The API Facade Pattern: Technology - Episode 3

Big System

DNSCNAMEapi: 1.2.3.4

API Facade 1.2.3.4

ALLOW: 1.2.3.4

TARGET: 5.6.7.8

Firewall

5.6.7.8

5.6.7.8

• Firewall

Page 15: The API Facade Pattern: Technology - Episode 3

Big System

GeoDNS

api.foo.com

API Facade 1.2.3.4

ALLOW: 1.2.3.41.2.3.5

API Facade 1.2.3.5

TARGET: 5.6.7.8 TARGET: 5.6.7.8

Firewall 5.6.7.8

api.foo.comUS Asia

• Geo DNS• Cache

Page 16: The API Facade Pattern: Technology - Episode 3

• Orchestration

Big System SOAP

Content ManagementBig

System

Content Management SOAP

API Facade

Page 17: The API Facade Pattern: Technology - Episode 3

API Facade

• Transformations library

<xml> <accounts> <account> </account> <account> </account> </accounts></xml>

{“accounts”: [ “account”:{}, ”account”:{}]}

Page 18: The API Facade Pattern: Technology - Episode 3

API Facade

• Compression

<xml> <accounts> <account> … </account> … <account> … </account> </accounts></xml>

PKÂft@x∂hOm∂hOı„≤©»Õ±„RP∞ILNŒ/Õ+) MŒœ’ÀML. œM,I-÷KN,J-a®Ê

Page 19: The API Facade Pattern: Technology - Episode 3

• OAuth Provider

Big System

oauth_token=…

AuthDBAPI Facade

Page 20: The API Facade Pattern: Technology - Episode 3

Technology• DNS or GeoDNS• Cloud platform• Web server, app server, API gateway• Subdomain routing• URL routing• Firewall• Cache• Orchestration• Transformation• Compression• Database• OAuth Provider

Page 21: The API Facade Pattern: Technology - Episode 3

Questions?

Page 22: The API Facade Pattern: Technology - Episode 3

THANK YOUSubscribe to API webinars at:

youtube.com/apigee

Page 23: The API Facade Pattern: Technology - Episode 3

THANK YOUIRC#api-crafton freenode

Page 24: The API Facade Pattern: Technology - Episode 3

THANK YOUQuestions and ideas to:

groups.google.com/group/api-craft

Page 25: The API Facade Pattern: Technology - Episode 3

THANK YOUContact me at:

@[email protected]