Small but Powerful and Efficient

TreeFrog Framework is a high-speed and full-stack C++ framework for developing Web applications, which supports HTTP and WebSocket protocol.

Web applications can run faster than that of scripting language because the server-side framework was written in C++/Qt. In application development, it provides an O/R mapping system and template systems on an MVC architecture, aims to achieve high productivity through the policy of convention over configuration.

Features

  1. High performance - Highly optimized Application server engine of C++.
  2. O/R mapping - Conceals complex and troublesome database accesses
  3. Template system - ERB-like template engine
  4. Support for many DB - MySQL, PostgreSQL, ODBC, SQLite, MongoDB, Redis, etc.
  5. Cross-platform - Same source code can work on Windows, macOS and Linux
  6. Support WebSocket - Providing full-duplex communications channels
  7. Generator - Automatically generates scaffolds and Makefiles
  8. Less resource - Stable operation even on Raspberry Pi
  9. OSS - New BSD License

Selecting TreeFrog Framework

It is said that there is a trade-off relationship between development efficiency and operation speed in web application development, is it really true?

There is not such a thing. it is possible to develop efficiently by providing convenient development tools and excellent libraries from the framework and by specifying specifications to minimize the configuration file.

In recent years, cloud computing has emerged, the importance of Web applications is increasing year by year. Although it is known that the execution speed of the script language decreases as the amount of code increases, C++ language can operate at the fastest speed with a small memory footprint and does not decrease execution speed even as the amount of code increases.

Multiple application servers running in scripting language can be aggregated into one without degrading performance. Try TreeFrog Framework which combines high productivity and high speed operation!

News

Oct. 19, 2019

TreeFrog Framework version 1.26.0 (stable) release New!

  • Added cache modules by SQLite, MongoDB and Redis.
  • Updated LZ4 compression algorithm to 1.9.2.
  • Fix a compilation error on Ubuntu 19.10.
  • Changed the epoll MPM from multi-thread to single thread architecture.
  • Performance improvement.

Download this version

July 20, 2019

TreeFrog Framework version 1.25.0 (stable) release

  • Updated Mongo C driver to v1.9.5.
  • Updated LZ4 compression algorithm to v1.9.1.
  • Modified to set a domain in session cookie.
  • Changed the default C++ config from c++11 to c++14.
  • Other bugfixes and improvements.

Apr. 29, 2019

TreeFrog Framework version 1.24.0 (stable) release

  • Modified to use LZ4 compression algorithm.
  • Implemented functions storing data of hash type for Redis.
  • Fix a bug of incorrect Content-Type returned for files with uppercase extension.
  • Fix a bug of parsing form-data values included backslashes.
  • Other bugfixes and improvements.

Jan. 6, 2019

TreeFrog Framework version 1.23.0 (stable) release

  • Added failsafe of SQL when BEGEN/COMMIT/ROLLBACK failed.
  • Fix a bug of sqlobject for session store.
  • Minor changes of exception classes.
  • Added log messages for query log.
  • Other bugfixes.

Jun. 10, 2018

TreeFrog Framework version 1.22.0 (stable) release

  • Support for CMake build of Web application.
  • Support SMTP connections to older servers not supporting ESMTP.
  • Fix bugs of tspawn.pro file.

All changelogs

Support Development

TreeFrog Framework is New BSD licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing. We accept donations from sponsors and individual donors via the following methods:

I would be pleased if you could consider donating. Thank you!

Wanted

  • Developers, testers, translators.

Since this site is built with GitHub Pages, translations can also be sent by a pull-request. Visit GitHub. Welcome!

Information

TreeFrog forum

Twitter @TreeFrog_ja

Docker Images

Benchmarks