Introduction to PHP and MySQL Kirkwood Center for Continuing Education By Fred McClurg, © Copyright 2015, Fred McClurg, All Rights.

Slides:



Advertisements
Similar presentations
PHP Hypertext Pre-Processor
Advertisements

CMS (Content Management System And Wordpress) Presented By: Syed Arshad Sultan UI Developer – w3maestro.co.uk PHP & MySQL.
Agenda Web Application Web Page development WAMP
Syed Arshad Sultan ,
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
INTRODUCTION GROUP MEMBERS Abubakr Saeed : Khurram Ali Khan :
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.
Server-Side vs. Client-Side Scripting Languages
PHP/ASP Robert Nelson & Will Vanlue BA370 November 4 th, 2005.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
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.
12/6/06 1 Hofstra University - CSC005 Special Topics LAMP Technologies.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
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.
SYST Web Technologies SYST Web Technologies Installing a Web Server (XAMPP)
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.
TOPIC 1 – SERVER SIDE APPLICATIONS IFS 234 – SERVER SIDE APPLICATION DEVELOPMENT.
Intro to PHP Introduction to server-side scripts (It’s all good :D) © TAFE NSW
PHP HYPERTEXT: PREPROCESSOR By: Justin T. Pleva. WHAT IS PHP?  General purpose  Server-side web development  Console application.
Introduction: Drupal is a free and open-source content management system (CMS). A content management system(CMS) is a computer program that allows publishing,
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.
ITD 3194 Web Application Development Chapter 4: Web Programming Language.

PHP Professor Waterman. Agenda What is PHP Versions HTML Dynamic Web sites Interactive Web Sites Installing PHP Transfer pages to a Web hosting service.
Web Application Programming Carol Wolf Computer Science.
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.
What is PHP? PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general- purpose scripting language that is especially.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
PHP and MySQL by Example COMP YL Professor Mattos.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
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.
XAMPP Introduction to Web Programming Kirkwood Community College Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved Web Server Software Distribution.
1 CSC 301 Web Programming Charles Frank. PHP – Stands for:  Personal Home Page (originally),  PHP: Hypertext Preprocessor (now; follows GNU’s recursive.
PHP Introduction PHP is a server-side scripting language.
An Investigation into using a Document Management System Presented by: Bijal RanaSupervisor: John Ebden.
 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.
XAMPP.
PHP Training With Live SSDN Technologies SSDN Technologies To request free demo session please mail us at or call us at
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.
Outline  XAMPP  XAMPP Install  Put php and HTML documents  Windows and Mac Version  Security.
Bucharest, 23 February 2005 CHM PTK technologies Adriana Baciu Finsiel Romania.
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.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
Introduction to PHP and MySQL – Creating Database-Driven Websites
A PRESENTATION ON (IN PHP,CSS,HTML)
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.
Ben Dahlin LCSC Technology Development Coordinator
PHP / MySQL Introduction
Skulbong Taisawapak ID:
Intro to PHP.
Introduction to PHP.
Web Application Development Using PHP
Top PHP Development Tools For PHP Developers By: iblinfotech.com iblinfotech.com.
Presentation transcript:

Introduction to PHP and MySQL Kirkwood Center for Continuing Education By Fred McClurg, © Copyright 2015, Fred McClurg, All Rights Reserved

Chapter One Why LAMP Technologies? php/slides/chapter01.overview.ppt 2

Desperate times require desperate measures How important are web technologies? 3

Total Sites: Web Site Count Continues to Climb 4 Total Sites Across All Domains August 1995 – February 2015

LAMP is more than a piece of furniture. It is an acronym:  L inux  A pache  M ySQL  P HP (and Perl) What is LAMP? 5

Lean Operating System Fast Reliable Secure Hackable Bundled with Mature Tools Free Why Linux? LAMP Component “L” 6

Web Server Distribution in 10k Sites Source: Date: February

Popular Web Servers  MS Internet Information Services (IIS) Strengths  Easier integration with Active Directory  Supports Microsoft Languages (ASP)  Free with Windows  Apache Strengths  2.0 supports multi-threading  Fast  Very secure  Multiple platform support (Win, Mac, Linux)  Multi Language Support (PHP, etc.)  Free Full Version LAMP Application Component: Apache 8

o Very Secure o Fast (supports multi-threading) o Extensible (PHP, JSP, LDAP, etc.) o Portable (Windows, Mac, Unix) o Reliable o Popular (#1 web server on planet) o Free Full Version Why Apache? LAMP Component “A” 9

Survey: The most widely used web server 10 Market Share of All Sites August 1995 – February 2015

Web Server Distribution in 10k Sites Source: Date: February 2015

o Fast o Easy to use o Multiple database engines available o Full featured o Large user base o Application Programming Interface (API) available for most languages o Multiple platform support o Free* † * Unless selling modified version of MySQL † Unless embedding MySQL within non-free app Why MySQL? LAMP Component “M” 12

o Perl and PHP languages are cousins. o Shared philosophy:  “There's more than one way to do it.”  “Easy things should be easy, and hard things should be possible.” Why not Perl? Alternate LAMP “P” 13

Why PHP? LAMP Component “P” Embedded with HTML Easy to learn Advanced capabilities (XML, XSL, DOM, Soap) Large user community Interpreted language Strong text handling Integrates well with MySQL Many built-in functions Free 14

Chapter One PHP Overview 15

o PHP relies upon fewer “side effects” o PHP has a function for everything o PHP is not quite as cryptic o Specifically designed for the web Advantages of PHP over Perl 16

PHP History  Known originally as “Personal Home Page”  Conceived in 1994 by Rasmus Lerdorf to display and track traffic to his resume  Started as a collection of Perl scripts  First released as an open-source project in June 1995 and became version 2  In 1997 Zeev Suraski and Andi Gutmans rewrote the parser and became PHP3  Name changed to the recursive acronym: PHP: Hypertext Preprocessor  In June 1998 Zeev Suraski and Andi Gutmans rewrote the core of PHP4 and dubbed it “Zend engine” based on their first names  PHP 5 was release in July

PHP Applications Continue to Grow PHP Usage: 18 January 2002 – January 2013

Top Framework Technologies Source: Date: February 2015

The Popularity of PHP TIOBE Programming Community Index: Position Feb 2015 Position Feb 2013 Change Programming Language Ratings Aug 2013 Delta Aug C18.334%+1.25% 21Java17.316%-1.07% 33Objective-C11.341%+1.54% 44C %-1.87% 55C#6.450%-0.23% 66PHP4.219%-0.85% 78(Visual) Basic2.759%-1.89% 87Python2.157%-2.79% 911JavaScript1.929%+0.51% 1012 Visual Basic.NET 1.798%+0.79% 1116Transact-SQL1.667%+0.89% 20

Chapter One How does it work? 21

Life on the Web without PHP/MySQL Web Server Disk Storage Internet Request Response 5 Your Computer

Life on the Web with PHP/MySQL Disk Storage 4 4 Response Request WebServer PHP Interpreter Web Host 5 5 Your Computer Internet 11 Write MySQLDatabase Read 23

Description: The easiest way to set up Apache, MySQL and PHP (AMP) is to install them as a bundle from one of the following: Windows: Mac: Linux: WAMP, MAMP, XAMPP, LAMP: Note: No other tools may communicate on ports 80 and 3306 while Apache and MySQL is running. Installing PHP and other components 24

to be continued... slides/chapter03.fundamentals.ppt25