Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make middleware for No.1 C/C++ web framework #40

Open
hsluoyz opened this issue Jun 21, 2020 · 13 comments
Open

Make middleware for No.1 C/C++ web framework #40

hsluoyz opened this issue Jun 21, 2020 · 13 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hsluoyz
Copy link
Member

hsluoyz commented Jun 21, 2020

Casbin has a tradition to make authz middlewares for web frameworks of that language (see: casbin/casbin-rs#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?

@hsluoyz
Copy link
Member Author

hsluoyz commented Jun 21, 2020

@xcaptain @divy9881 @ZipoChan do you have any ideas?

@hsluoyz hsluoyz self-assigned this Jun 21, 2020
@hsluoyz hsluoyz added the enhancement New feature or request label Jun 21, 2020
@hsluoyz hsluoyz pinned this issue Jun 21, 2020
@hsluoyz hsluoyz added the help wanted Extra attention is needed label Jun 21, 2020
@GopherJ
Copy link
Member

GopherJ commented Jun 21, 2020

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

@hsluoyz
Copy link
Member Author

hsluoyz commented Jun 24, 2020

@GopherJ great! Let's make a middleware for drogon first!

@hsluoyz
Copy link
Member Author

hsluoyz commented Jun 24, 2020

@ZipoChan @0625wzw can you do this?

@KaranaLJX
Copy link
Contributor

i want to try it

@divy9881
Copy link
Member

@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

@divy9881
Copy link
Member

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.

@divy9881
Copy link
Member

@KaranaLJX, what's the status of this issue, have you achieved some progress on this?

@KaranaLJX
Copy link
Contributor

@KaranaLJX, what's the status of this issue, have you achieved some progress on this?

not yet

@hsluoyz hsluoyz unpinned this issue May 19, 2021
@tech-bash
Copy link

I would like to work on this issue , A lil guidance from ur side will be highly helpful !!

@hsluoyz
Copy link
Member Author

hsluoyz commented Jan 24, 2022

@EmperorYP7 @sheny1xuan plz give some advices

@sheny1xuan
Copy link
Contributor

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.

@EmperorYP7
Copy link
Member

Drogon and oat++ are good candidates for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants