bchs stack

BSD, C, httpd, SQLite.

BCHS (pronounced /biːtʃəz/, beaches) is for real development. It's a hipster-free, open source software stack for web applications. To prepare a BCHS environment, install OpenBSD and get to work.

Don't care for talk? See an easy example.

Stack components

why bchs? because the open internet is damn inhospitable.

BSD

OpenBSD. World-renowned for its focus on security and documentation. Reliable six-month releases. Binary patching. It takes the guess-work out of your environment.

the C Programming Language

C is a straightforward, non-mustachioed language. It has full access to the kernel's system calls and a massive set of development tools and libraries.

% curl -sD- -o/dev/null https://www.openbsd.org
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 5181
Content-Type: text/html
Date: Wed, 28 Mar 2018 03:15:19 GMT
Last-Modified: Sun, 25 Mar 2018 18:08:04 GMT
Server: OpenBSD httpd

httpd(8)

OpenBSD's home-grown web server. If you need more features for your web application, submit a patch.

SQLite

SQLite is a self-contained, embeddable, zero-configuration database. It's a practical solution for the majority of database needs.

BCHS is a stable, developer-oriented platform for operating in hostile environments.

Get used to minimalism and security: componentised, privilege-separated binaries in file-system jails. Most of all, forget your LAMP instincts to desperately search Google and StackExchange for every parameter and function call: man pages and -Wall -Wextra are your new best friends.

% apropos khttp_parse
khttp_parse, khttp_parsex(3) - parse a CGI instance for kcgi

Articles, conference talks…

have more links? let us know.

Is BCHS a joke? No.

Software development is full of jokes. This is not one of them.