This seems to be quite well written. However, this is a really bad idea for anything other than learning/hobby work. Writing a web application in C is just asking for security trouble.<p>Writing in C introduces whole families of vulnerability that aren't a problem in most other languages. Format string vulnerabilities and buffer overflows are the two that immediately come to mind, and these will be added to the normal host of web application security considerations like SQLI, CSRF, XSS, etc.
Seems like a good option for hardware devices like routers, firewall appliances, ... This won't be the next agile, ninja hacker, 1337 web development platform. But it could have it's own niche of the market.
This is a cool project, but if you're looking for something that is safer and yet runs at similar speeds and requires similarly low memory levels, I suggest vibe.d -- D's primary web framework[0]. It's progressing very quickly.<p>0. <a href="http://vibed.org/" rel="nofollow">http://vibed.org/</a><p>Edit: Added "safer", which was my original point here that I forgot to include.
This is two years old. Another web application framework in C is Klone: <a href="http://www.koanlogic.com/klone/index.html" rel="nofollow">http://www.koanlogic.com/klone/index.html</a>
"If you’re a C developer looking for speed (and security) you might give Raphters a look for your next web project."<p>I had a laugh, mixing C and security on the same sentence.
Obligatary on-topic comment: seems like a lot of code for a not a lot of result; I would like to see templates (with optional template parms) used to provide the 'usual' values.
(yes I know templates aren't C, but you can use them minimalistically since they're orthogonal to the rest of C++.)<p>Digression comment: Has anyone used GWAN? It looks awesome, but the website hints at some eccentricity.
<a href="http://gwan.com/" rel="nofollow">http://gwan.com/</a>
Ah, RAPHT is so much clearer than MVC: <a href="https://github.com/DanielWaterworth/Raphters/blob/master/RAPHT" rel="nofollow">https://github.com/DanielWaterworth/Raphters/blob/master/RAP...</a>. I would love to see more projects adopt this architecture.