Questions tagged [cppcms]

CppCMS is an open source, high performance, model-view-controller, C++ web development framework.

CppCMS is the C++ web framework oriented for high performance applications development and web interface embedding. It can be described as Django or Rails for C++ and it is oriented for performance. It is open source product freely available under LGPLv3 license. The project is provided under a commercial license as well.

Despite common beliefs about web development, it allows to improve the performance of web applications by an order of magnitude. Such results were reported by both CppCMS users and synthetic benchmarks.

Learning Resources:

Discussion Groups:

Some Related questions:

48 questions
8
votes
2 answers

Live website powered by CppCMS

CppCMS looks fine for me.. but do you know any live website powered by CppCMS?
6
votes
2 answers

Cmake: how to run bash command only when a file is updated?

I am trying to write a CMakeLists.txt to speed up compilation. The executable depends on a script generated .cpp file: I use the cppcms web application library which has a templating system where .tmpl must be converted to .cpp files during the…
augustin
  • 14,373
  • 13
  • 66
  • 79
5
votes
4 answers

C++ Web Framework w/ Embedded Server?

I have been looking for a C++ Web Framework that would allow me to build a GUI Control Panel directly into a .dll plugin. In the past I have used Nancy Framework for .NET Projects which was exceptional (was my first time with this type of…
user470760
4
votes
3 answers

cppcms - Shared library - Linux

I am trying to use the cppcms framework on Linux(Debian distribution). I followed the steps described in the Build tutorial on the site and then tried to build the hello world application. I have successfully compiled the source, but when I try to…
3
votes
1 answer

CPPCMS build error with libraries

Despite I have open ssl installed, it can't find where the library is. The openssl exists in my Ubuntu as default, it still can't find, so I download a new distribution and reinstall it to /usr/local/ssl . I install by the default cmake…
Amumu
  • 17,924
  • 31
  • 84
  • 131
3
votes
0 answers

Performance of Post Request with CppCMS

We are using a CppCMS server and its performance is very low for post requests when the post messages reach a certain size of some kB. This already happens with minimal server examples for the beginners tutorial, slightly modified: #include…
3
votes
1 answer

Typical CppCMS memory consumption

I'm developing a CppCMS app, for running on my ARM-based custom board. I'm running CppCMS behind Lighttpd using fastcgi. But apparently CppCMS consumes far more memory than Lighttpd does (50+ MB), which comes as a surprise to me. DISCLAIMER: The…
S.C. Madsen
  • 5,100
  • 5
  • 32
  • 50
2
votes
3 answers

Using IIS as secure reverse proxy in front of less secure HTTP server?

I have a CppCMS based application and I cant use IIS's FastCGI connector as it is broken for my use thus I want to try to use the internal HTTP server designed for debug purposes behind IIS. I it is quite simple web server for an application that…
Artyom
  • 31,019
  • 21
  • 127
  • 215
2
votes
0 answers

jQuery Ajax timeout leaves http request open, causing memory leaks on long-polling application

tl;dr: jQuery's ajax function does not appear to close http requests that time out. As such, each socket that is opened per each long-polling request never closes and the server eventually denies connections because of the number of open sockets. …
2
votes
1 answer

cppcms can't work

My OS: Mac OSX My gcc version: 4.2.1 My clang version: llvm 6.1.0 cppcms version: 1.0.5 I download the cppcms framework and install the framework.The commands: cd cppcms-1.0.5 mkdir build & cd build cmake .. make make test make install No error…
Karl Doenitz
  • 2,220
  • 3
  • 20
  • 38
2
votes
1 answer

Does CppCMS support unicode?

I have been looking for a C++ web framework with high performance target. I found out it, I am not sure that does it support Unicode because I see some its samples use std:string for render. Does any one use it with Unicode output?
2
votes
2 answers

cppcms - why is hello world with url mapping not working?

I am having trouble with cppcms hello world example with url mapping. I am having trouble with understanding this part: int main(int argc,char ** argv) { try { cppcms::service srv(argc,argv); srv.applications_pool().mount( …
pregmatch
  • 2,629
  • 6
  • 31
  • 68
2
votes
2 answers

CppCMS template tutorial: Where controller should be?

From http://cppcms.com/wikipp/en/page/cppcms_1x_tut_hello_templates The controller is: virtual void main(std::string /*url*/) { content::message c; c.text=">>>Hello<<<"; render("message",c); } It says: but before this we include our…
apasajja
  • 576
  • 2
  • 6
  • 20
2
votes
1 answer

Build error with forms in CppCMS

We are having troubles including a login form in our project. We follow the steps in http://cppcms.com/wikipp/en/page/cppcms_1x_forms This is the definition of the form: struct SignInFormInfo : public cppcms::form { /* Error 1 */…
nico
  • 110
  • 2
  • 8
2
votes
1 answer

cppcms url dispather with over 4 parameter

I started using cppcms to make a simple website + "service" that gets its input from the path like: /maindb/2012/11/2/finalists/.... now i noticed that the nice url handling has only a regex dispatcher up to 4 parameters that will be given to the…
boscowitch
  • 428
  • 4
  • 8
1
2 3 4