简体   繁体   中英

C++ HTML generation classes

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.

http://www.webtoolkit.eu/wt#/

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.

Cgicc does HTML generation. I've toyed with it once, and it seemed pretty nice.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM