游戏服务器控制面板

人气:442 发布:2022-09-22 标签: php perl json c++

问题描述

大家好,简单控制面板的最佳语言是什么(启动/停止流程)? 我见过大多数人使用PHP和Perl,但我很难使用此库在C ++中执行RPC Json服务器: https://github.com/cinemast/libjson-rpc-cpp [ ^ ] 这是一个好主意吗?

解决方案

了解更多有关要求将有助于决定使用什么作为服务器端和客户端语言+ Web服务器,如果你想要一个Web应用程序。将webserver + webapp + clientside_code组合在一起的可能解决方案是无穷无尽的,每个解决方案都有自己的优点和缺点。如果当前的要求基本上只是一个按钮来启动/停止服务器端的进程,那么无论你使用什么,只需完成工作。 直到放一个如果您发现未来的计划更适合另一种解决方案,那么您可以决定改变整个架构。任何未来的计划? 我的纯粹意见:如果你想学习一个很好的跨平台通用脚本语言,那么python是比Perl或PHP更好的选择。

Hello everyone, what would be the best language for a simple control panel (start/stop a process)? I've seen most of the people use PHP and Perl, but I tough about doing a RPC Json server in C++ using this library: https://github.com/cinemast/libjson-rpc-cpp[^] Would that be a good idea?

解决方案

Knowing more about the requirements would help a lot in deciding what to use as a server side and client side language + web server if you want a web app. The possible solutions to put together a webserver+webapp+clientside_code is endless, each solution having its own advantages and disadvantages. If the current requirement is basically only a button to start/stop a process on server side then its no matter what you use just get the job done. Until putting a lot of effort to implement a lot of functionality into your server you can decide to change the whole architecture if you find out that your future plans fit another solution better. Any future plans? Just my pure opinion: If you want to learn a nice crossplatform general purpose scripting language then python is a better choice than Perl or PHP.

627