Experience using Wt C ++ framework?

  • Has anyone seriously used Wt?
  • Does it work well?
  • Did you have certain limitations? Or benefits?

Wt is a C ++ library for developing web applications.

Please avoid discussing whether C ++ is a good language for web development. I just want to give Wt a try, because it seems like it might be interesting.

+70
c ++ wt
Nov 15 '09 at 11:42
source share
6 answers

I personally did not use the framework, but discussed it with several people who have. They really had no restrictions, but it was hard for me to believe that they gathered every time. Their main comment was that the server was pretty easy to boot in terms of memory usage. Personally, I believe that the interpreted languages ​​are php, python, ruby, etc. Work well with the nature of web development, but that is not the question you asked. Probably the biggest advantage is the ability to use an existing set of skills to work on a new medium.

There are also some good online comments discussing the pros and cons. Here is the one I found http://discuss.joelonsoftware.com/default.asp?biz.5.599655.33

However, I think the main answer here is that without a specific project requirement, it will be difficult to evaluate any framework for suitability. If you think it will be fun to try coding a few things with it, then let it go. This will be the best (if not the only) way to determine if it suits your needs.

+34
Nov 18 '09 at 14:43
source share

I use Wt to ​​create applications that directly reference C ++ libraries, but don't really put much effort into implementing layout functions like CSS. Until now, it has worked great as a replacement for GTK in creating such applications. I am exclusively a Linux user, and I am also one of the unwashed pagans who really like C ++ programming, and this structure is the perfect way for me to create an application that can actually be used on many platforms.

+30
Jun 12 2018-10-12
source share

I tried several C ++ built-in web servers. They are usually a problem to use, not Windows.

(You do not mention your platform. If you are running Unix, I suspect that you will find the available servers easier to use and may ignore this answer. If you are on Windows, read on ...)

I tried Wt, but was defeated by a massive installation, which takes hours to compile and create page after page of warnings and an extensive learning curve. Wt is modeled on Qt, so if you are familiar with Qt, the learning curve will be a much less difficult task.

I tried Webio by John Bartas. I liked the concept and it worked well. However, I found it too complicated to use, and server-side code is hard to understand. The great complexity of Webio is caused by the use of the "HTML compiler" to hide the HTML pages that control the appearance of the GUI inside the file system embedded in the application code. I prefer the HTML pages to be outdoors, I can customize the GUI without recompiling the application.

I also looked at TWS. This is Richard Hipp, who is responsible for SQLITE and FOSSIL and from whom I am a big fan. However, TWS is not supported since 2001 and is not really WINDOWS, so I reluctantly decided not to continue it.

In the end, I turned my own, called WEBEM, based on a minimally modified version of the boost :: asio web server. In a concept similar, but simpler than TWS, it allows the html code to execute C ++ methods.

+18
Nov 18 '09 at 15:13
source share

To be honest, I looked at it, but I see one significant drawback of the Wt design - it is modeled after Qt. Trying to make web applications look and act like a graphical interface.

I think this approach is wrong. There should be a clear separation between the client and server sides.

If you're interested in C ++ web programming, check out CppCMS , which has a more traditional MVC model.

Notice, I have a biased opinion because I am a CppCMS developer.

+10
Nov 22 '09 at 21:57
source share

Created a to-do list application using it. works great, no problem.

+9
Mar 20
source share

I am currently using it to develop a web application for processing GPS measurements based on processing algorithms implemented in C. This works well and has good interaction with legacy C / C ++ code.

He documents it not so extensive and the lack of training textbooks and related books makes it somehow difficult to study.

+9
Aug 17 '12 at 12:56
source share



All Articles