PHP Overview By Alex and Cindy. Jan 21,2013. What is PHP? An open source server-side programming language An open source server-side programming language.

Slides:



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

Agenda Web Application Web Page development WAMP
PHP syntax basics. Personal Home Page This is a Hypertext processor It works on the server side It demands a Web-server to be installed.
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Multiple Tiers in Action
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.
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
Setting Up a Development Server Once you have your own development server, you’ll wonder how you ever managed without one, and it’s easy to set one up!
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).
1 Open Source Programming. -Introduction to PHP -PHP installation /wamp server installation for PHP environment -PHP syntax -PHP variables -PHP Strings.
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.
CS 4720 Anatomy of a Web Application CS 4720 – Web & Mobile Systems.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
Intro to PHP at Winthrop CSCI 297 Scripting Languages Day One.
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,
L. Grewe LAMP, WAMP and... Motivaiton Basic Web Systems with Delivery of Static and Dynamic Web Pages html, css, media javascript (“dynamic” on client.
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.
Technical Review - PHP Jang Jaeseok. Overview Introduction  What is PHP?  History of PHP  What can do with PHP?  Advantages of PHP PHP syntax.
Mini Group Presentations: php by Veronica Black + Jia Xu.
Presentation On Apache BSIT 6th1 Apache server Building Your Very Own Web Server.
Introduction to PHP and MySQL Kirkwood Center for Continuing Education By Fred McClurg, © Copyright 2015, Fred McClurg, All Rights.
WAMP server AppServer phpMyAdmin DB creation with phpMyAdmin.
INFO 1300: LOCAL DEVELOPMENT 10/16/2015. Index.html Important Homepage for every project in this course Points will be deducted otherwise.
Final Demo MedConnection Giant Squid Michael Cohen Robert Esho Chris Hogan Kate Kuleva Nisha Makwana Alex Rodrigues Rafal Urbanczyk.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Case Study Dynamic Website - Three Tier Architecture
Web Architecture Introduction
Web Design: Basic to Advanced Techniques Fall 2010 Mondays 7-9pm 200 Sutardja-Dai Hall Introduction to PHP.
1 CSC 301 Web Programming Charles Frank. PHP – Stands for:  Personal Home Page (originally),  PHP: Hypertext Preprocessor (now; follows GNU’s recursive.
PHP “Personal Home Page Hypertext Pre-processor” (a recursive acronym) Allows you to create dynamic web pages and link web pages to a database.
CS50 Week 9 Sam Green ’
PHP Introduction PHP is a server-side scripting language.
The basics of knowing the difference CLIENT VS. SERVER.
Unit 1 – Web Concepts Instructor: Brent Presley.
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
 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.
1/7/2016www.infocampus.co.in1. 1/7/2016www.infocampus.co.in2 Web Development training gives you and all-round training in both the design and the development.
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.
Outline  XAMPP  XAMPP Install  Put php and HTML documents  Windows and Mac Version  Security.
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 Assignment Help BookMyEssay. What is PHP PHP is a scripting language generally used on web servers. It is an open source language and embedded code.
PHP using MySQL Database for Web Development (part II)
CGS 3066: Web Programming and Design Spring 2017
Introduction to Dynamic Web Programming
CSC 301 Web Programming Charles Frank.
Developing Web-Based Applications
Ben Dahlin LCSC Technology Development Coordinator
PHP / MySQL Introduction
PHP Introduction.
LAMP, WAMP and.. L. Grewe.
Web Systems & Technologies
04 | Web Applications Gerry O’Brien | Technical Content Development Manager Paul Pardi | Senior Content Publishing Manager.
PHP and Forms.
Intro to PHP.

Introduction to PHP.
Client-Server Model: Requesting a Web Page
Web Application Development Using PHP
XAMPP.
Presentation transcript:

PHP Overview By Alex and Cindy. Jan 21,2013

What is PHP? An open source server-side programming language An open source server-side programming language To produce dynamic web pages To produce dynamic web pages Can be embedded into an HTML source document/Pure backend processor Can be embedded into an HTML source document/Pure backend processor Stands for P HP: H ypertext P rocessor

Interesting Statistics Did you know ? “PHP is used by 78.8% of all the websites whose server-side programming language we know” W3techs.com

Interesting Statistics Did you know ? Most popular server side language. Most popular server side language.W3techs.com

Interesting Statistics Did you know ? W3techs.com

Interesting Statistics Did you know ? #4 popular Langpop.com #4 popular Langpop.com

Web Examples (PHP) Did you know ? Facebook

Web Examples (PHP) Did you know ? FacebookFlickr

Web Examples (PHP) Did you know ? FacebookFlickrWikipedia

Web Examples (PHP) Did you know ? FacebookFlickrWikipediaYahoo!

Web Examples (PHP) Did you know ? FacebookFlickrWikipediaYahoo!Digg

IDRC Examples (PHP) Did you know ? ATutor

IDRC Examples (PHP) Did you know ? ATutorWordPress

IDRC Examples (PHP) Did you know ? ATutorWordPressAChecker

IDRC Examples (PHP) Did you know ? ATutorWordPressACheckerTimeTrack

Workflow of PHP pages Requests “index.php” Sends “index.php” PHP Processor Sends PHP requests Returns page or data MySQL Access any additional resources such as MySQL database

Compare PHP and Javascript

Loosely typed language var a = “fine”; $a = “fine”;

Function defaults Function junction (a, b) { b = b || 2; b = b || 2; return a * b; return a * b;} Function junction ($a, $b = 2) { return $a * $b; return $a * $b;}

Closures var junction = function (a, b) { return a * b; return a * b;}; junction(3, 4); // 12 $junction = function ($a, $b) { return $a * $b; return $a * $b;}; $junction(3, 4); // 12

Function scope $a = function () { $c = 3; $c = 3; $b = function ($a, $b) { $b = function ($a, $b) { return $c * $a * $b; return $c * $a * $b; }; }; return $b; return $b;}; $b = $a(); $b(1, 2); // 0 in PHP, 6 in JS

Object var fido = {}; fido.name = “Fido”; $fido = new stdClass(); $fido->name = “Fido”;

I’m so excited now! How do I install? MAMP (MAC OS) MAMP (MAC OS) WAMP (Windows) WAMP (Windows) XAMP (Linux) XAMP (Linux) SAMP? SAMP? More AMPs are better More AMPs are better Apache + MySQL + PHP + MAC OS/Windows/Linux/Solaris

Let’s dig in! Demo time!

This is it, Folks! Now go and write more PHP code. Any questions? If you have any extra questions after the presentation, please ask Cindy or Alex