Introduction - If you have any usage issues, please Google them yourself
Use thrift, websocket in javascript and cpp invocation mechanism established between rpc. If you want to use js+html to write interface, cpp to write the underlying business logic, which is very useful. Of course, if the underlying cpp not to write, you can also refer to the code of the js on thrift rpc package.