Introduction to PHP and MySQL – Creating Database-Driven Websites

Slides:



Advertisements
Similar presentations
Other Web Application Development Technologies. PHP.
Advertisements

1 Database Driven Web Application Clients Application Servers including web servers Database Server Traditional client-server (2-tier architecture): client:
Software Freedom Day th September 2007 Asia Pacific Institute of Information Technology Colombo, Sri Lanka. Nazly Ahmed Scripting The Web.
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.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
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.
Website Generator for SoftLab By Yohann SABBAH & Mikael V.H Cohen -Under the supervision of Viktor Kulikov- Final Presentation 7/20/2015.
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.
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.
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.
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.
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
ITD 3194 Web Application Development Chapter 4: Web Programming Language.

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.
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
PHP PHP: Hypertext Preprocessing Preston Brinks and Sean McKenzie.
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.
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.
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.
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.
PHP Introduction PHP is a server-side scripting language.
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 Training With Live SSDN Technologies SSDN Technologies To request free demo session please mail us at or call us at
CGS 3066: Web Programming and Design Spring 2016 Introduction to Server-Side Programming.
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.
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.
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.
PHP using MySQL Database for Web Development (part II)
CGS 3066: Web Programming and Design Spring 2017
Web Programming Language
A PRESENTATION ON (IN PHP,CSS,HTML)
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.
Benefits To Used PHP To Create Websites. PHP – Hypertext Transfer Protocol PHP consider the most famed programming language for developing websites or.
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
PHP Introduction.
Skulbong Taisawapak ID:
IntroductionToPHP Static vs. Dynamic websites
Intro to PHP.
Tutorial 6 PHP & MySQL Li Xu
Introduction to PHP.
PHP By Prof. B.A.Khivsara Note: The material to prepare this presentation has been taken from internet and are generated only for students reference and.
Web Application Development Using PHP
Presentation transcript:

Introduction to PHP and MySQL – Creating Database-Driven Websites

Introduction to PHP and MySQL – Creating Database-Driven Websites PHP is an open-source server-side scripting language used for the creation of dynamic web pages for e-commerce and other web based applications. It is also one of the most popular server-side languages commercially used today. With consistent fast performance, high reliability and ease of use, MySQL has become the open-source database of choice for many organisations. Together, these two technologies provide you with a simple, free and powerful platform for building dynamic, database-driven web applications.

Introduction to PHP and MySQL – Creating Database-Driven Websites This hands-on practical course is designed to enable web developers and others with limited programming experience to build dynamic e-commerce websites using the PHP programming language and MySQL database. An understanding of basic HTML/XHTML is assumed.

Introduction to PHP and MySQL – Creating Database-Driven Websites Understanding PHP Basics Introducing PHP Using Variables and Operators Controlling Program Flow Working with Arrays Using Functions and Classes

Introduction to PHP and MySQL – Creating Database-Driven Websites Understanding MySQL Basics Relational Database Design Structured Query Language Data Manipulation Language Simple and Advanced SQL Queries MySQL Administration Tools Creating a Content Management System

Introduction to PHP and MySQL – Creating Database-Driven Websites Working with Data from Other Sources Working with Files and Directories Working with XML Working with Cookies, Sessions and Headers

Introduction to PHP and MySQL – Creating Database-Driven Websites Security and Troubleshooting Handling Errors Securing PHP Extending PHP

Introduction to PHP and MySQL – Creating Database-Driven Websites PHP Hypertext Preprocessor (recursive acronym) In use in over 20 million websites and over a third of the world’s Web servers Developed by a worldwide community of volunteers and freely available at no cost Developed by Rasmus Lerdorf 1994 – called PHP/FI Further improved by Andi Gutmans and Zeev Suraski 1997 – PHP 3.0

Introduction to PHP and MySQL – Creating Database-Driven Websites 2008 – ‘Netcraft’ survey showed PHP in use on over 30 million websites We are using PHP 5.3xxx Latest version is PHP 6.0

Introduction to PHP and MySQL – Creating Database-Driven Websites PHP – Unique Features Performance – fast execution of scripts Portability – available for UNIX, MS Windows, Mac OS and OS/2 – and portable between platforms Ease of Use – “Simplicity is the ultimate sophistication” plus exhaustive documentation Open Source (like MySQL) – Any developer, anywhere, can inspect the code tree, spot errors and suggest possible fixes. The result is a stable, robust product where bugs are rapidly resolved.

Introduction to PHP and MySQL – Creating Database-Driven Websites PHP – Unique Features Community Support – The results of which include the libraries of extensions - PEAR (PHP Extension and Application Repository) and PECL (PHP Extension Community Library) Third-Party Application Support – Support for a wide range of databases – including MySQL, PostgreSQL, Oracle, Microsoft SQL Server. XML support And it doesn’t stop there…..GIF, JPEG, PNG formats, SMTP, IMAP, POP3, SOAP and REST protocols. PHP can even manipulate PDF documents!!

Introduction to PHP and MySQL – Creating Database-Driven Websites PHP – Client-Server Framework

Introduction to PHP and MySQL – Creating Database-Driven Websites PHP – Development Environment Base operating system (OS) and server environment – Linux, Windows Web server (usually Apache on Linux or IIS on Windows) PHP interpreter to parse and execute PHP code – and return results to the web server Database engine (for example, MySQL) PHP is executed on the server cf. client/browser-side scripting – and only the output is sent to the browser Thus the code is completely independent of browser quirks!!

Introduction to PHP and MySQL – Creating Database-Driven Websites PHP – Sample Applications phpMyAdmin (www.phpmyadmin.net) = A PHP-based administration tool for MySQL phpBB (www.phpbb.com) = PHP-bases online bulletin board Gallery (www.gallery.meanlto.com) = PHP-based digital photo archive PoMMo (www.pommo.org) = mass mailing application Smarty (www.smarty.net) = PHP-based framework of templates for separating business logic from user imterface Wordpress (www.wordpress.org) = Weblog publishing tool Squirrelmail, eZ Publish, Mantis……..

Introduction to PHP and MySQL – Creating Database-Driven Websites View phpinfo() on the web server host we will be using (www.bedford-computing.co.uk/test.php)

Introduction to PHP and MySQL – Creating Database-Driven Websites