Web Systems Development (CSC-215)

Slides:



Advertisements
Similar presentations
PHP I.
Advertisements

Session 1 & 2BBK P1 Module5-May-2007 : [‹#›] PHP: The Basics.
Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Guide To UNIX Using Linux Third Edition
Introduction to PHP (Part-1) Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Web Programming Introduction to PHP COM Objectives To understand what PHP is and how a PHP script works with a Web Browser and a Web Server To learn.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
PHP By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
PHP and MySQL Week#1  Course Plan.  Introduction to Dynamic Web Content.  Setting Up Development Server Eng. Mohamed Ahmed Black 1.
CSC 318 WEB APPLICATION DEVELOPMENT.  Introduction to Server Scripting language  Client VS Server  Introduction to PHP  PHP Files and Syntax  Function.
PHP HYPERTEXT: PREPROCESSOR By: Justin T. Pleva. WHAT IS PHP?  General purpose  Server-side web development  Console application.
WEB DESIGN AND PROGRAMMING Introduction to Javascript.
INTERNET APPLICATION DEVELOPMENT For More visit:
Nael Alian Introduction to PHP
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
November 2003Bent Thomsen - FIT 6-11 IT – som værktøj Bent Thomsen Institut for Datalogi Aalborg Universitet.
PHP - Introduction Week 5 Dr. Ken Cosh Introducing PHP 1.
PHP and JavaScript Nov. 26, 2013 Kyung Eun Park Computer and Creativity (COSC109) Towson University.
Overview: 1. Discussion of the basic architecture of a web application. 2. Discussion of the relevance of using MySQL and PHP in a web application.
Web Programming Language Week 5 Dr. Ken Cosh Introducing PHP 1.
PHP Teresa Worner. What is it? PHP: Hypertext Preprocessor server-side scripting language open source cross-platform compatible with almost all servers.php.php3.phtml.
PHP. What is PHP? PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed on the server.
Introduction to PHP Advanced Database System Lab no.1.
Introduction to Web Programming. Introduction to PHP What is PHP? What is a PHP File? What is MySQL? Why PHP? Where to Start?
©John Samuel 2008 Introduction to PHP. ©John Samuel 2008 Objectives At the end of this class the student will be able to; Create and run a simple php.
הרצאה 4. עיבוד של דף אינטרנט דינמי מתוך Murach’s PHP and MySQL by Joel Murach and Ray Harris.  דף אינטרנט דינמי משתנה עפ " י הרצת קוד על השרת, יכול להשתנות.
PHP “Personal Home Page Hypertext Pre-processor” (a recursive acronym) Allows you to create dynamic web pages and link web pages to a database.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
CHAPTER 6 Introduction to PHP5 Part I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
PART 2 INTRODUCTION TO DYNAMIC WEB CONTENT AND PHP.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
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.
Session 2: PHP Language Basics iNET Academy Open Source Web Development.
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,
Javascript Basic Concepts Presentation By: Er. Sunny Chanday Lecturer CSE/IT RBIENT.
PHP Tutorial. What is PHP PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
By bscshelp.com 1.  It is a group assignment.  Complete Website design Using Html and Css.  Due date: 10 th December, 2014 (Hard Deadline) 2.
Javascript Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
PHP using MySQL Database for Web Development (part II)
Web Database Programming Using PHP
Setup a PHP + MySQL Development Environment
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Chapter 5 Scripting Language
Web Database Programming Using PHP
Introduction to Web programming
* Lecture # 7 Instructor: Rida Noor Department of Computer Science
Chapter 5 Scripting Language
Server-Side Application and Data Management IT IS 3105 (Spring 2010)
PHP Introduction.
Web Systems & Technologies
Server Side Programming Overview And file system basics
JavaScript an introduction.
Web Systems Development (CSC-215)
Web Systems Development (CSC-215)
Web Systems Development (CSC-215)
PHP.
Web DB Programming: PHP
HYPERTEXT PREPROCESSOR BY : UMA KAKKAR
Web Programming Language
Intro to PHP.
Tutorial 6 PHP & MySQL Li Xu
JavaScript CS 4640 Programming Languages for Web Applications
PHP an introduction.
23 PHP.
Presentation transcript:

Web Systems Development (CSC-215) Lecture 2: Introducing PHP Wednesday 31st January 2018

Setting up your environment Server Text editor IDE Remote server

Server WAMP MAMP LAMP Windows, Apache, MySQL, and PHP Mac, Apache, MySQL, and PHP LAMP Linux, Apache, MySQL, and PHP

Recommended Server WampServer http://www.wampserver.com/en/

Text Editor PSPad Sublime Text NotePad++

IDE Aptana Studio PHP Designer NetBeans …

Remote Server http://www.000webhost.com/ http://www.heliohost.org/home/ Plus FTP client, e.g., FileZilla

Installing WAMP Download Run Setup

Go with default options

Choose the browser you want to use

Troubleshooting installation issues Install the Visual C++ 2012 redistributable before going ahead with the WampServer install http://www.microsoft.com/en-us/download/details.aspx?id=30679

Testing the WAMP Installation If your WAMP icon does not turn green, try switching Skype off and restarting the server

Incorporating PHP Within HTML Your document should have a .php extension

View Source

Basic syntax overview

Comments

End of statement semi-colon

$ at start of variable names

String Variables

Numeric Variables

Arrays

Multi-dimensional arrays

Variable naming rules

Arithmetic Operators

Assignment Operators

Comparison Operators

Logical Operators

String Concatenation

String Types Single quote evaluates string as a literal.

String Types Double quote enables evaluation of any variables included inside.

Escape Character \t, \n and \r can also be used

Multiple Line Commands

Multiple Line Commands

Multiple Line Commands

Multiple Line Commands

Variable Typing Loosely typed Variables need not be declared before they are used

Automatic Conversion

Automatic Conversion

Constants

Predefined Constants

print Can be used within complex expressions unlike echo

Lecture content adapted from chapters 2 & 3 of Learning PHP, MySQL, JavaScript, CSS & HTML5, 3rd Edition, by Robin Nixon.