4 ms·
I kind of like the idea of using C++ for web apps. I even wrote a web app that was pure C++ in 1995/1996 before anyone really knew what web apps were. :) But
by owyn 16y ago
I kind of like the idea of using C++ for web apps. I even wrote a web app that was pure C++ in 1995/1996 before anyone really knew what web apps were. :)
But this sort of thing:
out << "<h1>" << tr("hello, world") << "</h1>";
isn't really scalable... no templates at all? There's a reason why most web apps are written in scripting languages. I think if you want a high performance service, why not write an apache module or something like G-WAN, which lets you write servlet apps in C...
- zv 16y agoMind you that you can write your own template engine
- roel_v 16y agoAnd Google even has one, http://code.google.com/p/google-ctemplate/ http://code.google.com/p/google-ctemplate/, which does just that (I realize that this was not an option for the OP in 95 ;) )
- nmdry 16y agoThere is also grantlee (http://gitorious.org/grantlee http://gitorious.org/grantlee) - a port of the Django templating engine - which also uses Qt. These two might be a good combination.