PHP CSCE 330 February 6, 2003 Group Members: Antwan B. Phan George Hwang Luat Vu Programming Language Presentation.

Slides:



Advertisements
Similar presentations
IS 6116 Introduction – 10 Jan Lecturer Details Aonghus Sugrue Website: aonghussugrue.wordpress.com
Advertisements

PHP I.
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.
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.
ASP Tutorial. What is ASP? ASP (Active Server Pages) is a Microsoft technology that enables you to make dynamic and interactive web pages. –ASP usually.
Learning Web development. 3(+1) Tier architecture PHP script Remote services Web Server (Apache, IIS) Browser (IE, FireFox, Opera) Desktop (PC or MAC)
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Introduction to PHP. PHP Origins Rasmus LerdorfRasmus Lerdorf (born Greenland, ed Canada) PHP originally abbreviation for ‘Personal Home Pages’, now ‘PHP.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
By Brian Patterson & Amanda Perez. PHP was originally created to maintain his personal homepage, hence the name PHP. Development began in 1994 and was.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
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).
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.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
PHP: Hypertext Processor Fred Durao
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
PHP - Hypertext Preprocessor Yaron Benita De Paul University.
Programming with php By: Seth Larson. A little bit about PHP  PHP stands for PHP:  Hypertext Preprocessor  PHP is a widely-used general-purpose server-side.

AIT 616 Fall 2002 PHP. AIT 616 Fall 2002 PHP  Special scripting language used to dynamically generate web documents  Open source – Free!!!  Performs.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
Dynamic Web Pages (Flash, JavaScript)
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
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.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
SQL Queries Relational database and SQL MySQL LAMP SQL queries A MySQL Tutorial and applications Database Building Assignment.
Technical Review - PHP Jang Jaeseok. Overview Introduction  What is PHP?  History of PHP  What can do with PHP?  Advantages of PHP PHP syntax.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
2001 IT Conference RenoPage: 1 PHP 101 PHP – You can DO IT! Greg Lawler Brooks Institute of Photography February IT Conference Reno.
PHP Features. Features Clean syntax. Object-oriented fundamentals. An extensible architecture that encourages innovation. Support for both current and.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
PHP ( PHP: Hypertext Preprocessor)PHP ( PHP: Hypertext Preprocessor) Much of its syntax is borrowed from C, Java, and Perl.Much of its syntax is borrowed.
Intro to PHP IST2101. Review: HTML & Tags 2IST210.
Introduction to PHP Advanced Database System Lab no.1.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
PHP vs ASP.NET By: Colin Cramer. Overview HistoryCostPopularitySupportScalability.
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.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
PHP, Databases, and Cookies Dave Pease IDS496 12/2/2003
PHP Introduction PHP is a server-side scripting language.
An Investigation into using a Document Management System Presented by: Bijal RanaSupervisor: John Ebden.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
1) PHP – Personal Home Page Scripting Language 2) JavaScript.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
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.
Introduction to PHP. PHP Origins Rasmus LerdorfRasmus Lerdorf (born Greenland, ed Canada) PHP originally abbreviation for ‘Personal Home Pages’, now ‘PHP.
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
Introduction to Dynamic Web Programming
Introduction and Principles
PHP / MySQL Introduction
7 Best Programming Languages Based as per Earnings & Opportunities
Server-Side Processing II
IntroductionToPHP Static vs. Dynamic websites
Web Application Development Using PHP
Presentation transcript:

PHP CSCE 330 February 6, 2003 Group Members: Antwan B. Phan George Hwang Luat Vu Programming Language Presentation

I.What is PHP? II.What does it do? III.How does it work? IV.Comparison of languages V.Advantages and Disadvantages VI.Samples of Code VII.Conclusion VIII.References & Resources Contents

What is PHP? PHP stands for Personal Home Pages Hypertext Processor. PHP is a server-side, cross-platform, HTML embedded scripting language. Was designed in 1995 by Rasmus Lerdorf because it needs a free tools to program Web pages.

What is PHP? A fast, powerful and mature web-based server-side programming language. Allows the creation of dynamic web pages for powerful web sites and web based applications.

What does it do? An Internet tool. It is usable for processing large data on server-side and build an html page that display the results. Allows tight integration with a number of database systems including including Informix, Microsoft SQL Server, mSQL, MySQL, ODBC, Oracle and Sybase Used in conjunction with a relational database system, like MySQL, large sets of data can be handled with speed and flexibility.

How does it work? A PHP scripts produces web pages, and may be embedded inside html code. Combines elements of functional and imperative languages Interpreter: take source code and directly execute it. Compiler: convert source code into executable code that can be run at a later time

How does it work? Similar to C, but adds dynamic variables. Serves as a "wrapper" for many standard C libraries. A server must be configured to execute the interpreter on pages with.php extensions, and send resulting html pages on the network.

Comparison of Languages PHP draws its strengths from a highly flexible language derived from C/C++ and its predecessor, PERL. Perl syntax is very different from PHP, which is more formal with its C influenced procedure-based syntax. In comparison with Perl, PHP gains some on the readability side, but loses a lot on the convenience side.

Advantages PHP is a powerful language providing fast development time. There is a large amount of Open Source code written in PHP meaning affordable and speedy development of new applications. Since it uses similar syntax and constructs, knowledge of PHP can help you in learning the C language.

Disadvantages In order for a database to run correctly, the PHP code must be changed to suit the desired database. A disadvantage is actually created by writers of PHP scripts who inadvertently create a bug through which hackers can exploit. Cookies don't work.

Samples of Code Example Start Tag: :End Tag

Samples of Code Code to Open and Query a database in PHP <?php $sql = "SELECT * FROM queryitems"; //creates variable ($sql), sets equal to string mysql_connect(); //connects to MySQL engine $rs = mysql_db_query("Websitedb",$sql); //creates record set which contains the results of the //query ?>

Conclusion PHP is a server-side scripting language that facilitates the creation of dynamic Web pages by embedding PHP-coded logic in HTML documents. PHP can easily be self-taught and easily be programmed for everyday use. PHP combines many of the finest features of Perl, C, and Java, and adds its own elements to the concoction to give Web programmers great flexibility and power in designing and implementing dynamic, content-oriented Web pages.

References & Resources p p