Can somebody explain me a bit of backend? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can somebody explain me a bit of backend?

I know how to code but all i know is how to make the visual area , i watch something about backend it's a "hiden" language? Because somebody tould me conect directly the dataset with my frontend is dangerous

5th Nov 2019, 3:44 AM
Jorge Corante
Jorge Corante - avatar
7 Answers
+ 8
The back-end processes information coming in from the client side, processes it and sends the processed information back to the client as well as serving the requested pages. Database interaction also occurs on the back end.
5th Nov 2019, 5:16 AM
Sonic
Sonic - avatar
+ 3
When you access a webpage, it is transmitted to your computer from a web server, and displayed in your web browser. The browser can actually run javascript code that is embedded in or linked to the webpage. This is called frontend, because it happens at the user's side. The back-end is the server that sends you the webpage. If the page is dynamic, it can be assembled on-the-fly whenever it is retrieved, to contain information that is relevant to the context. Example, when you go to 'my codes' on sololearn, every user sees a different list of codes. Database connections typically happen at the backend, because they require authentication, that could pose a security risk, if that's handled from the user's computer.
5th Nov 2019, 5:23 AM
Tibor Santa
Tibor Santa - avatar
+ 1
Jorge Corante if you mean a mobile app, you download it from the play store / app store once, that is a server (or group of servers) operated by Google or Apple. But then, if the app is doing something online, then typically it communicates with another server (network computer) that is operated by the app publisher company. Like Facebook or Twitter or anything else.
5th Nov 2019, 6:11 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Jorge Corante I will give you a different answer to what Tibor Santa said, as you may be thinking from a different perspective. an app or program also has a frontend and a backend, but it's different to websites and web servers. in a native program, the frontend is the User Interface, I just prefer to call it the GUI (graphical user interface) as most ppl don't want to make command line apps any more. so what is the backend of a native app then? it is all the code you write to make your program _do_ things. a native app has a lot of code, but you can think about that code being split into 2 major sections: front end and back end, or: 1. code that builds and shows the GUI 2. code that handles events the user triggers (clicking on parts of the GUI, typing things etc) and code that processes the data the app uses. so there you have frontend and back end of a native app too.
5th Nov 2019, 6:33 PM
Nathan Stanley
Nathan Stanley - avatar
+ 1
back end languages like nodejs java and python are the intermediary between the database and the browser. they can do several things. read and write to file read and write to a database create servers retrieve information from a database and upload it to the server gather system information provide back end services etc
6th Nov 2019, 7:51 AM
Logomonic Learning
Logomonic Learning - avatar
0
Maybe this is a bad question , but an app have a "server" or the playstore is the server?
5th Nov 2019, 4:40 PM
Jorge Corante
Jorge Corante - avatar
0
In front-end you design the form. In back-end you make the form to do something when user interacts.
6th Nov 2019, 5:15 PM
Pedram Negahbanaghdami
Pedram Negahbanaghdami - avatar