Web application C++ server and React JS face
-
Hi
Why not just test it out? if easy and fast to get up and running, that could give it +1 in terms of being suited for
a 1 page web app. :) -
Hi,
It depends on what you need to do with your application. It might be overkill to put in place.
-
Likely because most of the web sites are powered either by apache2 or nginx or a combination of both which are pretty well established for that kind of task. The new kid on the block being node.js.
The questions you should ask yourselves is:
- What do you want to show to your users ? (table, basic editor etc.)
- How do you want to manipulate your data ?
There are currently several frameworks that could be used from basics to pretty complex and advanced.
-
@Kofr One of the C++ based web dev. framework explains:
http://cppcms.com/wikipp/en/page/when_to_use_cppcms
http://cppcms.com/wikipp/en/page/main -
(I'm not a web developer, but work with them, so take this as an opinion, not proper advice)
The realtime collaboration you mention probably requires running javascript on the browser. It probably also means running things with web sockets.
Socket libraries exist for a wide variety of platforms (Qt has them too), but as the frontend needs javascript, it might be easiest to use the same language all around.On the other hand, if you already have a web server in C++, extending that with web sockets shouldn't be too hard with a suitable library. That just leaves the browser end.
So it comes down to the usual two questions:
- What language do you want to do this in (especially if it is not work, where you might have the language selected for you)
- Are you happy supporting your selection for the lifetime of the project