building a fully api-based platform on top of cpanel

48
Building a fully API based platform

Upload: dominic-luechinger

Post on 03-Jul-2015

2.532 views

Category:

Technology


4 download

DESCRIPTION

My presentation at the cPanel Conference 2011 http://bootcamp.cpanel.net/ Design inspired by http://www.slideshare.net/timanglade/a-nosql-overview (thx to @timanglade)

TRANSCRIPT

Page 1: Building a fully API-based platform on top of cPanel

Building a fully API based platform

Page 2: Building a fully API-based platform on top of cPanel

@drdolsnowgarden.ch/+

Dominic Lüchinger

Page 3: Building a fully API-based platform on top of cPanel
Page 4: Building a fully API-based platform on top of cPanel

Agenda

Page 5: Building a fully API-based platform on top of cPanel

Agenda●Intro

Page 6: Building a fully API-based platform on top of cPanel

Agenda●Intro●Architecture

Page 7: Building a fully API-based platform on top of cPanel

Agenda●Intro●Architecture●No hat trick

Page 8: Building a fully API-based platform on top of cPanel

Agenda●Intro●Architecture●No hat trick●The magic begins

Page 9: Building a fully API-based platform on top of cPanel

Agenda●Intro●Architecture●No hat trick●The magic begins●Conclusion / Future

Page 10: Building a fully API-based platform on top of cPanel

Agenda●Intro●Architecture●No hat trick●The magic begins●Conclusion / Future●Questions

Page 11: Building a fully API-based platform on top of cPanel

my.cyonold vs new

Page 12: Building a fully API-based platform on top of cPanel

What's thedifference

Page 13: Building a fully API-based platform on top of cPanel
Page 14: Building a fully API-based platform on top of cPanel
Page 15: Building a fully API-based platform on top of cPanel

closer lookpuzzle pieces

Page 16: Building a fully API-based platform on top of cPanel
Page 17: Building a fully API-based platform on top of cPanel

software stack

Page 18: Building a fully API-based platform on top of cPanel

software stackPHP Zend framework +

Page 19: Building a fully API-based platform on top of cPanel

software stackPHP Zend framework +

Apache (webserver,proxy) +

Page 20: Building a fully API-based platform on top of cPanel

software stackPHP Zend framework +

Apache (webserver,proxy) +database +

Page 21: Building a fully API-based platform on top of cPanel

software stackPHP Zend framework +

Apache (webserver,proxy) +database +

Javascript/AJAX +

Page 22: Building a fully API-based platform on top of cPanel

software stackPHP Zend framework +

Apache (webserver,proxy) +database +

Javascript/AJAX +HTML5/CSS3

Page 23: Building a fully API-based platform on top of cPanel

cPanel API

Page 24: Building a fully API-based platform on top of cPanel

cPanel APIHTTP client +

Page 25: Building a fully API-based platform on top of cPanel

cPanel APIHTTP client +

docs +

Page 26: Building a fully API-based platform on top of cPanel

cPanel API

password/hash

HTTP client +docs +

Page 27: Building a fully API-based platform on top of cPanel

cPanel API

password/hash

HTTP client +docs +

+time

Page 28: Building a fully API-based platform on top of cPanel

Follow therabbit

Page 29: Building a fully API-based platform on top of cPanel

authentication

Page 30: Building a fully API-based platform on top of cPanel

authenticationuser/password required

Page 31: Building a fully API-based platform on top of cPanel

authenticationuser/password required

roles (owner / tech)

Page 32: Building a fully API-based platform on top of cPanel

authenticationuser/password required

roles (owner / tech)

secure storage

Page 33: Building a fully API-based platform on top of cPanel
Page 34: Building a fully API-based platform on top of cPanel

public-keycryptography

Page 35: Building a fully API-based platform on top of cPanel

public-keycryptography

RSA key pair (PHP OpenSSL)

Page 36: Building a fully API-based platform on top of cPanel
Page 37: Building a fully API-based platform on top of cPanel

3rd partyphpMyAdmin

stats (awstats, lve)

mailmanfile managerscript installer

...

Page 38: Building a fully API-based platform on top of cPanel

cookie basedproxy routing

with a lazy loadinguser session

Page 39: Building a fully API-based platform on top of cPanel
Page 40: Building a fully API-based platform on top of cPanel
Page 41: Building a fully API-based platform on top of cPanel

Your platformis ready

Page 42: Building a fully API-based platform on top of cPanel

Pitfallswatch them

Page 43: Building a fully API-based platform on top of cPanel

Pitfall #1error handling

Page 44: Building a fully API-based platform on top of cPanel

Pitfall #2changes

Page 45: Building a fully API-based platform on top of cPanel

Pitfall #3docs

Page 46: Building a fully API-based platform on top of cPanel

What welearned

Page 47: Building a fully API-based platform on top of cPanel

Thank youIntegration team

Page 48: Building a fully API-based platform on top of cPanel

?