c++ Web framework
AN EASY AND FAST WAY TO BUILD WEB APPLICATIONS AND REST WEBSERVICES IN C++ WITH QT
C++ WEB FRAMEWORK
The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications. The CWF was designed to consume few computational resources, such as memory and processing, and have a low response time for requests. With MVC (Model-View-Controller) architecture, you can create classes to take care of the business layer (Model), use CSTL (C++ Server Pages Standard Tag Library) within the Web Pages to take care of data presentation (View) and use the controllers as a between the two layers (Controller).
Because it is created in Qt, the C++ Web Framework can run on the same platforms supported by Qt:
Desktop: Linux, OS X, Windows
Embedded and RTOS: Linux, QNX, VxWorks, Windows
Mobile: Android, iOS, Windows
The CWF has only one configuration file, called CPPWeb.ini and a policy of using only C++ and Qt in the development of its components in order to avoid the installation of numerous libraries and conflicts, maintain multiplatform characteristics, facilitate installation and keep the learning curve low in order to make web development as simple as possible, even for beginners.
C++ WEB FRAMEWORK
The figure below demonstrates the architecture of the
C++ Web Framework (CWF).
Web Pages + CSTL
C++ WEB FRAMEWORK
The C++ Web Framework (CWF) is completely free and open source, hosted on GitHub, where it is possible for anyone to read and contribute to improvements. In addition, the CWF uses Travis CI and AppVeyor to perform continuous integration on Windows, Linux and Mac platforms, where each commit is recompiled to ensure that no commit is broken.
To ensure the code quality, each commit made in the CWF repository is automatically submitted to Codacy. Codacy is responsible for analyzing code quality on items such as: code duplication, unused codes, dead pointers, division by zero, integer overflows, invalid bit shift operands, invalid conversions, invalid usage of STL, memory management, null pointer dereferences, out of bounds checking, uninitialized variables, C cast style, writing const data, among others.
The CWF has "A" certification, the highest in Codacy.
Preliminary performance evaluation of the CWF vs Java 9 deployed on the Apache Tomcat web server. Regarding the performance tests, the CWF application consumed significantly less memory and processing and was faster than the Java 9 web application deployed at the Tomcat.
The test was run on a MEGAWARE, Model M5SERIES, 4 GB RAM DDR3, HD 500 GB, Intel Core i5-2320, Deepin 15.5 and the weighttp was used to perform load tests
"I found it simple to set up and develop. In general, starting the use of a framework is complicated. This is not the case with the C++ Web Framework."
Mário Rocco Pettinati
"I found it interesting and because it was built on the very idea of Java that is very appropriate."
José Augusto Navarro Garcia Manzano
"Intuitive, practical, fast, follow patterns."
Jailson Domingos dos Santos
"Versatile and with important features."
Cassio de Carvalho Berni
"The ease of setting up and creating applications is as simple as other web tools. Great to have this option for the C++ language since we did not find any option with this focus."
Manager and Developer
"I thought it was great. A very easy to use framework."
Thayse Sales Santos
"A great solution for web development."
Alberto da Silva Garcia Barrios