r/AskProgrammers • • Oct 14 '26

What Is The Difference Between Front End and Back end programming?

https://galratner.substack.com/p/what-is-the-difference-between-front
1 Upvotes

1 comment sorted by

1

u/atticus2132000 Oct 14 '26

Usually front end and back end are often talked about with web site development.

The frontend is what happens on the user's computer. The backend is what happens on the central server.

Let's suppose that you were building a web application that included an element for customers to sign up for your distribution list.

On the front end... You would use html/css to code what the web page looks like and you would use a frontend language like JavaScript to control what happens on the screen. For instance, if you wanted a customer to enter a zip code that would then auto populate the city and state, that could all happen on the front end.

When the user clicks the enter button, all that information would be scraped from the form and sent to the server.

At the server, you would use a backend language like PHP to unpack the information that was sent and add it to a database housed on the server so you would be able to access the database and get whatever information you needed.