javascript - What do back end/server-side languages actually do? -
after grasping fundamentals of html, javascript (frontend) , css, wanted learn backend programming, is, languages do, etc. unfortunately couldn't find sources of information (links welcome!). have few questions.
i confused backend programming in general. exaclty needed create web app or multiplayer web game.
for example, if learned node.js need learn mysql/sql create multiplayer game (air hockey game player profile) .
what python/php?
i don't understand roles languages play in end.
e.g: if wanted have global hi-score menu on game.
※would have have database?
※would have use end language?
- i have heard socket.io website not helpful people don't know stuff (like me!) don't have idea - framework, plugin, language etc. - or does. - on website says:
socket.io enables real-time bidirectional event-based communication.
i have no idea means! explanation helpful!
※ need end programming language or node.js use socket.io?
i feel these important things unfortunately many (well @ least me) people have started learn javascript or other languages not understand. thanks!
i suggest start learning php or - if familiar javascript , event-driven architecture - node.js.
there many step-by-step-guides , manuals both.
here 2 of them:
before start learn webservers , on, should understand website is, webserver , does, , database , does.
the questions should try answer like:
- where comes website (who generates , send it)
- how comes me (my browser)
- what browser do
- how content generated dynamically
- what web server (e.g. apache)
if know these (and more) basics it's easier start learning server sided languages php
let's try answer current questions:
for example, if learned node.js need learn mysql/sql create multiplayer game (air hockey game player profile) .
no. use things mongodb / postresql / text files. yes, should know, how use data storages.
what python/php?
these script languages can use server sided programming (scripting). don't have learn them. use node.js.
i don't understand roles languages play in end.
please refer wikipedia.
e.g: if wanted have global hi-score menu on game. ※would have have database?
you should have database
※would have use end language?
yes.
[...] have no idea means! explanation helpful!
then shouldn't try use it. helps communicate on called sockets. client (web browser) communicate server, e.g. nodejs (socket.io supports not javascript) on kind of channel.
※ need end programming language or node.js use socket.io?
yes. communicate socket on external systems without creating own one.
Comments
Post a Comment