Oat++
drogon
Oat++ | drogon | |
---|---|---|
24 | 18 | |
8,022 | 11,810 | |
1.1% | 1.4% | |
8.0 | 8.6 | |
6 days ago | 6 days ago | |
C++ | C++ | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Oat++
-
Serving Static Files and Single Page Applications on Oat++ (OatPP)
Oat++(OatPP) is a lightweight C++ Web framework. Out of the box, it provides REST API with built-in JSON serialization/deserialization features, which could be interfaced with your DTOs.
-
Installing and Using The OatPP (Oat++) Library
mkdir temp && cd temp git clone https://github.com/oatpp/oatpp.git
-
Experience using crow as web server
I looked at oatpp and drogon, which are both great, but feel too high-level for my purposes. I tried drogon and got something working, but it feels like too much for my requirements, as in particular I'd like to slot in my choice of Json and message-body handling. C.f. the simple approach in Crow, which I easily understand and build on.
-
What isn't cpp used on web servers as much as other languages?
With the right libraries, C++ could be a good fit for applications that want to expose a fast web API to things that need lots of compute (simulators, for instance) or I/O (interactive editing of large datasets). Projects like Oat++ and Crow give me hope that we might see such an ecosystem develop.
-
REST APIs using C++. (Is this even done much?)
Lots of other options have been mentioned, but I'll throw Oat++ into the mix. I used it for this purpose and it was reasonably painless.
- C/C++ framework for REST API implementation
-
People talking about C++ and Java as bad languages. Let me introduce to you: Java++
https://github.com/oatpp/oatpp +WASM ;)
-
Server with oat++. Installation. CmakeLists.txt
cd "some/temp/path/for/repositories" git clone https://github.com/oatpp/oatpp.git cd oatpp mkdir build && cd build cmake .. (sudo) make install
-
How to use C++ as the backend for web dev?
Maybe use something like https://oatpp.io to create a REST API: C++ in the backend with this library to create a REST server, and the JavaScript/TypeScript frontend to ask for the information.
-
making a web server in c++?
I've used OATPP ( https://github.com/oatpp/oatpp ) which worked nicely for setting up simple rest interfaces. Supports things like swagger & websockets out of the box. It's also on Conan which is nice if you use cmake. I can't speak to it's performance but it has about a 1mb binary size footprint.
drogon
-
Experience using crow as web server
I looked at oatpp and drogon, which are both great, but feel too high-level for my purposes. I tried drogon and got something working, but it feels like too much for my requirements, as in particular I'd like to slot in my choice of Json and message-body handling. C.f. the simple approach in Crow, which I easily understand and build on.
-
Dobri projekti na Githubu za ucenje
drogonframework/drogon i drogonframework/trantor
-
Ask HN: Easiest and cheapest full-stack frameworks that you love?
talking about C++, there are drogon framework: https://github.com/drogonframework/drogon
not bells and whistles like on Wt as there are no integrated widgets. But have c++ based template (for HTML) engine and other integrated parts what you expect from framework (routing, controllers, db, authentication handling and so on).
and boasts high performance design
-
Lies we tell ourselves to keep using Golang
C++ - my favorite language, and, with modern revisions, extremely expressive and readable. There isn't a web server in the standard library, but there are a number of solid open-source choices (e.g., Drogon).
-
Cppfront, Herb Sutter's proposal for a new C++ syntax
> * Let’s not pretend all conceivable applications are, or should be, written in C++.*
This is a discussion on C++.
> People mostly stopped using C++ to develop web servers which handle web requests, because they moved to Java, C#, PHP, Ruby, Python, etc.
I'm not sure you understood what I said, or thought things through.
By the way, the top performing web framework in the Tech Empower benchmark is a C++ framework which uses C++'s standard smart pointers.
https://github.com/drogonframework/drogon
Also, one of the most popular web frameworks for Python started off as an April Fools joke. I'm not sure what's your point.
Lastly, the main reason why C++ ceased to be the most popular choice in some domains was because it was during a very long time the most popular choice in some domains, and still remains one of the most popular choices. Some of the reasons why C++ dropped in popularity is the fact that some vendors decided to roll their own alternatives while removing support for C++. Take for instance Microsoft, which was once responsible for making C++ the only tool in town for professional software development. Since it started pushing C# for all sorts of web applications, multi-platform applications, and even desktop applications, and also pushing the adoption of those technologies as a basic requirement to distribute apps in its app store, developers can only use technologies that exist. But does that say anything about the merits of C++?
-
What library/framework to use for writing a Web server?
https://github.com/drogonframework/drogon has the best performance afaik
-
Hmm
Drogon is a framework for doing web backend in c++ but it is nowhere near on the level of something like Django in terms of ergonomics. In terms of Rust, Rocket is trying to be the easy to use framework with low boilerplate.
-
Programming languages endorsed for server-side use at Meta
> How would one go about building a rest service in C++?
I'd use https://github.com/drogonframework/drogon if the app needs to be pure C++ or Cutelyst (https://cutelyst.org/) if it's a Qt app which needs to expose an http server
-
Built my first project with rust!
About the project - I was trying to find the perfect reliable and performant rust's web framework to use for one of my personal project, and since I've been using Drogon/uWebSockets previously, I wanted to choose the best one to replace it. So I decided to create a benchmark system that is fully automated.
- Which library canI use for rendering html??
What are some alternatives?
Crow - Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)
Boost.Beast - HTTP and WebSocket built on Boost.Asio in C++11
drogon - Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon]
POCO - The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
Pistache - A high-performance REST toolkit written in C++
trantor - a non-blocking I/O tcp network lib based on c++14/17
Crow - A Fast and Easy to use microframework for the web.
cppcoro - A library of C++ coroutine abstractions for the coroutines TS
Boost.Asio - Asio C++ Library
restclient-cpp - C++ client for making HTTP/REST requests
Wt - Wt, C++ Web Toolkit
C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.