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

Slides:



Advertisements
Similar presentations
Web 2.0 Programming 1 © Tongji University, Computer Science and Technology. Web Web Programming Technology 2012.
Advertisements

1. XP 2 * The Web is a collection of files that reside on computers, called Web servers. * Web servers are connected to each other through the Internet.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 The Web Wizards Guide to PHP by David A. Lash.
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 1 Introduction to Perl and CGI.
Introduction to HTML, XHTML, and CSS
E-Commerce CMM503 – Lecture 8 Stuart Watt Room C2.
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
Overview Environment for Internet database connectivity
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
Week 1.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Lecture 4 Term 2 Introduction to PHP 30/1/12. Server Side Scripting This is a web server technology in which a user's request is fulfilled by running.
DT211/3 Internet Development Application Internet Development Application.
Website Development with PHP and MySQL Introduction.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
Server & Client  Client: Your computer  Server: Powerful & Expensive computer. Requires network access.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
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.
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.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Intro to PHP Introduction to server-side scripts (It’s all good :D) © TAFE NSW
INTRODUCTION TO WEB DATABASE PROGRAMMING
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.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
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.
PHP PHP: Hypertext Preprocessing Preston Brinks and Sean McKenzie.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
PHP and MySQL by Example COMP YL Professor Mattos.
Website Design Lecture 1. Outline Introduction to the module Outline of the Assessment Schedule Lecture Static XHTML, client side and server side Why.
Server & Client  Client: Your computer  Server: Powerful & Expensive computer. Requires network access.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Introduction to PHP Advanced Database System Lab no.1.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
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.
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
1 CSC 301 Web Programming Charles Frank. PHP – Stands for:  Personal Home Page (originally),  PHP: Hypertext Preprocessor (now; follows GNU’s recursive.
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.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - 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.
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.
G046 – Lecture 2A Recognising Web-Technologies Mr C Johnston ICT Teacher
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 Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
CGS 3066: Web Programming and Design Spring 2017
Introduction to Dynamic Web Programming
CSC 301 Web Programming Charles Frank.
Introduction and Principles
PHP / MySQL Introduction
Database Driven Websites
IntroductionToPHP Static vs. Dynamic websites
Introduction to PHP.
Web Application Development Using PHP
Presentation transcript:

IS 6116 Introduction – 10 Jan 2011

Lecturer Details Aonghus Sugrue Website: aonghussugrue.wordpress.com Room 2.110, ORahilly Building, University College Cork

Schedule Week CommencingMonday 1-3pm 03-JanBank Holiday 10-JanIntroduction & Php 17-Jan 24-Jan 31-Jan 07-Feb 14-Feb 21-Feb 28-Feb 07-Mar 14-Mar 21-MarReview Lecture 28-MarStudy Week Continuous Assessment 19 th Feb – Project Part 1 19 th March – Project Part 2

Continuous Assessment 20% of total module grade 2 parts 1.19th Feb – Project Part 1 (10%) 2.19th March – Project Part 2 (10%) Develop a fully functional website with server side scripting and database backend Details to follow in due course!

Term 1 Focused on xHTML; CSS; and Javascript. These are all client side technologies – In other words the code is processed on the machine where the code is being run – your computer! Static Web Site creation

Term 2 Continue to use these client side technologies but… – Utilise server side technologies – PHP server side scripting and Database WHY??

Client Side Limitations Static webpages Hard to maintain Not easily scalable

Client Side + Server Side Enables dynamic website creation Scalable Enables the use of backend Database

9 Introduction to PHP PHP is a powerful server-side scripting language for creating dynamic and interactive websites PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP PHP is perfectly suited for Web development and can be embedded directly into the HTML code

10 PHP The PHP syntax is very similar to Perl and C PHP is often used together with Apache (web server) on various operating systems making up the what is known as the LAMP server – LAMP = Linux; Apache; MySQL; and PHP – LAMP is a very powerful open source alternative to proprietary web server solutions

11 Serving a PHP file Here are some fun things to do: 1.Go shopping 2.Play soccer URL: funstuff.php 3. Receive Request, find file and read it 4. Execute PHP statements 5. Send back results 6. Return Results 2. Send Request for PHP file 1. User enters web address to PHP file 7. Receive and interpret HTML file WEB SERVER Internet – Connect to Web Browser

12 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 many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.) PHP is an open source software (OSS) PHP is free to download and use

13 What is PHP? It is a server –side scripting language designed for the web. PHP is embedded into HTML and is executed each time the web page is visited. PHP is interpreted by the web server and generates HTML code or other output for the user to see.

14 More on PHP PHP is an open source product. You have access to the source code. You can use it, alter it and redistribute it without charge. PHP originally Personal Home Page, now stands for PHP hypertext preprocessor.

15 Advantages of PHP Performance Database Integration Built-in libraries Cost Portability Source Code

16 Development Environment Server-side scripting - You need three things to make this work. The PHP parser (CGI or server module), a webserver and a web browser. You need to run the webserver, with a connected PHP installation. You can access the PHP program output with a web browser, viewing the PHP page through the server.

17 Programming PHP A typical PHP file includes: – HTML – PHP tags – PHP statements – Whitespace – Comments Note When you view the source of an PHP file on the client side you will not see the server side script, all you may view is the HTML generated.

18 PHP Tags <?php echo Order Processed; ?> This is the default tag used for PHP development.

19 Example 1 Example <?php echo "Hi, I'm a PHP script!"; ?>

20 Whitespace Can improve code readability. The addition of white space does not affect the execution of your code. White space makes your PHP file bigger but makes the code more readable.