Search code examples
c++frontend

Suggestions of scripting web front end for C++


Im currently learning C++ and Im interested in a web front end that can be fast as its C++ back end part. Which front ends does make a good combination?

Not looking for the best just the ones that can join cpp without using cgi.

---Update------

I actually develope my web applications in Java and is nice. Im looking at the C++ side since I want to give it a try. I learn a little of C++ on a college class 3 years ago and now Im reading the Deitel 8th Edition book to cover what I miss and review what I previosly learned. I'll read all your suggestions and will select a balance between productivity and speed. I admit it I am a performace addict that's the reason of my interest on this. Before asking this I thought Python could be used as a web front end. But maybe its not near C++ performance and thats why you didnt mentioned it.

-----Update #2------

What behaivor could have using python web frameworks or java servlets for the web engine and then connect it to C++? Will tomcat or the python server be a bottleneck?


Solution

  • I think it's hard to find a web front end in C++ (probably what you are looking for is a C++ equivalent of GWT). Back ends are more common and there're some frameworks to create web apps in C++. Facebook has Hiphop for converting PHP code to C++ to speed up. But everything mostly boils down to HTML(5)/JavaScript/CSS. However, Qt framework has integration with WebKit and you can build applications using this framework which leverages HTML5/JavaScript/CSS3 in a C++ app (I'm not too familiar with it, so may be wrong). Take a look at this by the way.

    EDIT: On further googling, found Wt, this might look interesting. :)