The file server is now mostly working and serves files. It's a matter of fine tuning and we can load web applications. User HTTaP resources however are a totally different matter and I know it's a terrible thing to modify the server's source code for each application. It's practical in the early stages but it's confusing and even sometimes scaring for newcomers.
The idea is to design a kind of API for adding services without touching the server's core. It must be "object-style" and totally C-compatible too.
My idea is to design a sort of tree, using a hierarchy of linked lists. Each node is easy to describe in plain C with links to the next node and the eventual sub-lists. It can be made static for compile-time generation and/or generated on the fly by the wrapper...
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.