Open jimlloyd opened 6 years ago
Same as #227
My guess, its not. Thus for my next project I will be looking for alternatives to crow and probably when find time, to replace crow in my current ones.
Recently found this one ( https://github.com/0xdead4ead/beast_http_server ). Maybe worth checking it out?
What is the different between "Boost::beast rather than using Boost::asio directly"?
At this time point, we need a Flask like micro webframework, with Router, Template, Blueprint, DB support.
It's better there is a Flask migration of CPP
Boost asio is a C++ interface to tcp and udp sockets functionality provided by your os. So if you want http, rpc or any user-level functionality, you have to implement that your self on top of boost::asio.
Boost::beast is the new addition to boost family which is actually implementation of http, rcp, and other protocols on top of boost::asio.
https://github.com/0xdead4ead/BeastHttp
this repo has a HTTP Client support but only low-level API, They should be merged into one repo...with full web framework and http-client support
@micfan
There is also https://github.com/an-tao/drogon or https://github.com/Corvusoft/restbed
Just need to look for something that suits your needs.
@moneroexamples
The https://github.com/an-tao/drogon seems not very Boost.
There is also https://github.com/qicosmos/cinatra.
I wish @mitsuhiko can dump a branch of Flask in C++11...
This project looks like a very good fit for what I want, but it shows signs of being abandoned.
If it is not abandoned, I wonder if the author and/or active contributors have given any thought to adapting Crow to use Boost::beast rather than using Boost::asio directly.
Also, if the project is maintained, it seems like there should be another release. The one release tagged
v0.1
is several months older than the most recent commit.