GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Categories
  • Newsletter
  • Submit
  • Login
  • Awesome C++
  • Web Application Framework

This view

  • Original page
  • New address

GeezerVison is showing cpp.libhunt.com — Oat++ Alternatives - C++ Web Application Framework | LibHunt

  • Subscribe
  • Submit
  • Categories
  • About
  • Login

Oat++

🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.

oatpp logo
oatpp.io    Source Code    Docs    Changelog
Suggest Changes
Take the C++ Developer Survey - About 6 minutes on the tools, libraries and AI you use with C++. You get the results by email. Take the survey »
Popularity
8.7
Declining
Activity
5.2
-
Stars 8,665
Watchers 139
Forks 1,362
Last Commit about 1 year ago

Description

Oat++ is the modern Web Framework for C++. It's fully loaded and contains all necessary components for effective production level development. It's also light and has small memory footprint.

Programming language: C++
License: Apache License 2.0
Tags: Web Application Framework     HTTP     WebSocket    
Latest version: v1.2.0

Oat++ alternatives and similar libraries

Based on the "Web Application Framework" category.
Alternatively, view Oat++ alternatives based on common mentions on social networks and blogs.

  • Crow

    8.6 0.0 L1 Oat++ VS Crow
    Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)
    ipkn logo
  • drogon

    8.6 9.0 Oat++ VS drogon
    DISCONTINUED. Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon]
    an-tao logo
  • SaaSHub - Software Alternatives and Reviews

    SaaSHub helps you find the best software and product alternatives
    Promo www.saashub.com
    SaaSHub Logo
  • lwan

    8.3 9.5 Oat++ VS lwan
    Experimental, scalable, high performance HTTP server
    lpereira logo
  • CrowCpp

    8.0 9.0 Oat++ VS CrowCpp
    A Fast and Easy to use microframework for the web.
    CrowCpp logo
  • Civetweb

    7.8 5.7 L2 Oat++ VS Civetweb
    Embedded C/C++ web server
    civetweb logo
  • Pistache

    7.7 6.9 Oat++ VS Pistache
    A high-performance REST toolkit written in C++
    pistacheio logo
  • Kore

    7.6 5.5 L3 Oat++ VS Kore
    An easy to use, scalable and secure web application framework for writing web APIs in C or Python. || This is a read-only mirror, please see https://kore.io/mail and https://kore.io/source for information on how to contribute via the mailing lists.
    jorisvink logo
  • facil.io

    6.7 4.7 L2 Oat++ VS facil.io
    Your high performance web application C framework
    boazsegev logo
  • Wt

    6.7 9.6 L3 Oat++ VS Wt
    Wt, C++ Web Toolkit
    emweb logo
  • libOnion

    6.7 2.0 L4 Oat++ VS libOnion
    C library to create simple HTTP servers and Web Applications.
    davidmoreno logo
  • TreeFrog Framework

    6.0 8.3 L2 Oat++ VS TreeFrog Framework
    TreeFrog Framework : High-speed C++ MVC Framework for Web Application
    treefrogframework logo
  • Cutelyst

    5.2 6.8 Oat++ VS Cutelyst
    A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
    cutelyst logo
  • CppCMS

    4.5 4.9 Oat++ VS CppCMS
    CppCMS Framework
    artyom-beilis logo
  • paozhu

    4.4 9.5 Oat++ VS paozhu
    Paozhu🧨 A C++20 web framework supporting HTTP/1.1, HTTP/2, WebSocket, MQTT, and a built-in ORM, for rapid CRUD development.
    hggq logo
  • QSimpleScada

    4.0 0.0 Oat++ VS QSimpleScada
    Qt based simple SCADA framework, with dashboard, static and dynamic components
    IndeemaSoftware logo
  • QDjango

    3.7 0.0 L1 Oat++ VS QDjango
    DISCONTINUED. QDjango, a Qt-based C++ web framework
    jlaine logo
  • httpp

    3.0 5.1 L1 Oat++ VS httpp
    Micro http server and client written in C++
    daedric logo
  • Mach

    1.2 9.7 Oat++ VS Mach
    A modern C++20 web framework for building fast, robust web applications with minimal APIs, controllers, dependency injection, and more.
    machframework logo

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.

Do you think we are missing an alternative of Oat++ or a related project?

Add another 'Web Application Framework' Library

Popular Comparisons

  • Oat++
    vs
    Crow
  • Oat++
    vs
    drogon
  • Oat++
    vs
    Pistache
  • Oat++
    vs
    Boost.Asio
  • Oat++
    vs
    Wt

README

 

Oat++

News

  • :tada: Welcome the new oatpp version 1.3.0. Now it's better than ever! See the changelog for details. :tada:

Oat++ is a modern Web Framework for C++. It's fully loaded and contains all necessary components for effective production level development. It's also light and has a small memory footprint.

Start

  • Get Started
  • Build For Unix/Linux
  • Build For Windows
  • Examples

About

  • Website
  • Supported Platforms
  • Latest Benchmarks: 5 Million WebSockets
  • [Contributing to Oat++](CONTRIBUTING.md)

Join Our Community

  • Gitter - Talk to Oat++ developers and to other Oat++ users.
  • Twitter - Follow Oat++ on Twitter.
  • Reddit - Follow Oat++ subreddit.
  • StackOverflow (new) - Post a Question.

Quick Overview

Shortcuts:

  • Oat++ High Level Overview - Get a quick overview of Oat++ features.
  • Example Project - A complete example of a "CRUD" service (UserService) built with Oat++. REST + Swagger-UI + SQLite.

Build Powerful API And Document It With Swagger-UI

See ApiController for more details.

ENDPOINT_INFO(getUserById) {
  info->summary = "Get one User by userId";

  info->addResponse<Object<UserDto>>(Status::CODE_200, "application/json");
  info->addResponse<Object<StatusDto>>(Status::CODE_404, "application/json");
  info->addResponse<Object<StatusDto>>(Status::CODE_500, "application/json");

  info->pathParams["userId"].description = "User Identifier";
}
ENDPOINT("GET", "users/{userId}", getUserById,
         PATH(Int32, userId))
{
  return createDtoResponse(Status::CODE_200, m_userService.getUserById(userId));
}

Access Databases And Keep Your Data Consistent

See Oat++ ORM for more details.

QUERY(createUser,
      "INSERT INTO users (username, email, role) VALUES (:username, :email, :role);",
      PARAM(oatpp::String, username), 
      PARAM(oatpp::String, email), 
      PARAM(oatpp::Enum<UserRoles>::AsString, role))

Frequently Asked Questions

Q: "Oat++" name?

  • "Oat" is something light, organic, and green. It can be easily cooked and consumed with no effort.
  • "++" gives a hint that it is "something" for C++.

Q: What is the main area of Oat++ application?

Oat++ is used for many different purposes, from building REST APIs that run on embedded devices to building microservices and highly-loaded cloud applications.

But the majority of use cases appears to be in IoT and Robotics.

Q: How portable is Oat++?

Theoretically, Oat++ can be easily ported everywhere where you have threads and network stack. With an additional comparably small effort, it can be ported almost everywhere depending on how much you strip it and what would be the final binary size.

See supported platforms for additional info.

Q: What is the size of a minimal Oat++ application?

About 1Mb, depending on C/C++ std-lib and oatpp version.

Q: Which Oat++ API to choose, Simple or Async?

Always choose Simple API wherever possible. Simple API is more developed and makes the code cleaner.

Async API is designed for small, specific tasks that run at high concurrency levels ex.:

  • Serving file downloads to a large number of concurrent users (1K users and more).
  • Streaming to a large number of clients (1K or more).
  • Websocket Chat servers.

For all other purposes use simple API.

Examples

REST-API

  • REST Service - A complete example of a "CRUD" service (UserService) built with Oat++. REST + Swagger-UI + SQLite.
  • REST Client - Example project of how-to use Retrofit-like client wrapper (ApiClient) and how it works.

WebSocket

  • Can Chat - Feature-complete rooms-based chat for tens of thousands users. Client plus Server.
  • WebSocket - Collection of oatpp WebSocket examples.
  • YUV Websocket Stream - Example project how-to create a YUV image stream from a V4L device (i.E. Webcam) using websockets.

Databases

  • SQLite - A complete example of a "CRUD" service. REST + Swagger-UI + SQLite.
  • PostgreSQL - Example of a production-grade entity service storing information in PostgreSQL. With Swagger-UI and configuration profiles.
  • MongoDB - Example project how to work with MongoDB using oatpp-mongo mondule. Project is a web-service with basic CRUD and Swagger-UI.

IoT

  • Example-IoT-Hue - Example project how-to create an Philips Hue compatible REST-API that is discovered and controllable by Hue compatible Smart-Home devices like Amazon Alexa or Google Echo.

Streaming

  • HTTP Live Streaming Server - Example project on how to build an HLS-streaming server using Oat++ asynchronous API.
  • YUV Websocket Stream - Example project how-to create a YUV image stream from a V4L device (i.E. Webcam) using websockets.

TLS

  • TLS With Libressl - Example project how-to setup secure connection and serve via HTTPS.

Microservices

  • Consul Integration - Example project on how to use oatpp::consul::Client. Consul integration.
  • Microservices - Example project on how to build microservices with Oat++, and example on how to consolidate those microservices using monolithization technique.

Asynchronous API

  • Async Service - Example project on how to use asynchronous API to handle a large number of simultaneous connections.

Do not miss the trending, libraries, news and articles with our weekly report.

Awesome C++ is part of the LibHunt network. Terms. Privacy Policy.

(CC)
BY-SA
Spin The Wheel Of Names for a cryptographically secure random name picker.
Schedule a when to meet poll.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.