神刀安全网

Wt, C++ Web Toolkit

Wt: an introduction

Wt (pronounced as witty ) is a C++ library for developing web applications.

The API is widget-centric and uses well-tested patterns of desktop GUI development tailored to the web. To the developer, it offers abstraction of many web-specific implementation details, including client-server protocols (HTTP, Ajax, WebSockets), and frees the developer from tedious JavaScript manipulations of HTML and dealing with cross-browser issues. Instead, with Wt, you can focus on actual functionality with a rich set of feature-complete widgets.

Unlike old-school page-based frameworks or current-day single-page JavaScript "frameworks", Wt allows you to create stateful applications that are at the same time highly interactive (using WebSockets and Ajax for everything) but still support plain HTML browsers or web crawlers using automatic graceful degradation or progressive enhancement . Things that are natural and simple with Wt would require an impractical amount of development effort otherwise: switching widgets using animations, while retaining clean URLs and browser navigation functions, or having a persistent chat widget open throughout the entire application, that even works in legacy browsers like Microsoft Internet Explorer 6.

The library comes with an application server that acts as a stand-alone Http(s)/WebSocket server or integrates through FastCGI with other web servers.

Feature rich

  • Layout usingHTML templates or intelligentlayout managers and themable look-and-feel, including support for Twitter Bootstrap versions 2 or 3.
  • Create and maintain complexity by using and building reusable and self-contained widgets.
  • Comes with a large set of feature-rich widgets that includeform widgets,table andtree views, dialogs ,popup menu’s, etc…
  • Unifiedgraphics APIs, 2D (SVG, HTML5 Canvas, VML, PNG, and PDF) & 3D (client side WebGL and server-side OpenGL).
  • Feature richHTML to PDF renderer for dynamic report generation.
  • Elegant template-based C++ Database abstraction layer (Wt::Dbo)
  • Built-in security against common vulnerabiliets such as XSS(Cross-Site-Scripting) or CSRF (Cross-Site Request Forgery)

Typical use scenarios:

  • High performance, complex web applications which are fully personalized (and thus cannot benefit from caching), fully Ajax enabled and at the same time entirely accessible and Search Engine Optimized.
  • Web-based GUIs for embedded systems benefit from the low footprint of a C++ web application server.
  • Web-based GUIs that require integration with (existing) C++ libraries , for example for scientific or engineering applications, or existing C++ desktop applications .

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Wt, C++ Web Toolkit

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址