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.
With Php, you can add unlimited additional features to your Website or Web Page, such as Forms, Sliders, Galleries, Posts and even Chatrooms.