Class03 Introduction to Web Development (Hierarchy and the IDE) MIS 3501, Spring 2016 Jeremy Shafer 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

Murach's PHP and MySQL, C2© 2010, Mike Murach & Associates, Inc.Slide 1.
Murach's PHP and MySQL, C2© 2010, Mike Murach & Associates, Inc.Slide 1.
Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
Murach's PHP and MySQL, C4© 2010, Mike Murach & Associates, Inc.Slide 1.
Murach's PHP and MySQL, C4© 2010, Mike Murach & Associates, Inc.Slide 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.
Inline, Internal, and External FIle
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Website Development & Management Introduction & Overview CIT Fall Instructor: John Seydel, Ph.D.
Chapter 1: Introduction to Web
Server-side Scripting Powering the webs favourite services.
Class03 Introduction to Web Development with PHP MIS 3501, Fall 2015 Brad Greenwood, PhD MBA Department of MIS Fox School of Business Temple University.
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Murach's HTML5 and CSS3, C1© 2012, Mike Murach & Associates, Inc. Slide 1.
Unit 1 – Web Concepts Instructor: Brent Presley.
Web Development in Microsoft Visual Studio 2013 / 2015.
Course Introduction MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/12/2016.
HTML Introduction 2-1. Lecture 6 HTML - HyperText Markup Language  not a programming language  structure text into title, body, paragraphs, lists, links,
Chapter 1 Murach's JavaScript and jQuery, C1© 2012, Mike Murach & Associates, Inc.Slide 1.
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.
Responsive Web Design (RWD) MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/11/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 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.
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.
Sessions and cookies MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 4/12/2016.
National College of Science & Information Technology.
JavaScript, AJAX and JSON MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/9/2016.
© 2010, Mike Murach & Associates, Inc.
Class03 Introduction to Web Development (Hierarchy and the IDE)
Brad N Greenwood, PhD MBA
Sessions and cookies MIS 3501 Jeremy Shafer Department of MIS
Tonga Institute of Higher Education IT 141: Information Systems
Introduction to Dynamic Web Programming
Organize your code with MVC
Introduction to web development concepts
Introduction to Web Development (Part 2)
PHP: includes MIS 3501 Jeremy Shafer Department of MIS
Sessions and cookies (part 2)
Form Data (part 1) MIS 3502, Fall 2015 Jeremy Shafer Department of MIS
Class07 PHP: loops and includes
How to get data from a form
© 2010, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
Web Browser server client 3-Tier Architecture Apache web server PHP
Organize your code with MVC
Tonga Institute of Higher Education IT 141: Information Systems
© 2010, Mike Murach & Associates, Inc.
Introduction to relational databases and MySQL
Sessions and cookies (part 1)
Class07 PHP: loops MIS 3501 Jeremy Shafer Department of MIS
Overview of HTML.
Class05 How to get data from a form
Tonga Institute of Higher Education IT 141: Information Systems
Sessions and cookies MIS 3501 Jeremy Shafer Department of MIS
Class11 Introduction to relational databases and MySQL
© 2010, Mike Murach & Associates, Inc.
Web Application Development Using PHP
Intro to Programming (in JavaScript)
© 2017, Mike Murach & Associates, Inc.
Presentation transcript:

Class03 Introduction to Web Development (Hierarchy and the IDE) MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/19/2016

MySQL Weeks 6 & 7 HTML & CSS Weeks 1 & 2 PHP Weeks 3 – 5 PDO Week 8 & 9 Course Overview To do: Organize your code with MVC (week 11) Work with forms (week 12) Use cookies and sessions (week 13) Slide 2 ** This is all in the syllabus. You should really read the syllabus. We are here.

The Internet 3 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. 4 Discuss: Why are index.htm, index.html and index.php called “default pages”?

© 2014, Mike Murach & Associates, Inc. 5 Discuss: Depending on the configuration of a server, you may not see a folder structure like this. Why would a server administrator choose to restrict a view like this?

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

PHP… Getting Going 7 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. 8 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. 9 Hey, where’s the php code? Why can’t we see it here?

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

© 2014, Mike Murach & Associates, Inc. 11

But This Class is About Creation… 12 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 Errors and warnings are highlighted The syntax of multiple languages is stored in the IDE, and tool-tips are provided Code templates may be provided (depending on the kind of project)

© 2014, Mike Murach & Associates, Inc. 13

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

© 2014, Mike Murach & Associates, Inc. 15

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

© 2014, Mike Murach & Associates, Inc. 17