casbin-cpp
casbin-cpp copied to clipboard
Make middleware for No.1 C/C++ web framework
Casbin has a tradition to make authz middlewares for web frameworks of that language (see: https://github.com/casbin/casbin-rs/issues/93). We need to make some middlewares for the most popular C/C++ web frameworks (if there any cuz I even didn't have a name). The middlewares will be put into: https://github.com/casbin-cpp
The first question is: what are the most popular C/C++ web frameworks?
@xcaptain @divy9881 @ZipoChan do you have any ideas?
I think https://github.com/an-tao/drogon is a good option which wins actix-web framework in bench and becomes the Top1.
See it from here: https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=composite
It's also under active development
@GopherJ great! Let's make a middleware for drogon first!
@ZipoChan @0625wzw can you do this?
i want to try it
@KaranaLJX You can take up this issue, but before starting writing the code, let us know, what middleware are you going to code up and related to which framework.
For reference you can take the inspiration from following organisation's middleware repos, https://github.com/casbin https://github.com/jcasbin https://github.com/node-casbin https://github.com/casbin-rs
Apart from drogon, this are some of the well-known web frameworks from which you can start working, CivetWeb : https://github.com/civetweb/civetweb CppCMS : http://cppcms.com/wikipp/en/page/main
I would prefer CppCMS, its very famous and easy to work with.
@KaranaLJX, what's the status of this issue, have you achieved some progress on this?
@KaranaLJX, what's the status of this issue, have you achieved some progress on this?
not yet
I would like to work on this issue , A lil guidance from ur side will be highly helpful !!
@EmperorYP7 @sheny1xuan plz give some advices
Hi, I think we can pick one web framework in this list as a start. I don't know which one is best, but I think we can pick a framework with more active community, such as Crow, TreeFrog, Drogon etc.
Drogon and oat++ are good candidates for us.