Web Development Tools

new technology induction

  • Review developercase.wordpress.com on alexa.com

PHP Server Side Scripting

Posted by Ravi Saxena on June 1, 2011

Reasons for the rise in PHP based applications:
Companies are shifting their web-related applications to pure PHP as it comes to us as an Open Source complete package. Now the frameworks in PHP are becoming more rich and robust as far as security is concerned due to the policy in practice.

PHP stands for recursive “Pre Processor PHP”. It is basically used for Server side scripting and can be fine tuned, optimized to interact with client side objects.
Also all the related packages are open source, viz. Apache, MySQL.

Minimum requirements for installing and using PHP:

1) The best way is to use the self extractable files if trying to install PHP on Linux based OS. On Windows one can use WAMP or XAMP to install the package in a jiff.

2) Getting started with your first MySQL connectivity:

$con = mysql_connect(“localhost”,”root”,””);
if (!$con)
{
die(‘Could not connect: ‘ . mysql_error());
}

mysql_select_db(“developercase”, $con);
$sql=”select * from mapsgateway”;
$result = mysql_query($sql);

Keep the root user password as blank.

3) PHP has no limitations in paradigm of the programming which has both side effects:

The power of PHP strength is in the simplicity of its use but requires self discipline from the programmers’ side and thereby providing the complete flexibility in programming. In case of popularity all over the world, PHP has left .NET, .ASP, Ruby, etc all far behind and is competeing with the much advanced security mechanism of JSP. In short PHP is going to engulf more than half of the SMB. Due to open source codes, the frameworks are freely distributable which again marks the beginning of new innovative and further development.

Leave a comment