Saw this today.
“Wt is a C++ library and application server for developing and deploying web applications.”
It’s by a Belgium-based company, emweb.
Tried the online examples out a bit. Looks interesting. Apart from the fact of being able to write web apps with it in C++, some other Wt features of interest are:
- *all* your app code is written in one language - C++ (as far as I could make out from their site) - this is a bit like the Google Web Toolkit (GWT), using which you can write your complete web app in Java and then it gets compiled into an app, part of which is in Java (server side code), and part in JavaScript and Ajax (client-side code). Looks like you don’t need to write parts of your app in JavaScript, CSS, etc. Quote: “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.”
- they claim that it reduces the number of lines of code needed, by a lot, as compared to some other approaches, like JSF, e.g.:
“This is not the instantiation of a pre-defined tree list component, but the implementation of such a component from WImage and WText widgets, in about 350 lines of C++ code ! In comparison, the Apache MyFaces JSF implementation of tree2, with similar functionality, uses about 2400 lines of Java, and 140 lines of JavaScript code.”
- less or no XSS (Cross Site Scripting) security issues
- “if available, Wt will maximally use JavaScript and AJAX, but applications developed using Wt will also function correctly when AJAX is not available, or when JavaScript is disabled, reverting to a plain HTML/CGI mechanism for communication between browser and server”
- fast performance - “Ultra-fast load time and low bandwidth usage, which are affected only by screen complexity, not application size.”