BY: ALBERTO CABEZAS 4/19/2010. INTRODUCTION: PHP is considered today as one of the most famous scripting languages. PHP is widely used as a general purpose.

Slides:



Advertisements
Similar presentations
PHP I.
Advertisements

Software Freedom Day th September 2007 Asia Pacific Institute of Information Technology Colombo, Sri Lanka. Nazly Ahmed Scripting The Web.
PHP: Hypertext Preprocessor Greg Lowe Rob White Brian Wright Mike Zywiec.
PHP/ASP Robert Nelson & Will Vanlue BA370 November 4 th, 2005.
PHP CSCE 330 February 6, 2003 Group Members: Antwan B. Phan George Hwang Luat Vu Programming Language Presentation.
Introduction to PHP. PHP Origins Rasmus LerdorfRasmus Lerdorf (born Greenland, ed Canada) PHP originally abbreviation for ‘Personal Home Pages’, now ‘PHP.
May 11, 2011 PHP Hypertext Preprocessor. What is the technology? ✤ Server side scripting and programming language. ✤ Can be embedded in HTML ✤ Free and.
By Brian Patterson & Amanda Perez. PHP was originally created to maintain his personal homepage, hence the name PHP. Development began in 1994 and was.
PHP: HYPERTEXT PRE PROCESSOR BY: KAILA ULINE, HILARY PETROKUBI, HAIDAN HU, EMILY MARTIN.
May 11, 2011 PHP Hypertext Preprocessor. What is the technology? ✤ Server side scripting and programming language. ✤ Can be embedded in HTML ✤ Free and.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
PHP By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
PHP PHP: Hypertext Preprocessing. What is PHP? PHP is a server-side scripting language designed specifically for the Web. An open source language PHP.
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
PHP: Hypertext Processor Fred Durao
ITM352 PHP and Dynamic Web Pages: Server Side Processing.
PHP HYPERTEXT: PREPROCESSOR By: Justin T. Pleva. WHAT IS PHP?  General purpose  Server-side web development  Console application.
What is PHP PHP (officially "PHP: Hypertext Preprocessor") is a server-side HTML-embedded scripting language –means that code does not need to be compiled.
PHP - Hypertext Preprocessor Yaron Benita De Paul University.
Copyright © Curt Hill PhP History and Introduction.
ITD 3194 Web Application Development Chapter 4: Web Programming Language.
IDK0040 Võrgurakendused I harjutus 06: PHP: Introduction Deniss Kumlander.
PHP Professor Waterman. Agenda What is PHP Versions HTML Dynamic Web sites Interactive Web Sites Installing PHP Transfer pages to a Web hosting service.
INTERNET APPLICATION DEVELOPMENT For More visit:
Pradeep Tallogu Deepak Avanna Sharath Madathil
PHP PHP: Hypertext Preprocessing Preston Brinks and Sean McKenzie.
PHP TUTORIAL. HISTORY OF PHP  PHP as it's known today is actually the successor to a product named PHP/FI.  Created in 1994 by Rasmus Lerdorf, the very.
Nael Alian Introduction to PHP
IST 210: PHP BASICS IST 210: Organization of Data IST210 1.
Class 1Intro to Databases Goals of this class Understand the architecture behind web database applications Gain a basic understanding of what relational.
Technical Review - PHP Jang Jaeseok. Overview Introduction  What is PHP?  History of PHP  What can do with PHP?  Advantages of PHP PHP syntax.
Introduction to PHP and MySQL Kirkwood Center for Continuing Education By Fred McClurg, © Copyright 2015, Fred McClurg, All Rights.
PHP OVERVIEW. C ONTENT Introduction of PHP History and development Basics of PHP programming.
Intro to PHP IST2101. Review: HTML & Tags 2IST210.
Introduction to PHP Advanced Database System Lab no.1.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
WEB DEVELOPMENT WITH PHP/MYSQL. WEB DEVELOPMENT COURSE HAS DIFFERENT NAME IN DIFFERENT INSITUTES, THIS IS A CORE COURSE FOR BS/MS STUDENTS. THIS IS ALSO.
1 CSC 301 Web Programming Charles Frank. PHP – Stands for:  Personal Home Page (originally),  PHP: Hypertext Preprocessor (now; follows GNU’s recursive.
IT ELECTIVE 2.  Web server Can refer to either the hardware (the computer) or the software (the computer application) that helps to deliver content that.
Class 1Intro to Databases Goals of this class Understand the architecture behind web database applications Gain a basic understanding of what relational.
1Introduction to PHP 5 Presented by Brett Buddin.
PHP OVERVIEW. C ONTENT Introduction of PHP History and development Basics of PHP programming.
Fall 2004CSI University of Ottawa Introduction to PHP Basic principles and syntax.
1 PHP Pattadon Sintusak ID PHP Programmingintroduction2 Content History of PHP What’s PHP? Purpose of PHP Structure of PHP Language Reference.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
PHP Syntax You cannot view the PHP source code by selecting "View source" in the browser - you will only see the output from the PHP file, which is plain.
1 PHP Intro PHP Introduction After this lecture, you should be able to: Know the fundamental concepts of Web Scripting Languages in general, PHP in particular.
Dr. Abdullah Almutairi Spring PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used,
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
IST 210: PHP Basics IST 210: Organization of Data IST2101.
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
Presenting By A-ONE INFOTECH.  A-one InfoTech is a professional web design company located in Chandigarh, India. We specialized in web design, web development,
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
PHP using MySQL Database for Web Development (part II)
Introduction to PHP and MySQL – Creating Database-Driven Websites
Introduction to Dynamic Web Programming
CSC 301 Web Programming Charles Frank.
And Why You Should Use It In You Websites
Introduction to PHP “PHP is a server-side scripting language designed specifically for the Web. Within an HTML page, you can embed PHP code that will be.
Introduction to PHP “PHP is a server-side scripting language designed specifically for the Web. Within an HTML page, you can embed PHP code that will be.
ALWAR INSTITUTE OF ENGINEERING & TECHNOLOGY
PHP / MySQL Introduction
PHP Introduction.
Skulbong Taisawapak ID:
Tutorial 6 PHP & MySQL Li Xu
Introduction to PHP.
Presentation transcript:

BY: ALBERTO CABEZAS 4/19/2010

INTRODUCTION: PHP is considered today as one of the most famous scripting languages. PHP is widely used as a general purpose scripting language, especially for web development. PHP has gained very good popularity and its community is increasing very fast.

What is PHP? PHP stands for PHP: Hypertext Pre-processor. PHP is a programming language that allows web developers to create dynamic contact that interacts with databases. Within an HTML page, you can embed PHP code that will be executed each time the page is visited. Your PHP code is intercepted at the Web server and generates HTML or other output that the visitor will see.

HISTORY OF PHP PHP was written in the C programming language by Rasmus Lerdorf for use in monitoring his online resume and related personal information. For this reason, PHP originally stood for “Personal Home Page” Lerdorf combined PHP with his own Form Interpreter, releasing the combination publicly as PHP/FI (generally referred to as PHP 2.0) Zeev Suraski and Andi Gutmans, rebuilt PHP's core, releasing the updated result as PHP/FI 2 and the acronym was formally changed to PHP: HyperText Preprocessor.

HISTORY OF PHP PHP 3 was released, which was the first widely used version PHP 4 was released with a new core, known as the Zend Engine 1.0. PHP 4 featured improved speed and reliability over PHP PHP 5 was released with the updated Zend Engine 2.0. PHP 5 improved object-oriented programming, embedded SQLite, support for new MySQL features, integrated SOAP support, and much more.

HISTORY OF PHP PHP 6 has been in development since October of The most significant change will be native support for Unicode. Unpopular, deprecated features such as Magic Quotes, register_globals, safe_mode, and the HTTP_*_VARS variables will disappear in PHP 6. Today is still in use PHP 5 and Zend Technologies, Inc updates new versions but part of PHP 5 (5.1, etc)

SPECIFICATIONS OF PHP PHP is an open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. Instead of lots of commands to output HTML, PHP pages contain HTML with embedded code that does “something” (in this case, output “HI HOW ARE YOU”). Example

HOW PHP GENERATES HTML/JS WEB PAGES 1. Client’s browser sends an HTTP request (with POST/GET variables) 2. Apache recognizes that a PHP script is requested and sends that request to PHP module. 3. PHP interpreter executes PHP script, collects script output and sends it back. 4. Apache replies to client using the PHP script output just created as the actual HTML output on client’s screen. CLIENT BROWSER PHP MODULE APACHE

Basic PHP syntax PHP scripting block always starts with. The PHP scripting block can be place anywhere in the document. A PHP file normally contains HTML tags, just like an HTML file and some PHP scripting code. Each code line in PHP must end with a semicolon ; There are two basic statements to output text with PHP: echo and print. The PHP file must have a.php extension.

EXAMPLE OF PHP FILE

Basic PHP syntax in the previous example we used the echo statement to output the text “Hello World”. To make comments in PHP we use // to make a single- line comment or /* and */ to make a large comment block. Variables in PHP are use to storing values, like text strings, numbers or arrays. All variables in PHP start with a $ sign symbol. PHP uses many operators to operate on values like +, -, *, /, %, and much more.

ADVANTAGES OF PHP PHP is an open source (FREE). Reduce the time to create large websites. Open up thousands of possibilities for online tools. PHP is a cross-platform compatible. PHP is object oriented. Supports wide range of Databases. It is very useful text processing features, and wide variety of outputs styles. Training is available online and it is very easy to learn.

DISADVANTAGES OF PHP the misperception on lack of support, that there in none, only online community. there are some issues on security. For this reason was founded in January 2005, the “PHP Security Consortium” (PHPSC) an international group of PHP experts dedicated to promoting secure programming practices within the PHP community. Other disadvantage of PHP is that has no formal error handling mechanisms, it is a little tricky to debug

USAGE OF PHP SINCE 1998 PHP has more than 20,917,850 domains and 1,224,183 IP addresses.

COMMON USES OF PHP PHP is very popular for the use in security systems, especially in sites with heavy dependence on database, administrative applications and E-commerce. PHP is used for dynamically changing websites, homepages, templates, and many more uses. PHP can be used for different activities as collect form data, generate dynamic page content, or send and receive cookies.

PHP is prevalent in the industry today Position Apr 2010 Position Apr 2009 Delta in Position Programming Language Ratings Apr 2010 Delta Apr 2009 Status 12C18.058%+2.59%A 21JAVA18.051%-1.29%A 33C %-1.03%A 44PHP9.662%-0.23%A 55(Visual) Basic6.392%-2.70%A 67C#4.435%+0.38%A 76PYTHON4.205%-1.88%A 89PERL3.553%+0.09%A 911DELPHI2.715%+0.44%A 108JAVESCRIPT2.469%-1.21%A 1142OJECTIVE-C2.288%+2.15%A

CONCLUSION PHP is a very popular and useful programming language. PHP has been used for programmers in different ways. The fact that PHP is an open source, gives a lot of access to many people, this contribute to its popularity. This standard is very good in many aspects, and as we see has some disadvantages, however the advantages are more that programmers can work with them and make a very useful tool. We see that PHP has been chosen by many programmers and the statistics show us this reality.