1. Home
  2. Computing & Technology
  3. C / C++ / C#
photo of David Bolton
David's C / C++ / C# Blog

By David Bolton, About.com Guide to C / C++ / C#

Wt - Write Web Applications in C++

Monday September 1, 2008
This is interesting if you want to write your own web server based application but not have to learn a server-side language like ASP.NET or PHP etc. WT is an open Source C++ library that generates all the HTML/JavaScript and Ajax etc needed for the browser. You write the application server code in C++ and call the library to do the donkey work.

It supports the major browsers (Firefox, IE, Safari, Konqueror and Opera) and can be developed on Windows or Linux. It's modern as well in its use of Ajax to update parts of web pages without redrawing an entire page and includes cookie/session support. You can't create web apps without those as HTML is a stateless protocol. It also adds GUI components including charting components. It works with standard web servers that use FastCGI (ie Apache) or has its own multi-threaded web server.

It has the longest Hello World example in any language though to be fair it does ask for your name and displays it! I've added a permanent link in the C++ Code library.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore C / C++ / C#
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

©2009 About.com, a part of The New York Times Company.

All rights reserved.