Planning to write a website in C++. Would like to use a template system like Clearsilver, but maybe there's a better alternative?
A:
Why on Earth would you write a website in C++? It makes as much sense as writing code for a microcontroller using PHP.
anon
2009-02-11 17:18:29
Because I want to?
apphacker
2009-02-11 17:19:30
Because I want to use the code that I have previously written for a microcontroller :-)Because I can !!!
Malkocoglu
2009-02-11 18:06:27
What's wrong with programming micro controllers in PHP? :)
Luke
2009-02-12 02:10:54
I don't see what feature C++ lacks to make it easy to write a webserver in.
Dimitri C.
2009-09-11 10:53:25
I wrote a website in C++ in the past; it was very pleasurable as the tools for C++ (Visual Studio) are light years ahead of the ones for PHP. C# would have been a better choice if I had a windows hosting, which I didn't. C++ was the second best choice and I never regretted it.
Andreas Bonini
2010-04-26 12:39:40
ATL Server-based websites - running closer to the compiler gives you much better control over server performance and memory management. I wrote a high-performance web application that way once, and it worked great until the business wanted way too frequent updates. Takes a lot more work to update a site in C++ than it does with "normal" web technologies.
Charles Boyung
2010-07-09 20:10:41
+6
A:
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.
yesraaj
2009-02-11 17:21:14
+1
A:
You can have a look at cgicc which help handling posted data, but it's not actually for the html generation part. Otherwise I think Clearsilver is a very good template engine that has been used professionally
epatel
2009-02-11 17:23:37