by andreaspfohl kore
play

by @andreaspfohl Kore Web application framework C programming - PowerPoint PPT Presentation

by @andreaspfohl Kore Web application framework C programming language Kore Features Build-in webserver (SNI, SPDY, HTTPS) Event driven Websockets Background tasks Authentication Asnyc PostgreSQL handler Getting


  1. by @andreaspfohl

  2. Kore • Web application framework • C programming language

  3. Kore Features • Build-in webserver (SNI, SPDY, HTTPS) • Event driven • Websockets • Background tasks • Authentication • Asnyc PostgreSQL handler

  4. Getting started $ kore create example created example/src/example.c created example/conf/example.conf created example/.gitignore example created succesfully!

  5. Getting started $ cd example $ ls assets cert conf src

  6. Getting started $ cat src/example.c #include <kore/kore.h> #include <kore/http.h> int page(struct http_request *req) { http_response(req, 200, NULL, 0); return KORE_RESULT_OK; }

  7. Getting started $ kore run compiling example.c example built succesfully! [parent]: running on https:// 127.0.0.1:8888 [parent]: kore is starting up [wrk 0]: worker 0 started (cpu#0)

  8. follow @sircoma on twitter this slide deck is powered by Comic Neue

Recommend


More recommend