C ++ HTML生成类 [英] C++ HTML generation classes

查看:109
本文介绍了C ++ HTML生成类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

jbar的问题提示的问题。

在像Python,Ruby和Perl这样的脚本语言中,有些库可以简化生成动态HTML。 (例如,Ruby中的 cgi 模块。 )



有没有类似的C ++包?我不知道其中之一,至少有一些混淆的谷歌搜索没有透露一个。

解决方案

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



我对这件事一无所知,但是他们的网页很干净,介绍听起来就像你要找的东西......


(发音为'witty')是用于开发和部署Web应用程序的C ++库和应用程序服务器。它不是一个'框架',它实施了一种编程方式,而是一个库。


...


$ b


相比之下,使用Wt开发的Web应用程序仅使用一种编译语言(C ++)编写,从中生成必要的HTML / XHTML,Javascript, CGI,SVG / VML / Canvas和AJAX代码。



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.

这篇关于C ++ HTML生成类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆