开发C ++ Web应用程序的最好方法是什么? [英] What is the best way to develop a C++ web application?
问题描述
什么是开发C ++ Web应用程序的最佳方式? Web应用程序将在Apache HTTP服务器上运行。如何克服像C ++一样的挑战,如会话,持久性,上下文切换,多线程等?
What could be the best way of developing a C++ web application? The web app would be run on Apache HTTP server. How can you overcome challenges like sessions, persistence, context switching, multithreading etc with C++? How could one utilize C++ in best possible way to make it work like Servlets?
推荐答案
使用C ++ web框架如 CppCMS 如果你喜欢web样的
开发,它面向高性能和工作。
Use C++ web framework like CppCMS if you like web-like development, it is oriented for high performance and works with .
它提供:
- FastCGI,SCGI和CGI介面。
- 验证
- HTML模板系统
- 会话管理
- 缓存系统
- 透明扩展到多个服务器。
- FastCGI, SCGI and CGI interfaces.
- Form processing and validation
- HTML Templates system
- Session management
- Cache system
- Transparent scale up to numerous servers.
您可以尝试 Wt ,但它更像
喜欢使用浏览器而不是传统的web开发工具编写GUI。
You may give a try to Wt but it is much more like writing GUI using browser rather then traditional web development tool.
这篇关于开发C ++ Web应用程序的最好方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!