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

by andreaspfohl kore
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

by @andreaspfohl

slide-2
SLIDE 2

Kore

  • Web application framework
  • C programming language
slide-3
SLIDE 3

Kore Features

  • Build-in webserver (SNI, SPDY, HTTPS)
  • Event driven
  • Websockets
  • Background tasks
  • Authentication
  • Asnyc PostgreSQL handler
slide-4
SLIDE 4

Getting started

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

slide-5
SLIDE 5

Getting started

$ cd example $ ls assets cert conf src

slide-6
SLIDE 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; }

slide-7
SLIDE 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)

slide-8
SLIDE 8

follow @sircoma on twitter

this slide deck is powered by Comic Neue