21

Why to use PHP

Embed Size (px)

Citation preview

Page 1: Why to use PHP
Page 2: Why to use PHP

PHP For Beginners

Page 3: Why to use PHP

PHP is an open source object oriented programming language.

PHP is server side scripting language. Easy to learn. Syntax similar to C language. Easily embedded into HTML to create

dynamic web page contents.

About PHP

Page 4: Why to use PHP

Website development. Command line scripting. Writing desktop applications.

Use of PHP

Page 5: Why to use PHP

Linux. Microsoft Windows. Mac. And many others.

Operating Systems

Page 6: Why to use PHP

Apache . Microsoft Internet Information Server. And many others.

Webserver Support

Page 7: Why to use PHP

Outputting XHTML and XML files. Outputting images, pdf files, Flash

movies, etc.

Abilities of PHP

Page 8: Why to use PHP

MySQL MS-SQL InterBase Oracle SQLite PostgreSQL And many others.

Database Support

Page 9: Why to use PHP

PHP supports Open Database Connection standard.

Easily connect to database supporting these standards.

ODBC Support

Page 10: Why to use PHP

String functions Array functions Date functions Math functions

Large Number of Built-In Functions

Page 11: Why to use PHP

Joomla Drupal Coppermine Photo Gallery Wordpress Blog

Popular Open Source Applications

Page 12: Why to use PHP

Popular Frameworks

Cake PHP Zend Framework Symfony CodeIgniter

Page 13: Why to use PHP

www.yahoo.com www.facebook.com www.amazon.com www.digg.com www.wikipedia.org

Popular Sites Using php

Page 14: Why to use PHP

How To Use PHP

Page 15: Why to use PHP

Download from http://www.php.net/downloads.php

Use XAMPP or WAMP which has Apache, MySQL and PHP in built.

Installation

Page 16: Why to use PHP

Scripting block starts with <?php and ends with ?>

Example

Syntax

Page 17: Why to use PHP

Use // for single line comment /* */ to make large comment block. Example<?php

//This is a comment

/*This isa commentblock*/

?>

Comments in PHP

Page 18: Why to use PHP

Start with $ sign follwed by variable name.

Variable name starts with (_) underscore or letter.

Example : $name, $_name, etc

Variables

Page 19: Why to use PHP

Popular Sites to Learn PHP

http://www.php.net/manual/ http://www.tuxradar.com/practicalphp http://www.homeandlearn.co.uk/php/

php.html

Page 20: Why to use PHP

http://www.wikipedia.org PHP Manuals

References

Page 21: Why to use PHP