• Revista PROGRAMAR: Já está disponível a edição #53 da revista programar. Faz já o download aqui!


Wt, C++ Web Toolkit

3 posts in this topic

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.

The API is widget-centric, and inspired by existing C++ Graphical User Interface (GUI) APIs. To the developer, it offers complete abstraction of any web-specific implementation details, including event handling and graphics support.

  • Develop web applications like you develop C++ desktop applications.
  • Provides plain widgets, which work regardless of JavaScript availability (but benefit from JavaScript availability), and Wt::Ext widgets which are more polished, or provide advanced functionality, but require JavaScript and a modern browser. As far as possible, these widgets share the same API.
  • Use the built-in httpd for easy development and deployment, or use the FastCGI connector to deploy as a FastCGI application.
  • A single specification for both client- and server-side validation and event handling (when using stateless slot implementations)
  • Generates standards compliant HTML or XHTML code.
  • Portable, anti-aliased graphics (uses inline VML, inline SVG or the HTML 5 canvas).
  • No XSS security risks since Wt has complete control over the presentation layer and proactively filters out active tags and attributes. No exposure of business logic, which stays at the server.
  • Ultra-fast load time and low bandwidth usage, which are affected only by screen complexity, not application size.



Share this post

Link to post
Share on other sites

Gostei. Obrigado Triton. Não conhecia.

O sistema de licenciamento é que chateia, se pretenderes usar a framework para distribuição de binários; GPL ou comercial. Não há meio termo.

Mas se tiver o meu próprio servidor e usar a framework para host de binários e não os distribuir, parece sem dúvida muito interessante. Evita a muita gente ter que estudar outras soluções como Air, C#, ColdFusion, Java, Ruby, et cetera, e manter-se em C++. Mas acima de tudo pareceu-me muito interessante para port de aplicações C++ existentes.

Bookmarked. Irei estudá-la mais tarde quando tiver tempo.


Share this post

Link to post
Share on other sites

Exacto, parece bastante porreira. Já estive a ver alguns exemplos e nem parece muito complicada de usar.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now