Let me teach about PHP in easy steps. First of let me explain what is Programing Language.
“ A Programing language is artificial language used to express computer that can be performed with a machine, particularly Computer.”
- PHP is recursive acronym stands for Personal Home Page, it is now said to stand for PHP: Hypertext Preprocessor
- PHP Is used for developing 3 types of applications
- Command Line scripting
- Desktop (or) GUI
- Web Applications
- The main purpose of introducing PHP is to develop Web applications.
- PHP programs saved with an extension of .PHP
- Actually all the web applications runs in an request and respond mechanism (or) client server mechanism.
- The Programs which present in the client machine are sending requests to the server and getting response from server is called client side programs.
examples: Firefox, Chrome, Internet explorer
- All the PHP programs gets executed in server and will give a response back to the client (Browser) in pure HTM format.
- Every PHP program contains HTML Tags plain text and PHP scripts.
- A web server is an application running in the server machine.
- PHP programs can be Placed in most of web servers.
Example: IIS, Apache, NGINX
- PHP can run almost any Database.
- PHP is platform independent.
- At the time of PHP script execution in webserver the PHP script converts into “opcode” (Operational code) and send it to interpreter.
- The PHP interpreter is ZEND it is also called PHP parser.
- This Interpreter converts the “opcode” to HTML.
- For more details about History Click here for Wikipedia.
- On Next Class we will discuss about Instalation of PHP.