且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

任何用于 Web 编程的好的 C++ 库?

更新时间:2023-10-27 23:46:34

我不明白为什么 Wt 不合适.(您可以使用 Wt 而不使用它的小部件",仅用于 HTTP 方面).

I don't understand why Wt don't fit. (you could use Wt without its "widgets", just for the HTTP aspect).

您可以制作一个 FastCGI 应用程序(它可以很好地适应许多现有的网络服务器).

You could make a FastCGI application (it would fit nicely into many existing web servers).

您还可以在 C++ 应用程序中嵌入一个 HTTP 服务器,使用一些 HTTP 服务器库,如 libonionlibmicrohttpd 或 poco

You could also embed an HTTP server inside your C++ application, using some HTTP server library like libonion, libmicrohttpd or the one inside poco

顺便说一句,PHP 有更好的替代品,例如 Opaocsigenkayalang(不需要 C++).

BTW, there are better alternatives to PHP like Opa, ocsigen, kayalang (without requiring C++).