Why we use PHP ?


There are number of arguments to go in favour of PHP:-


  • PHP is open source:- This means PHP is completely, 100% free. You just install it on your PC and you can start to develop web application.
  • PHP is unrestricted:- You can use it in any way you can think of and nobody will come along to tell you can’t do that. That goes for a lot in a fluid field, like web design is.
  • PHP will help you cut on your expenses:- When using .NET or other language, you need to pay extra for the server and to purchase software licence. This is not the case with PHP, where you can use Linux or Apache servers for free and cut your overhead expenses while you’re at it
  • PHP supports many database options:- from MSSQL and IBM to DB2 and Oracle OC18 My SQL.


What can PHP do ?


Anything that you want to do on a web server, you can do with PHP.
  • Make a blog.
  • Create a full fledged software-as-a-service application
  • Write a script to process some data in a few seconds.

There are three main areas where PHP script are used :-

  1. Server side scripting:- It is a method of designing websites so that the process or user request is run on the originating server. Server-side scripts provide an interface to the user and limit access to proprietary data and help keep control of the script source code.
  2. Command line scripting:- There is no need any server and web browser to run. You only need the PHP parser to use it this way.t
  3. Writing desktop applications:- PHP is probably not the very best language to create a desktop application with a graphical user interface, but if you know PHP very well, and would like to use some advanced PHP features in your client-side applications you can also use PHP-GTK to write such programs applications.