• What should I use for a webserver's backend?
    6 replies, posted
Im pretty new to web development, I made a website a while ago (A giveaway one) that was done using PHP but I dont think PHP can do what I need it to. I Have a game that is multiplayer but I want to match people on the website (Kind of like how faceit.com does it with CSGO). I need to know which players are search, Match them in real time and I also need it to monitor certain things that are happening on the VPS too. Do you have any good suggestions for a bigger to use that is capable of doing these tasks? Thanks in advance. (Oh also im not doing the front end someone else is, So it needs to be easy to integrate onto there code , Sorry if that sounded dumb)
If you got the time, Do it in Node.JS
[QUOTE=Evanstr;50246594]If you got the time, Do it in Node.JS[/QUOTE] I did play around a little bit with it, But I was confused on how to insert data into the page, And how to handle requests properly. Do you have any good starting documentation etc for it? Thanks.
check out [url]https://github.com/workshopper/learnyounode[/url] for node, also look into express
What kind of stuff do you need to monitor on the VPS? Since it's for a multiplayer game, which usually means serving and handling lots of simultaneous requests I would recommend using [url=https://golang.org/]Go[/url] and exposing an API for the frontend using [url=https://github.com/labstack/echo]echo[/url], [url=https://github.com/gin-gonic/gin]Gin[/url] or the built-in router.
Build a game data server using PHP If you're into stupid and sadistic stuff
Pretty much anything would be able to do what you're trying to do. But personally I think PHP is yucky and outdated. Like another guy said, go for node or try rails if you wwant. It doesn't really matter what you choose, but I think it comes down to language preference. If you like Javascript, go for node, if you like ruby, go for rails.
Sorry, you need to Log In to post a reply to this thread.