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 adopted
  4. Supported databases - MySQL, MariaDB, PostgreSQL, ODBC, MongoDB, Redis, Memcached, etc.
  5. WebSocket support - Providing full-duplex communications channels
  6. Generator - Generates scaffolds, Makefiles and vue.js templates
  7. Various response types - JSON, XML and CBOR
  8. Cross-platform - Same source code can work on Windows, macOS and Linux
  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

Jan. 21, 2023

TreeFrog Framework version 2.6.1 (stable) release New!

  • Fix a bug of outputting access log.
  • Added a link option for LZ4 shared library on Linux or macOS.

Download this version

Jan. 2, 2023

TreeFrog Framework version 2.6.0 (stable) release New!

  • Implemented in-memory KVS for cache system.
  • Added a link option for Glog shared library.
  • Fix bugs of macros for command line interface.
  • Updated LZ4 to v1.9.4.

Nov. 1, 2022

TreeFrog Framework version 2.5.0 (stable) release

  • Implemented flushResponse() function to continue the process after sending a response.
  • Updated glog to v0.6.0
  • Performance improvement for redis client.
  • Implemented memcached client. [Experimental]
  • Implemented a cache-store for memcached, TCacheMemcachedStore class.

Aug. 13, 2022

TreeFrog Framework version 2.4.0 (stable) release

  • Implemented memory store for cache.
  • Updated Mongo C driver to v1.21.2.

May 28, 2022

TreeFrog Framework version 2.3.1 (stable) release

  • Fix compilation errors on Qt 6.3.

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