-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
Description
Let's have a brief discussion about nope.c architecture. What I have in mind for nope.c is a layered architecture that embodies the Unix philosophy with three main strata:
- The core (nope.c): A minimalist HTTP server, mostly focussing on the event loop. We are using select() currently, but we could provide additional event notification systems (poll(),epoll() etc) as drop in replacements.
- The shell (nopeutils.c - optional): Provides a programming interface to the core, abstracting over most of the cores operations.
- The modules (optional): Provides various enhancements to make it easier to write useful web applications. nope.c does not need many specific nope.c modules as there are thousands of c libraries that nope.c can use natively. That said, we need modules for ssl, multi-part parsing and web sockets.
What are your thoughts?
Reactions are currently unavailable