Class03 Introduction to Web Development with PHP MIS 3501, Fall 2015 Brad Greenwood, PhD MBA Department of MIS Fox School of Business Temple University.

Slides:



Advertisements
Similar presentations
Client-server practices DSC340 Mike Pangburn. Agenda Overview of client-server development Editing on client (e.g., Notepad) or directly on server (e.g.,
Advertisements

Understand Web Page Development Software Development Fundamentals LESSON 4.1.
SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.
Multiple Tiers in Action
IST 221 Internet Concepts and Applications Internet, WWW and HTML 1.
Website Development with PHP and MySQL Introduction.
Creating an HTML page Skills: edit and debug HTML pages IT concepts: text editor This work is licensed under a Creative Commons Attribution-Noncommercial-
CS 160: Software Engineering August 27 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Website Development & Management Introduction & Overview CIT Fall Instructor: John Seydel, Ph.D.
Chapter 1: Introduction to Web
With your friendly Web Developer, Chris.. Terminology  HTML - > Hypertext Markup Language  CSS -> Cascading Style Sheet  open tag  close tag  HTTP->Hypertext.
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.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Class02 Introduction to web development with PHP MIS 3501, Fall 2015 Brad N Greenwood Department of MIS Fox School of Business Temple University 8/27/2015.
20-753: Fundamentals of Web Programming 1 Lecture 1: Introduction Fundamentals of Web Programming Lecture 1: Introduction.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
1 3. Computing System Fundamentals 3.1 Language Translators.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Intro to PHP IST2101. Review: HTML & Tags 2IST210.
Web Programming Brian Toone 8/27/2014. Outline for today 1.Understanding the architecture of the web 2.Overview of programming languages – Client-side.
Murach's HTML5 and CSS3, C1© 2012, Mike Murach & Associates, Inc. Slide 1.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
WHAT IS SERVER SIDE SCRIPTING? Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the.
Unit 1 – Web Concepts Instructor: Brent Presley.
Class11 Introduction to relational databases and MySQL MIS 3501, Fall 2015 Brad Greenwood, PhD MBA Department of MIS Fox School of Business Temple University.
Class06 Conditional Statements MIS 3501, Fall 2015 Brad Greenwood, PhD MBA Department of MIS Fox School of Business Temple University 9/10/2015 © 2014,
Course Introduction MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/12/2016.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 2: Introduction to IS2803 Rob Gleasure
Class03 Introduction to Web Development (Hierarchy and the IDE) MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Class02 More Arrays MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/14/2016.
Sessions and cookies (part 2) MIS 3501, Fall 2015 Brad N Greenwood, PhD Department of MIS Fox School of Business Temple University 11/19/2015.
Form Data (part 2) MIS 3502, Fall 2015 Brad N Greenwood, PhD Department of MIS Fox School of Business Temple University 11/10/2015 Slide 1.
Form Data (part 1) MIS 3502, Fall 2015 Brad Greenwood, PhD Department of MIS Fox School of Business Temple University 11/10/2015.
Introduction to AJAX MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/4/2016.
Class07 PHP: loops and includes MIS 3501, Fall 2015 Brad Greenwood, PhD MBA Department of MIS Fox School of Business Temple University 9/15/2015.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
IST 210: PHP Basics IST 210: Organization of Data IST2101.
Class05 How to get data from a form MIS 3501, Fall 2015 Brad N Greenwood, PhD MBA Department of MIS Fox School of Business Temple University 9/8/2015.
Basics Components of Web Design & Development Basics, Components, Design and Development.
Class02 Introduction to web development concepts MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/14/2016.
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.
Class03 Introduction to Web Development (Hierarchy and the IDE)
Brad N Greenwood, PhD MBA
Tonga Institute of Higher Education IT 141: Information Systems
Organize your code with MVC
Introduction to Web Development (Part 2)
PHP: includes MIS 3501 Jeremy Shafer Department of MIS
Sessions and cookies (part 2)
Class07 PHP: loops and includes
Tonga Institute of Higher Education IT 141: Information Systems
Class07 PHP: loops MIS 3501 Jeremy Shafer Department of MIS
Class08 Using the Documentation
Class05 How to get data from a form
Tonga Institute of Higher Education IT 141: Information Systems
Class11 Introduction to relational databases and MySQL
Web Application Development Using PHP
© 2017, Mike Murach & Associates, Inc.
Presentation transcript:

Class03 Introduction to Web Development with PHP MIS 3501, Fall 2015 Brad Greenwood, PhD MBA Department of MIS Fox School of Business Temple University 9/1/2015

Housekeeping 2 Three Things 1.Challenges i.I have spoken with Professor Shafer and we realized we were out of sync ii.From now on I request you hand in a physical copy, i.e. print off, of your challenges the day they are due iii.This is not the case today 2.Work station etiquette i.It has been brought to our attention that not everyone is cleaning up their machines at the end of class, i.e. deleting code. ii.This is impolite, which is bad iii.This also creates a potential for cheating, which is also bad 3.Your Code i.In the strongest possible language, if another student hands in your code, e.g. for a quiz that may or may not be held on Thursday Sept 3 rd, both students will enter the judicial process ii.“It doesn’t matter who started it” – Every Parental Figure ( ) iii.We are keenly skilled at detecting these things, we even have tools to do it for us

MySQL Weeks 5 & 6 HTML & CSS Weeks 1 & 2 PHP Weeks 3 & 4 PDO Week 7 Course Overview 3 To do: Organize your code with MVC (week 8) Debug your code (week 9) Work with forms (week 10) Use arrays (week 11 & 12) Use sessions (week 13) We are here!

The Internet 4 We talked about this last time, but the internet is made up of a series of computers which are exchanging information. Imagine a restaurant… Your computer is a client… it makes a request of the waiter. The language they speak is TCP/IP The waiter is a server… it brings back what has been requested Sometimes the client is not allowed to have what has been requested… the server will say no (like an angry spouse) If we want to stretch the metaphor to the breaking point, your plate is a web browser… it displays things in http… salad plates do ftp… What is important to remember though, is that the internet is just computers talking to computers. And the computer that your computer is talking to, has a file structure just like your computer (i.e. folders and files).

© 2014, Mike Murach & Associates, Inc. 5 Discuss: Why are index.htm, index.html and index.php called “default pages”?

© 2014, Mike Murach & Associates, Inc. 6 Discuss: Depending on the configuration of a server you may, or may not, see a folder structure like this. Why would a server administrator choose to present things graphically vs. in a file structure?

Just for Emphasis © 2014, Mike Murach & Associates, Inc. 7 See? No file specified here. *But* index.html was present.

PHP… Getting Going 8 Lets chat about PHP PHP was designed a server side scripting language (it can be used for general purpose programming now as well) Others Include: ASP, ASP.NET, R, Perl, JavaScript, Python, Ruby on Rails As a concept Some programs are run on your local machine e.g. HTML Server side languages run on the SERVER, which renders CUSTOMIZED results for each machine This is different from things like JavaScript where the code is embedded

© 2014, Mike Murach & Associates, Inc. 9 Watch out! Forgetting to refresh your browser is a common mistake for beginners. Also - you may encounter situations where it appears your changes are not taking effect. If that’s happening make sure that: 1.You are editing the right page 2.Completely shut down and restart your browser

© 2014, Mike Murach & Associates, Inc. 10 Hey, where’s the php code? Why can’t we see it here?

© 2014, Mike Murach & Associates, Inc. 11 Remember where the PHP code resides?

© 2014, Mike Murach & Associates, Inc. 12

But This Class is About Creation… 13 In this class we don’t want to just view code You could code in a text editor, e.g. notepad. This would be a pain though Instead we often code in an “Integrated Development Environment” (IDE) IDE’s offer a few benefits They may format code for you (aesthetic). You’ll see why this is important later They may have compilers and interpreters for you (which streamline the development process) They often has nice graphic user interfaces (GUIs), these can automatically generate code for you Recall your experience with the ePortfolio project in 2101 They often integrate multiple different code bases for you

© 2014, Mike Murach & Associates, Inc. 14

© 2014, Mike Murach & Associates, Inc. 15

Auto-completion list for names that start with $d Error icon Warning icons © 2014, Mike Murach & Associates, Inc. 16

© 2014, Mike Murach & Associates, Inc. 17

© 2014, Mike Murach & Associates, Inc. 18 Most of the time, we will take this option when creating a new project.

© 2014, Mike Murach & Associates, Inc. 19