Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c++

apache

cgi

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?

like image 710
ZeroCool Avatar asked Aug 09 '09 20:08

ZeroCool


1 Answers

C++ isn't a very popular choice for web applications - probably because it's too easy to leave security holes, and development time tends to be a lot slower than for the scripting languages.

Dynamically typed scripting languages convert compile-time errors to runtime errors. Detecting those might not be as easy as reading through the compiler output. Scripting languages may be OK for quick-and-dirty simple projects. Beyond a certain level of complexity one needs strongly typed, well-structured languages. Such as C++, or Java.

Most scripting languages encourage sloppy programming.

As to the "security holes": if you refer to buffer overruns, allocation/deallocation errors, the answer is "STL". And proper training of course :-)

like image 103
Laryx Decidua Avatar answered Oct 04 '22 21:10

Laryx Decidua