Wednesday, 20 August 2014

Know something about PHP.
Lets begin..

PHP


PHP -> Personal Home Page ( Former Abbreviation ).
PHP -> Hypertext Pre Processor (Currently Known Abbreviation )

-The latest Abbreviation was coined after the version 3 of the PHP which is a Reverse Acronym.
-PHP is an interpreted high-level programming language.It was first appeared in 1995.PHP was founded by Ramus Lerdorf.
-It is extremely well documented, well supported and an open source language with cross-platform support.
-And is absolutely FREE!!! Hope now someone get attracted to this.Specially Women :p

SERVER :
    * Every tech guy should know what the f*ck is a Server.Let me figure out it.

    A piece of software or hardware that Listens for specific requests and responds to them in a predefined fashion.

   Servers always have two types of nodes, 1. Hardware Node and  2. Virtual Node.
   Types of servers :  1.Web Server.
                                2.Database Server.
                                3.FTP Server.
                                4.Mail Server.

CLIENT :
    
    *A piece of software or hardware that sends out request and computes the response in a predetermined fashion.

API :
     
    *Application Programming Interface - Allows various programs to communicate /interacts through  a known communication method.

HTTP : 

    -As all knows, Hyper Text Transfer Protocol.
    -A standard for communicating over the web that's universally agreed upon.

   FAQ-"Why did the Admin added these above (Server,HTTP,API,Client),during the PHP blog".

    Ans- " PHP will work only if all the above combines.Without a server ,PHP could not even run on your PC.For an instance say Apache Server from Microsoft ."

How PHP Works ? 

------------------------------                                          ----------------------------------------------  
       <html>                                                                                       <html>
       <body>                                                                                       <body>
     <h1>Hello World </h1>                                                                 <h1>Hello World </h1>
     <p> Hi,                                                                                          <p>Hi, Maheshkrishna </p>  
     <?php                                                                                            <./body>
     echo $name;                                                                                   </html>
     ?>
     </p>
     </body>
     </html> 
-----------------------------                                            ---------------------------------------------
         |                                                                                                              |
         |                                                                                                              |
         |                                                                                                              |
         |            The code gets parsed by the PHP interpreter.                              |
         |-------------->------------------------>----------------->--------------|


3 PILLARS OF PHP :

      
              -------------------                         ---------------------                    ---------------------
              |      Zend Engine   | --------->        |    PHP Extensions  |------->      |    Server API          |
              -------------------                         ---------------------                    ----------------------  

    * Zend Engine is called the PHP Core.
    * PHP Extensions consists of the PHP Modules.
    * Server API is the PHP SAPI.

Thank You!!!

    
Categories:

0 comments:

Post a Comment

Follow me on Twitter!