Roy Tang

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Blog Notes Photos Links Archives About

Someone on quora asked:

What do web developers mean when they say back-end?

The difference between front-end and back-end is on which side executes the relevant code. HTML, JS and CSS are all interpreted, rendered, and in the case of JS, executed by the client browser. These parts are the front-end. The code for those parts is basically meaningless to the server. The server program looks at these parts and only sees simple text and just sends it through to the browser (or whatever client program made the request)

For example in a *.php file, anything outside the <?php ?> brackets is not interpreted by the PHP runtime, they are just returned to the browser as-is. The server does not “load the HTML for the user”, it simply returns the HTML code to the browser and the browser loads that HTML and displays the rendered HTML.

Posted by under notes at #answers
Also on: quora / 0