Reputation: 112366
A question prompted by jbar's question.
In scripting languages like Python, Ruby, and Perl, there are libraries that simplify generating dynamic HTML. (For example, the cgi module in Ruby.)
Are there any similar packages for C++? I don't know of one, and at least some desultory googling didn't reveal one.
Upvotes: 4
Views: 1439
Reputation: 2890
I don't know anything about it, but their web-page is clean and the introduction sounds like exactly what you're looking for...
Wt (pronounced 'witty') is a C++ library and application server for developing and deploying web applications. It is not a 'framework', which enforces a way of programming, but a library.
...
In contrast, a web application developed with Wt is written in only one compiled language (C++), from which the library generates the necessary HTML/XHTML, Javascript, CGI, SVG/VML/Canvas and AJAX code.
Upvotes: 4
Reputation: 16585
Cgicc does HTML generation. I've toyed with it once, and it seemed pretty nice.
Upvotes: 2