Software Freedom Day 2007 14th September 2007 Asia Pacific Institute of Information Technology Colombo, Sri Lanka. Nazly Ahmed Scripting The Web.

Slides:



Advertisements
Similar presentations
PHP I.
Advertisements

Other Web Application Development Technologies. PHP.
INTRODUCTION GROUP MEMBERS Abubakr Saeed : Khurram Ali Khan :
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.
Server-Side vs. Client-Side Scripting Languages
PHP/ASP Robert Nelson & Will Vanlue BA370 November 4 th, 2005.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
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.
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.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
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.
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.
PHP and MySQL Week#1  Course Plan.  Introduction to Dynamic Web Content.  Setting Up Development Server Eng. Mohamed Ahmed Black 1.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
PHP HYPERTEXT: PREPROCESSOR By: Justin T. Pleva. WHAT IS PHP?  General purpose  Server-side web development  Console application.
INTRODUCTION TO WEB DATABASE PROGRAMMING
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.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
ITD 3194 Web Application Development Chapter 4: Web Programming Language.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.

PHP Professor Waterman. Agenda What is PHP Versions HTML Dynamic Web sites Interactive Web Sites Installing PHP Transfer pages to a Web hosting service.
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.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
PHP and MySQL by Example COMP YL Professor Mattos.
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.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
PHP OVERVIEW. C ONTENT Introduction of PHP History and development Basics of PHP programming.
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.
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.
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.
Yasar Hussain Malik - NISTE. PHP Origins Rasmus Lerdorf PHP originally abbreviation for ‘Personal Home Pages’, now ‘PHP Hypertext Processor’ Other key.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
PHP Introduction PHP is a server-side scripting language.
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.
1Introduction to PHP 5 Presented by Brett Buddin.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
PHP stands for …….. “PHP Hypertext Pre-processor” and is a server-side scripting language like ASP. PHP scripts are executed on the server PHP supports.
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.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Introduction to PHP and MySQL – Creating Database-Driven Websites
Web Programming Language
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.
PHP PHP PHP STAND FOR HYPERTEXT PRE-PROCESSOR. PHP PHP PHP STAND FOR HYPERTEXT PRE-PROCESSOR.
PHP / MySQL Introduction
Skulbong Taisawapak ID:
Intro to PHP.
Tutorial 6 PHP & MySQL Li Xu
Web Technologies Computing Science Thompson Rivers University
Web Application Development Using PHP
Presentation transcript:

Software Freedom Day th September 2007 Asia Pacific Institute of Information Technology Colombo, Sri Lanka. Nazly Ahmed Scripting The Web

Agenda What is PHP? History Getting Started Features Extensions Frameworks

What is PHP? PHP : Hypertext Preprocessor PHP is a Server-side Scripting Language which can be embedded into HTML Any PHP tag will be replaced by the Server before its sent back to the client browser Can be used to collect form data, generate dynamic page content, send and receive cookies and much more It’s Open Source – Apache like BSD-style license

Server-side

If the PHP file contains What the end user would get

History of PHP PHP/FI : Personal Home Page / Forms Interpreter Created by Rasmus Lerdorf in 1995 Perl like syntax Was able to connect with databases Enabled users to develop simple Dynamic Web Applications Code was released for everybody to see

History of PHP PHP/FI 2.0 Released in November 1997 Several people contributing bits of code to this project but still a one-man project. Several thousand users around the world 50,000 domains reported to have been installed.

History of PHP PHP 3.0 Created by Andi Gutmans and Zeev Suraski in 1997 as a complete rewrite Solid infrastructure for lots of different databases, protocols and APIs Contains strong extensibility features Object oriented syntax support Powerful and consistent language syntax It was named plain 'PHP', with the meaning being a recursive acronym - PHP: Hypertext Preprocessor Officially released in June 1998 Installed on 10% of the Web Servers on the Internet

History of PHP PHP 4.0 Officially released in May Rewrite of PHP's core to improve performance of complex applications, and improve the modularity of PHP's code base. The new engine, named 'Zend Engine' Support for many more Web servers, HTTP sessions, output buffering, more secure ways of handling user input and several new language constructs Installed on 20% of the Web Servers on the Internet

History of PHP PHP 5.0 Officially released in July Mainly driven by its core, the Zend Engine 2.0 with a new object model and dozens of other new features Allows the developers to use the full set of object-oriented features Installed on 34% of the Web Servers on the Internet PHP is the latest stable release.

PHP Usage PHP: 20,016,421 domains, 1,208,663 IP addresses

Who uses PHP?

Projects Powered by PHP

Getting Started For Server-side Scripting o The PHP parser (CGI or server module) o A Web Server o A Web Browser Supports all major Operating Systems Linux, many Unix variants (including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X Supports most of the Web Servers Apache, Microsoft IIS, Netscape and iPlanet servers, Oreilly Website Pro server, Caudium, Xitami, OmniHTTPd, and many others. Download the latest stable release of PHP from Online Manual :

Features of PHP (5.0) Long list of internal (built-in) functions Full set of OOP features Allows the developers to use the full set of object-oriented features which lacked in PHP4. Improved MySQL support MySQLi, the MySQL Improved extension offers prepared statements, bound parameters and SSL connections. It also takes advantage of PHP5's new object-oriented support to provide an object-oriented interface to MySQL.

Features of PHP (5.0) Easy handling of XML with SimpleXML The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object which can be easily processed. Sessions support Session support in PHP consists of a way to preserve certain data across subsequent accesses. Bundled SQLite SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine

Features of PHP (5.0) Error handling using exceptions PHP 5 offers a completely different model of error checking than what's available in PHP 4. It's called exception handling. With exceptions you can separate programming logic from error handling and place them in adjoining blocks of code Streams and Filters A way of generalizing file, network, data compression, and other operations which share a common set of functions and uses A filter is a final piece of code which may perform operations on data as it is being read from or written to a stream. php:// ftp://, ftps:// compression.gzip://, compression.bz2:// php://filter

Reusable PHP Components PEAR : PHP Extension and Application Repository PEAR is a framework and distribution system for reusable PHP components. Consists reusable components for Database, Encryption, Images, Web Services, Authentication, Date and Time, Mail and much more.

Extensions PECL : PHP Extension Community Library PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions. Consists extension for Database, Encryption, Images, Web Services, Authentication, Date and Time, Mail and much more.

PHP Frameworks A structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. Compatibility with PHP4 and PHP5 Integrated CRUD for database Interaction and simplified queries Application Scaffolding Model View Controller (MVC) Architecture Custom URLs Fast and flexible templating View Helpers for AJAX, Javascript, HTML Forms and more

PHP Frameworks Few other PHP Frameworks that are available

Resources PHP : MySQL : SQLite : PEAR : PECL :

Questions?