News for hackers. Stuff that matters.
Re:Crow – C++ Microframework for Web, inspired by Python Flask by ivoras on Tuesday July 08, 2014 @09:25AM (#8004403)
I don't code much in C++ but recently I started a project just for fun and found it much easier to make a FastCGI app than I anticipated. Yes, there are still some exceedingly low-level stuff to write by yourself, but overall, it's just fine.

For example, this is how I handle routing: http://goo.gl/G3jvGp

A simple static map of regexes and pointers to methods will do the task nicely, and the principle is extendible if I need to create or compose complex apps.

There are still things which I would need to encapsulate to make it a rapid development framework (such as QUERY_STRING handling in http://goo.gl/l7Ff75) but it's surprisingly non-painful.

There are no comments on this comment yet.