Intro to PHP Introduction to server-side scripts (It’s all good :D) © TAFE NSW 2013 1.

Slides:



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

Introduction to JavaScript
HTTP Request/Response Process 1.Enter URL ( in your browser’s address bar. 2.Your browser uses DNS to look up IP address of server.com.
Server-Side vs. Client-Side Scripting Languages
Chapter Concepts Review Markup Languages
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Multiple Tiers in Action
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
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 By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
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.
Web Design Basic Concepts.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
CSC 318 WEB APPLICATION DEVELOPMENT.  Introduction to Server Scripting language  Client VS Server  Introduction to PHP  PHP Files and Syntax  Function.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
CSE3310: Web training A JumpStart for Project.
Server-side Scripting Powering the webs favourite services.
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.
IDK0040 Võrgurakendused I harjutus 06: PHP: Introduction Deniss Kumlander.
Introduction to Internet Programming (Web Based Application)
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
Universiti Utara Malaysia Chapter 3 Introduction to ASP.NET 3.5.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Introduction to PHP Advanced Database System Lab no.1.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
By Bearzx Dive Into Web Introduction To WEB
Enterprise PHP - Introduction Enterprise Client-Server Development with PHP Nic Shulver, FCES, Staffordshire University A fifteen credit module based on.
1 CSC 301 Web Programming Charles Frank. PHP – Stands for:  Personal Home Page (originally),  PHP: Hypertext Preprocessor (now; follows GNU’s recursive.
הרצאה 4. עיבוד של דף אינטרנט דינמי מתוך Murach’s PHP and MySQL by Joel Murach and Ray Harris.  דף אינטרנט דינמי משתנה עפ " י הרצת קוד על השרת, יכול להשתנות.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
CHAPTER 6 Introduction to PHP5 Part I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
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.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
1 PHP Intro PHP Introduction After this lecture, you should be able to: Know the fundamental concepts of Web Scripting Languages in general, PHP in particular.
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.
CSE3310: Web training A JumpStart for Project. Outline Introduction to Website development Web Development Languages How to build simple Pages in PHP.
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.
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.
PHP using MySQL Database for Web Development (part II)
CGS 3066: Web Programming and Design Spring 2017
Web Programming Language
Introduction to Dynamic Web Programming
Active Server Pages Computer Science 40S.
Developing Web-Based Applications
PHP / MySQL Introduction
PHP Introduction.
Web App vs Mobile App.
Database Driven Websites
PHP.
Intro to PHP.
Tutorial 6 PHP & MySQL Li Xu
Introduction to PHP.
PHP an introduction.
Web Servers (IIS and Apache)
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:

Intro to PHP Introduction to server-side scripts (It’s all good :D) © TAFE NSW

What is PHP?  PHP is a programming language :D  PHP originally began in Germany as an acronym for Personal Home Page  PHP now stands for PHP Hypertext Pre-Processor  PHP is a server-side script used to dynamically produce web pages  Used in Web Applications  A web application is an application that runs over the entire internet (or intranet). It works like a normal application installed on your computer (although slower because it’s communicating over the internet) except that the processing is performed by an external server rather than on your local computer.  Apps run on all different platforms & devices  PHP works in conjunction with HTML, CSS, JavaScript and SQL (Structure Query Language) (C) TAFE NSW

What is a PHP file, and what can PHP do?  PHP files have the file extension:.php  PHP files can contain any or all of the following: Text, HTML, JavaScript & PHP code  PHP scripts are executed on the web server and plain HTML is returned back to the web browser  PHP can generate dynamic page content  PHP can add, delete and modify data in a database  PHP can restrict user access to pages  PHP can collect form data, and encrypt data  PHP can send and receive cookies (nom nom nom)  PHP can create, open, read, write and close files on the server © TAFE NSW

Why PHP?  PHP is free, widely used, open source, cross-platform, cross-server & efficient  There are many server-side scripting technologies available, PHP has several potential competitors: (C) TAFE NSW DeveloperLanguagePlatformCost? MicrosoftActive Server Pages (ASP) C# Visual Basic (VB) Windows,.NetClosed Source ($Monies$) Python Software Foundation PythonWindows, Linux/Unix, Mac OS X, and has been ported to the Java and.NET virtual machines Open Source Rails Core TeamRuby on RailsWindows, Linux/Unix, Mac OS X Open Source

Plain old web communication Web Browser & Web Server Interaction (C) TAFE NSW  Fetching static web pages from the internet (otherwise known as surfing the net), is in very simple terms a conversation over the internet between the web browser on your computer, and the web server on another computer.  The conversation (without server-side scripting) looks something like this:

How does PHP work? Web Browser & Web Server Interaction (C) TAFE NSW  SQL is supported by all databases, and used with many languages, like PHP  The conversation with PHP & MySQL looks something like this:

References & Further Reading (C) TAFE NSW  Sklar, D Learning PHP 5, O’Reilly Media Inc, December 2008, Figures 1.1 & 1.2  Wikipedia Pages: 