
JavaScript
An example of a back-end language is PHP, which is a scripting language. When a PHP page is requested, the server reads any PHP code and renders the markup. The result is HTML that is sent to you. You, the web page viewer, never see one line of PHP code. Assuming that the web server administrator has done his or her job correctly, the server would and could never show you the actual PHP code. It is parsed when the page is served up and the result of that code are turned into HTML.
Front End Programming LanguagesJavaScript is probably the most commonly used front-end web development language. It is a scripting language and unless you explicitly have
JavaScript disabled in your browser, you see and interact with
JavaScript every day. When you request a web page, the
JavaScript is either in the page, or is downloaded in a separate file.
JavaScript runs in your browser. Most associate
JavaScript with the annoying pop-up ads that we all find very annoying. This was true in the past, but today,
JavaScript plays an integral part in creating rich user experiences.