Monday, September 7, 2009

PHP how to start?

What is PHP?

PHP originally stood for Personal Home Page.PHP is a widely used, general-purpose scripting language that was originally designed for web development, to produce dynamic web pages. It can be embedded into HTML and generally runs on a web server, which needs to be configured to process PHP code and create web page content from it. It can be deployed on most web servers and on almost every operating system and platform free of charge. PHP is installed on over 20 million websites (e.g. ) and 1 million web servers.


Originally designed to create dynamic web pages, PHP now focuses mainly on server-side scripting, and it is similar to other server-side scripting languages that provide dynamic content from a web server to a client, such as Microsoft's Active Server Pages, Sun Microsystems' JavaServer Pages, and mod_perl. PHP has also attracted the development of many frameworks that provide building blocks and a design structure to promote rapid application development (RAD). Some of these include CakePHP, Symfony, CodeIgniter, and Zend Framework, offering features similar to other web application frameworks.

How to write PHP code?(Syntax)

PHP only parses code within its delimiters. Anything outside its delimiters is sent directly to the output and is not processed by PHP. The most common delimiters are to close PHP sections. delimiters are also available, as are the shortened forms as well as ASP-style short forms . While short delimiters are used, they make script files less portable as their purpose can be disabled in the PHP configuration, and so they are discouraged. The purpose of all these delimiters is to separate PHP code from non-PHP code, including HTML.
Finally how to start?

The best way to start is to download the XAMPP php control panel. XAMPP automatically installs and controls the php needed services like the Apache server and the Mysql RDBMS(Relational Data Base Management Systems) these features are recommended to create a web application using the PHP language. download XAMPP

No comments:

Post a Comment

Search This Blog