Building a fully API
 based platform
Dominic    Lüchinger


@drdol
snowgarden.ch/+
Agenda
●   Intro   Agenda
●Intro
●Architecture
                Agenda
●Intro
●Architecture
                Agenda
●No hat trick
●Intro
●Architecture
                    Agenda
●No hat trick

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

●The magic begins

●Conclusion / Future
●Intro
●Architecture
                       Agenda
●No hat trick

●The magic begins

●Conclusion / Future

●Questions
my.cyon
  old vs new
What's the
  difference
closer look
    puzzle pieces
software stack
software stack
PHP Zend framework +
software stack
PHP Zend framework +
   Apache (webserver,proxy)   +
software stack
PHP Zend framework +
   Apache (webserver,proxy)   +
        database    +
software stack
PHP Zend framework +
   Apache (webserver,proxy)
                 +
      database +
 Javascript/AJAX +
software stack
PHP Zend framework +
   Apache (webserver,proxy)
                 +
      database +
 Javascript/AJAX +
     HTML5/CSS3
cPanel API
cPanel API
HTTP client +
cPanel API
HTTP client +
  docs +
cPanel API
HTTP client +
  docs +
password/hash
cPanel API
HTTP client +
  docs +
password/hash +
  time
Follow the
       rabbit
authentication
authentication
user/password required
authentication
user/password required
    roles (owner / tech)
authentication
user/password required
    roles (owner / tech)
 secure storage
public-key
cryptography
public-key
 cryptography
RSA key pair (PHP OpenSSL)
3rd party
phpMyAdmin
                       script installer
  file manager           mailman
stats (awstats, lve)          ...
cookie based
  proxy routing
with a lazy loading
   user session
Your platform
         is ready
Pitfalls
watch them
Pitfall #1
error handling
Pitfall #2
changes
Pitfall #3
docs
What we
  learned
Thank you
 Integration team
?

Building a fully API-based platform on top of cPanel