Wt – C++ Web Toolkit

栏目: IT技术 · 发布时间: 3年前

Why choose Wt?

You don't want to focus on details like request handling or page rendering. You want your application to continue to work even when JavaScript is unavailable. You just want to write your web application in C++ without sacrificing interactivity. Wt allows you to focus on functionality and create highly interactive, secure, and future proof applications quickly.

Wt – C++ Web Toolkit

Save Time

Wt handles all the nitty-gritty of requests and responses and client-side JavaScript, and allows you to focus on functionality in pure C++.

Wt – C++ Web Toolkit

Built to Maintain

Wt's widget abstraction represents HTML elements as C++ objects, allowing them to be easily composable and extendable.

Wt – C++ Web Toolkit

Future Proof

Stay up to date with the latest web technologies without changing your code, thanks to Wt's stable API.

Wt – C++ Web Toolkit

Secure

Wt is designed to be resilient against the most common types of exploits: SQL injection, XSS and CSRF vulnerabilities.

Contact us for more information

or a personalised quotation

Contact Us

Features

Wt has a lot to offer. It includes the essential basic widgets and building blocks to build web applications, but also offers built-in security, PDF rendering, a 2D and 3D painting system, an object-relational mapping library, a charting library, and an authentication framework. You can see the full list of features here , but here's a short overview:

Wt – C++ Web Toolkit

Widget library

Many widgets are included in Wt. For every HTML element there's a corresponding widget. These widgets can emit signals when interacted with, so you can write web applications like desktop applications. Check out the widget gallery for an overview of the widgets that Wt has to offer.

Wt – C++ Web Toolkit

Server side, client optimized

Wt employs a signal-slot system. Instead of worrying about the sending of Ajax requests and serving of pages, you can simply connect the click of a button to a callback function on the server. Take a look at this example in the widget gallery. Wt will use whatever technology available for communication: Ajax or WebSockets, but will fall back on full HTML page loads when JavaScript is unavailable. This makes Wt applications accessible to any browser or web crawler.

Wt – C++ Web Toolkit

Built-in security

Wt automatically protects against misuse by only allowing visible and enabled widgets to be interacted with. This also helps to avoid CSRF attacks, which are doubly avoided because Wt does not store session information in cookies. By using the widget abstraction, Wt discourages the inserting of raw HTML into a web page, preventing XSS attacks. Wt::Dbo prevents SQL injection by encouraging the use of prepared statements when accessing the database. Wt also includes an authentication and registration system with support for OAuth providers like Google, Facebook, and OpenID Connect.

Wt – C++ Web Toolkit

PDF rendering

Create PDFs and render HTML as PDF with Wt's PDF rendering system. Check out PDF rendering in the widget gallery.

Wt – C++ Web Toolkit

2D and 3D painting system

Use a single 2D drawing API with many backends (PNG, JPEG, SVG, HTML canvas, VML, and PDF) so you only need to write your drawing code once to support any web browser and save to many formats. Write server-side (OpenGL) and client-side (WebGL) 3D graphics with a uniform API. Wt's 2D and 3D charting libraries were built on top of this graphics API. Check out the examples in the widget gallery.

Wt – C++ Web Toolkit

Object relational mapping library

Map classes in C++ to tables in your database with Wt::Dbo, an ORM that only requires pure C++, and does not rely on preprocessor magic or code generation. Get a taste for Wt::Dbo with the introductory tutorial.

See all features

Latest News

Wt 3.6.1 & 4.3.1

  • Posted by Roel
  • 20 April 2020

Wt 4.3.0 was released almost a month ago, so it’s about time for a patch release. Wt 4.3.1 (and Wt 3.6.1) is a tiny patch release, with the most notable fix being an issue in the destructor of WWebWidget when user-defined ids were used. There will be no JWt 4.3.1 since nothing has changed to JWt.

Read the release notes for more information.

Here are the links:

Binary builds for Windows are available on the GitHub releases page .

Some users of (J)Wt

Wt – C++ Web Toolkit
Wt – C++ Web Toolkit
Wt – C++ Web Toolkit
Wt – C++ Web Toolkit
Wt – C++ Web Toolkit
Wt – C++ Web Toolkit
Wt – C++ Web Toolkit
Wt – C++ Web Toolkit
Wt – C++ Web Toolkit

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

微信小程序(开发入门及案例详解)

微信小程序(开发入门及案例详解)

李骏、边思 / 机械工业出版社 / 2017-3-1 / 59.0

本书可分为3部分,第一部分作为基础章节,介绍了第一个小程序的搭建流程,让大家能快速上手;同时对小程序框架原理进行了详细介绍,为后面学习组件、API打下基础。 第二部分对小程序组件、API进行介绍,对组件、API的使用、注意事项进行详细讲解,并给出示例代码。 最后一部分精选5个由浅入深的案例,对小程序研发进行实战讲解,涵盖了实际项目中可能涉及的技术方案和使用方法,具备很强的实战意义。 ......一起来看看 《微信小程序(开发入门及案例详解)》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具