JavaScript is a high level, often just in time compiled language that conforms to the ECMAScript standard. It has dynamic typing, prototype based object orientation, and first class functions. It is multi paradigm, supporting event driven, functional, and imperative programming styles. It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).
Instead of building your own system for creating web pages, storing images, and other functions, the content management system handles all that basic infrastructure stuff for you so that you can focus on more forward facing parts of your website.
PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable. On a web server, the result of the interpreted and executed PHP code – which may be any type of data, such as generated HTML or binary image data – would form the whole or part of an HTTP response.
The frontend is the content management application. It enables writers, editors, and project managers to work seamlessly without the need to code. The backend is the content delivery application, which is used for publishing and displaying the content in various formats based on the CMS.