WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

10
WHAT IS PHP PHP is an HTML- embedded scripting language primarily used for dynamic Web applications.

Transcript of WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

Page 1: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

WHAT IS PHP

PHP is an HTML-embedded scripting language primarily

used for dynamic Web applications.

Page 2: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

Key FeaturesWhat is PHP?PHP stands for PHP: Hypertext PreprocessorPHP is a server-side scripting language, like ASPPHP scripts are executed on the serverPHP supports many databases (MySQL, Informix,

Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)

PHP is an open source softwarePHP is free to download and use

Page 3: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

WHAT IS PHP FILE?What is a PHP File?

PHP files can contain text, HTML tags and scripts

PHP files are returned to the browser as plain HTML 

PHP files have a file extension of ".php", ".php3", or ".phtml"

Page 4: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

PHP runs on different platforms (Windows, Linux, Unix, etc.)

PHP is compatible with almost all servers used today (Apache, IIS, etc.)

PHP is FREE to download from the official PHP resource: www.php.net

PHP is easy to learn and runs efficiently on the server side

Why PHP?

Page 5: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

Basic RequirementsTo get access to a web server with PHP

support, you can:

Install Apache (or IIS) on your own server, install PHP, and MySQL

Or find a web hosting plan with PHP and MySQL support

Page 6: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

Latest SoftwareAppServe is a software which is combination of PHP + APACHE SERVER + MYSQL DATABASE

Page 7: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

What is MySqlIt is a database server

It is ideal for both small and large applications

It supports standard SQL

It compiles on a number of platforms

It is free to download and use

Page 8: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

Versions of PHPPHP/FI 2.0PHP/FI 3.0PHP 4.0PHP 5.0 & Sub VersionsPHP 6.0

Page 9: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

Advantages of PHP 5.0 & Laterimproved object-oriented programmingembedded SQLitesupport for new MySQL features (see the image

at right)exception handling using a try..catch structureintegrated SOAP support (see the image at right)the Filter library (in PHP 5.1)better XML toolsiteratorsand much, much more.

Page 10: WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.

REQUIREMENTS TO PLAN FOR A WEBSITEHTML – Desing the Web Layout

CSS – Cascade Style Sheets to provide consistent appearance to the html tags & controls

JAVASCRIPT – Mostly used to validate the Web Page

MYSQL – It’s a Database to manage the Data

PHP – To execute server side code which is used to perform logical operations