News for hackers. Stuff that matters.
Re:Show HN: Light and Powerful Web-Framework for C++ by lganzzzo on Tuesday January 28, 2020 @03:59AM (#22167664)
It's fully open-source. Licensed under Apache-2.

Github - https://github.com/oatpp/oatpp

Re:Show HN: Light and Powerful Web-Framework for C++ by itm on Tuesday January 28, 2020 @01:57PM (#22172810)
Could you please tell how it compares to Wt? (https://www.webtoolkit.eu/wt)
Re:Show HN: Light and Powerful Web-Framework for C++ by lganzzzo on Tuesday January 28, 2020 @03:14AM (#22167450)
Version 1.0.0 is finally released. Questions and comments are welcome!
Re:Show HN: Light and Powerful Web-Framework for C++ by billconan on Tuesday January 28, 2020 @03:17AM (#22167466)
does it support http2?

How to implement server side rendering using a non-javascript backend?

Re:Show HN: Light and Powerful Web-Framework for C++ by lganzzzo on Tuesday January 28, 2020 @03:21AM (#22167492)
Thanks for the question,

Work on Http2 is planned for this year. Not implemented yet.

Currently supported protocols:

- HTTP1.1

- Websocket

> How to implement server side rendering using a non-javascript backend?

Oat++ is focused on serving APIs. It has no server-side module at the moment. And it's not currently planned in the future.

Re:Show HN: Light and Powerful Web-Framework for C++ by 72deluxe on Tuesday January 28, 2020 @06:02AM (#22168228)
So this is for the client??

I only ask because the homepage "Handle over 5 Million simultaneous connections on a single server." implies that it is for the server... ?

Re:Show HN: Light and Powerful Web-Framework for C++ by groomed on Tuesday January 28, 2020 @06:18AM (#22168333)
It is web client and web server. I guess he meant that the main purpose of the server is to serve API requests. not web pages
Re:Show HN: Light and Powerful Web-Framework for C++ by 72deluxe on Tuesday January 28, 2020 @09:13AM (#22169510)
Ah that makes sense, thanks. I guess there's no reason it can't serve pages because it is just "text" being returned after all!