Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 19
It's a good question. Both frontend and backend can be any programming language and language doesn't matter for communication between them. In order for communication to happen both frontend and backend first agree that we will use same communication protocol. Most commonly used one is HTTP. Think of http as nothing but a common letter writing format and the HTTP request/response format helps achieve that communication between the two. Every programming language will have a http library through which it can support communication . There are other communication protocols as well. This one's a helpful article on http and understanding communication. https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview
15th Feb 2020, 3:27 PM
Morpheus
Morpheus - avatar
+ 8
They don't communicate. The backend spills out frontend. Like playing cards, I have five cards on hand, I don't communicate with my cards, I just choose which one to play. I am the backend, the cards are the frontend. Learn Node.js Here is a list of resources https://medium.com/@neetishop/best-learning-path-to-master-nodejs-97d25d53b763
15th Feb 2020, 12:30 PM
Gordon
Gordon - avatar
+ 3
What do you mean how they communicate? Every changing in backend affects frontend. Some changes in front end can affect some of backend. Frontend sends and retrieves data from backend.
15th Feb 2020, 11:39 AM
Black Winter
+ 2
It doesnt matter if they are in different languages . Programming languages can be mixed.
15th Feb 2020, 11:50 AM
Black Winter
+ 2
Each developer works his own editor or share the same with different accesibilities. For example a wordpress website has an administrator panel where authorized users have access and make changes and manage the site. Backend developers can write code in any editor and transfer it (as scripts) into admin panel. Frontends in sites rarely write code or write some lines of code only. They usually make changes by using the gui of the site administator page. Check this link: https://www.sololearn.com/Discuss/1654484/understanding-backend-vs-frontend/
15th Feb 2020, 12:13 PM
Black Winter
+ 2
You try with node.js it Will running
16th Feb 2020, 3:06 AM
Andri Ekayani
Andri Ekayani - avatar
+ 2
I think Backend code is built to be running on a server and it's never running on the user's machine frontend web application which are intended to be used directly by the the user's browser.
17th Feb 2020, 5:37 AM
Deepak Jaiswar
Deepak Jaiswar - avatar