jump to navigation

What is PHP June 3, 2009

Posted by dilini7 in Workshop.
trackback

PHP is a widely-used general-purpose scripting languge that is specially sited for web development and can be embedded into HTML. You can visit PHP.net for more information.

PHP is a server-side scripting language  and its scripts are executed on the server. Beauti of PHP is it is free to download and use as it is an open source software. PHP files can contain text, HTML tags and scripts moreover it supports many databases such as MySQL, Informix, Oracle, Sybase, Solid, PostgresSQL Generic ODBC, etc.

Comments»

1. PHAM VU DUNG - June 7, 2009

Hi Dilini,
What are the advantages and disadvantages of PHP over other Web scripting languages such ASP.Net?

In which scenario should we use PHP in stead of other such as Java or ASP?

I’ve got something to share with you here:

http://www.designersplayground.com/articles/118/1/The-Advantages-of-PHP/Page1.html

http://www.oracle.com/technology/pub/columns/hull_php2.html

http://bytes.com/groups/php/771942-advantages-disadvantages-php

http://webhostinginformation.net/disadvantages-of-php-hosting/

Thanks!
Vu.

dilini7 - June 8, 2009

PHP is open source programming language therefore it is freely available to anyone that is the main advantage of PHP over other web scripting languages. Web programmers who familiar with C,C++ or Java are frequently opt PHP script that can be programmed in few hours easily. PHP is designed specifically for web development gives it an edge as a development tool, remarked by the popular intranet Design Magazine. PHP is built with the needs of Web developers and this script solves complex problem scenarios faster and easier than comparable technologies. Most of the web programmers are utilising PHP scripts because of its simple and easy nature. PHP is much easier to learn, partly because it requires no adherence to a particular programming style; .Net languages and Java tend to require object-oriented programming. PHP runs on virtually any operating system (including Linux and FreeBSD, the workhorses of affordable Web hosting) and HTTP server (which means that you can develop on WIndows/IIS and host on BSD/Apache); .Net runs only on Windows/IIS, while Java requires an application server (Tomcat, WebSphere, WebLogic, etc.), some of which are OS-dependent. Additionally, Java code may not always be portable between different application servers. PHP natively integrates with a large array of database engines, both open-source (MySQL, PostgreSQL, SQLite) and commercial (Oracle, MS SQL Server); .Net tends to work better with MS SQL Server and draw on ODBC for database connectivity with other engines, while Java relies on JDBC drivers for database connectivity.