PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.

Slides:



Advertisements
Similar presentations
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
Advertisements

Session 1 & 2BBK P1 Module5-May-2007 : [‹#›] PHP: The Basics.
Server-Side vs. Client-Side Scripting Languages
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
1 Web Wizards Guide To PHP David Lash Chapter 1 Introduction to PHP.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
ECA 228 Internet/Intranet Design I Intro to the Web.
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).
8/17/2015CS346 PHP1 Module 1 Introduction to 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.
PHP Web Development, PHP Programming
PHP Workshop ‹#› PHP: The Basics. PHP Workshop ‹#› What is it? PHP is a scripting language commonly used on web servers. –Stands for “PHP: Hypertext Preprocessor”
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Powerpoint Templates Page 1 Powerpoint Templates Web Programming PHP MySql Ikbal Jamaludin.
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.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
IDK0040 Võrgurakendused I harjutus 06: PHP: Introduction Deniss Kumlander.
PHP Professor Waterman. Agenda What is PHP Versions HTML Dynamic Web sites Interactive Web Sites Installing PHP Transfer pages to a Web hosting service.
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.
Nael Alian Introduction to PHP
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Introduction to CS520/CS596_026 Lecture Two Gordon Tian Fall 2015.
Intro to PHP IST2101. Review: HTML & Tags 2IST210.
Introduction to PHP Advanced Database System Lab no.1.
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 PHP supports.
Introduction to Web Programming. Introduction to PHP What is PHP? What is a PHP File? What is MySQL? Why PHP? Where to Start?
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.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
PHP Introduction PHP is a server-side scripting language.
An Investigation into using a Document Management System Presented by: Bijal RanaSupervisor: John Ebden.
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.
Company LOGO In the Name of Allah,The Most Gracious, The Most Merciful King Khalid University College of Computer and Information System Web pages 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,
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
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.
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.
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 using MySQL Database for Web Development (part II)
A PRESENTATION ON (IN PHP,CSS,HTML)
Introduction to Dynamic Web Programming
ITM352 PHP and Dynamic Web Pages: Server Side Processing 1.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
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: Hypertext Preprocessor)
* Lecture # 7 Instructor: Rida Noor Department of Computer Science
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 Introduction.
Web Systems Development (CSC-215)
Module 1 Introduction to PHP 11/30/2018 CS346 PHP.
IntroductionToPHP Static vs. Dynamic websites
Intro to PHP.
Tutorial 6 PHP & MySQL Li Xu
Introduction to PHP.
23 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:

PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT

Software needed in developing E-commerce Application SERVER WAMPSERVER SCRIPTING LANGUAGE PHP DATABASE MANAGEMENT SYSTEM MySQL TEXT EDITOR Notepad++ WEB USER INTERFACE DESIGNER Microsoft Expression Web ITBS2203 E-Commerce for IT

WAMPSERVER http://www.wampserver.com/en/ ITBS2203 E-Commerce for IT

What is PHP? Recursive acronym for PHP: Hypertext Preprocessor Open Source general purpose scripting language Server-side scripting language Cross-platform Embedded into HTML Syntax almost similar to C, C++, Java Pervasive tools for web applications ITBS2203 E-Commerce for IT

Features of PHP PHP is excellent for creating dynamic Web sites based on database content or different characteristics of browsers. build templates to ease site maintenance create graphics on the fly serve different content to users based on their browser, conduct online surveys connect databases like Oracle, Informix or MySQL to the Web And many others ITBS2203 E-Commerce for IT

Why Choose PHP? Free to download and use Open source software Easier to learn PHP5 now offers many object orientated development concepts Runs on Apache server which is open source. Has multiple platform support (Windows, Linux, Unix, etc.). You can develop in Windows and serve on a Unix platform. Has a huge support to many databases as it is open source ITBS2203 E-Commerce for IT

Where to download PHP http://php.net http://php.net/ ITBS2203 E-Commerce for IT

What is MySQL? MySQL is a database server (relational Database Management System). It is the world's most popular open source database and it is free to download and use. ITBS2203 E-Commerce for IT

Where to download MySQL http://dev.mysql.com/ ITBS2203 E-Commerce for IT

PHP Basics and Syntax PHP file is a text file and can be created by any text editor. Open Notepad++ PHP file may contain HTML tags and/or PHP statements. PHP file must be saved in the correct web directory (folder) of the web server called the document root(c:/wamp/www). PHP files that includes PHP statements must be saved with the extension *.php ITBS2203 E-Commerce for IT

PHP Basics and Syntax All PHP statements must be enclosed within opening and closing tags. <?php  echo "<h1>Welcome to SCT.</h1>";  ?> ITBS2203 E-Commerce for IT

PHP Basics and Syntax PHP is case sensitive, $name is different from $Name. Comments can be made within the script, and are enclosed within "/*" and "*/" brackets. For example: /* Comments can also be mixed with code, see? */ $e = 5; /* This works just fine. */ ITBS2203 E-Commerce for IT

PHP Basics and Syntax Output statement must be enclosed in double quotations (") or single quotation (’), and led by the echo or print statement. Example : echo “Hello world”; echo ‘Hello world’; PHP statement must end with semi-colon (;). ITBS2203 E-Commerce for IT