Any good C/C++ web toolkit? [closed]

2019-03-26 05:34发布

I've been looking around and came across the WT toolkit, Is it stable? Any good? I was stumped on how to go about this in C++, given the lack of libraries and resources concerning web developement. (CGI/Apache)

The purpose of my application is to populate some data from a Sybase ASE15 database running GNU/Linux & Apache Hence allow some user interactions.

I am going to use Sybase open client library (libct) to retrieve columns from the Server, feed this data back to wt model/view.

My requests:

Is there any more practical solution rather than using other scripting languages? I mean by practical, an interface with ODBC retrieving, and MVC mechanism?

If not available in C++, any alternative in Java?

标签: c++ apache cgi
13条回答
我命由我不由天
2楼-- · 2019-03-26 05:38

You might want to check out klone:

http://koanlogic.com/klone/index.html

Basically, it's a framework AND server that makes writing C++ web backends easy...

查看更多
成全新的幸福
3楼-- · 2019-03-26 05:38

Qt is going to grow day by day. And Wt is the trying to stand for web tool kit based on Qt. C++ the powerful language and the best in my opinion. If you like gnu projects and independent tech. I really suggest to use them. I used PHP, Phyton, C#, VisualBasic, Fortran etc. but I did not like as much as C++ among of them.

查看更多
仙女界的扛把子
4楼-- · 2019-03-26 05:41

I gave Wt a try and really liked it. I will not give you any cons or pros for using it from scratch, but when you have a backend written in C/C++ with millions of API entries then Wt is an obvious choice. There are some very powerful features that is easier to use for example dynamically loaded tables. Signal processing on the server etc.

One thing I really disliked at Wt is that it is not compatible with Apache on Windows as of time of this writing. You either have to use Unix, or IIS on Windows. Wt also offers its own http server, that is very convenient for developing your applications but I would not trust it in the role of production server as I am not sure of its security.

查看更多
ら.Afraid
5楼-- · 2019-03-26 05:42

tntnet (http://www.tntnet.org) is great for creating web applications with C++.

查看更多
可以哭但决不认输i
6楼-- · 2019-03-26 05:45

My personal choice for web development is Ruby on Rails, but if you have to chose between C, C++ or Java for web development, my suggestion is to use Java with JavaServer Faces

查看更多
祖国的老花朵
7楼-- · 2019-03-26 05:52

The best web toolkit for C/C++ would be Apache httpd. Just write a module and you can use libct to access your database.

There is MVC modules out there like mod_spin but I don't have any experience with it.

查看更多
登录 后发表回答