PHP - Hypertext Preprocessor Yaron Benita De Paul University.

Slides:



Advertisements
Similar presentations
PHP I.
Advertisements

CMS (Content Management System And Wordpress) Presented By: Syed Arshad Sultan UI Developer – w3maestro.co.uk PHP & MySQL.
1 Database Driven Web Application Clients Application Servers including web servers Database Server Traditional client-server (2-tier architecture): client:
Syed Arshad Sultan ,
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.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
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.
Server-Side vs. Client-Side Scripting Languages
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.
Learning Web development. 3(+1) Tier architecture PHP script Remote services Web Server (Apache, IIS) Browser (IE, FireFox, Opera) Desktop (PC or MAC)
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.
May 11, 2011 PHP Hypertext Preprocessor. What is the technology? ✤ Server side scripting and programming language. ✤ Can be embedded in HTML ✤ Free and.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
PHP PHP: Hypertext Preprocessing. What is PHP? PHP is a server-side scripting language designed specifically for the Web. An open source language PHP.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
COMP An Introduction to Computer Programming : University of the West Indies COMP6015 An Introduction to Computer Programming Lecture 03.
Introduction to PHP. PHP PHP is the Hypertext Pre-processor –Script language –Embedded into HTML –Runs as Apache module –Can use DB (MySQL, Oracle, Microsoft.
CSC 318 WEB APPLICATION DEVELOPMENT.  Introduction to Server Scripting language  Client VS Server  Introduction to PHP  PHP Files and Syntax  Function.
PHP HYPERTEXT: PREPROCESSOR By: Justin T. Pleva. WHAT IS PHP?  General purpose  Server-side web development  Console application.
ITD 3194 Web Application Development Chapter 4: Web Programming Language.
Mandakini Ayushi Infotech Mandakini Kumari 22 nd July PHP Basic.

AIT 616 Fall 2002 PHP. AIT 616 Fall 2002 PHP  Special scripting language used to dynamically generate web documents  Open source – Free!!!  Performs.
An Introduction to PHP The University of Tennessee at Chattanooga C. Daniel Chase “An introduction to basic PHP use with a focus on the power of dynamic.
PHP was created by Rasmus Lerdorf in It was initially server-side, traffic tracking script. PHP 2 (1995) Added database support, file uploads, regular.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
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
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
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 By Sergio Rodriguez By Sergio Rodriguez. PHP G PHP: Hypertext Preprocessor G Scripting language G PHP: Hypertext Preprocessor G Scripting language.
PHP OVERVIEW. C ONTENT Introduction of PHP History and development Basics of PHP programming.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
CS320 Web and Internet Programming Introduction to PHP Chengyu Sun California State University, Los Angeles.
Introduction to PHP Advanced Database System Lab no.1.
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.
Enterprise PHP - Introduction Enterprise Client-Server Development with PHP Nic Shulver, FCES, Staffordshire University A fifteen credit module based on.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
An Investigation into using a Document Management System Presented by: Bijal RanaSupervisor: John Ebden.
1Introduction to PHP 5 Presented by Brett Buddin.
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.
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.
PHP Training With Live SSDN Technologies SSDN Technologies To request free demo session please mail us at or call us at
Scott Marino MSMIS Summer Session Web Site Design and Authoring Session 13 Scott Marino.
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.
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
PHP Training With Live Project Sigma SEO Solutions To request free demo session please mail us at or call us at
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
Introduction to PHP and MySQL – Creating Database-Driven Websites
And Why You Should Use It In You Websites
ALWAR INSTITUTE OF ENGINEERING & TECHNOLOGY
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
Skulbong Taisawapak ID:
Presentation transcript:

PHP - Hypertext Preprocessor Yaron Benita De Paul University

PHP Introduction History Language syntax Advantages

What is PHP An established server-side, cross- platform embedded HTML scripting language for creating dynamic Web pages. PHP provides many features that commercial entities are looking for.

PHP Advantages Exceptionally short learning curve Quick development time Very high performance supports all major platforms (UNIX, Windows and even mainframes). Features native support for most popular databases

Intranet Design Magazine "PHP was built with the needs of Web developers in mind... Unlike other cumbersome, overhead-laden approaches, PHP is lightweight and focused on the Web - where it can solve complex problem scenarios quicker and more easily than comparable technologies."

History of PHP PHP was conceived sometimes in the Fall of 1994 by Rasmus LerdorfRasmus Lerdorf PHP/FI Version 2. ( Introducing mySql data base) 1997 – approximately 50,000 web sites. Introducing PHP Version 3. (Zeev Suraski and Andi Gutmans ) 2000 – PHP 4 was introduced, using “Zend” scripting engine. ( 5.1 million web sites. )

PHP-Enabled Web Pages Treated just like regular HTML pages and you can create and edit them the same way you normally create regular HTML pages. As simple as HTML files with a whole new family of magical tags that let you do all sorts of things.

Simple Example: File name : Hello.php PHP Test "; ?>

PHP Language Condition statements, loop statements, arrays... Built in libraries. (sorting, list, queue..) Functions. Classes. ( Objects, Inheritance.. ) String Manipulation. ( Perl ) Built in support for encryption/Decryption functions.( MD5, DES, …)

More on PHP Language: Text files manipulation. ( Read, write,..) Supports java objects, COM objects... Sessions, cookies …

A More Useful Example Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) A list of all the global variables.

Using if Statements You are using Internet Explorer You are not using Internet Explorer

Dealing with Forms One of the most powerful features of PHP is the way it handles HTML forms Any form element in a form will automatically result in a variable with the same name as the element being created on the target page.

FORM Example: HTML Page: Your name: You age: action.php. Hi. You are years old.

Database Support mySQL - PHP and MySQL work very well together, in addition to the speed and features of each individual tool. PHP is open-source, and offers excellent connectivity to most of today's common databases including Oracle, Sybase, MySQL, ODBC (and others). PHP also offers integration with various external libraries which enable the developer to do anything from generating PDF documents to parsing XML.

MySQL Example Connect to MySQL. Send a query. Print a table heading. Print table rows until end of the table has been reached.

MySQL Example \n"; do { $data = mysql_fetch_array($res); // Retrieve the next row of data. if (!is_array($data)) { break; } mysql_connectmysql_querymysql_fetch_arrayis_array

MySQL Example ( continue ) if (!$header_printed) { print " "; reset($data); while (list($name, $value) = each($data)) { print " $name \n" } print " \n"; $header_printed = true; } print " \n"; print " "; print implode(" \n ", $data); print " \n"; } while ($data); print " \n"; ?>reseteachimplode

Reasons for Using PHP Speed and robustness. Superior Memory Management No Hidden Costs with PHP Integration with MySQL database. Closer to Java/C++ Style of Programming. No Show Stopper Bugs. Cross Platform Migration Strategy.

Where to Find More… PHP Homepage: PHP-to-MySQL database tutorial: resource/advanced/php3/intro/inde x.html Zend.com: