Welcome to CSE 330 Crea0ve Progamming and Rapid Prototyping. Course Informa0on



Similar documents
Introduction to Web Technologies

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

WEB DEVELOPMENT IA & IB (893 & 894)

Web Authoring CSS. Module Descriptor

Module 6 Web Page Concept and Design: Getting a Web Page Up and Running

Fast track to HTML & CSS 101 (Web Design)

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

IT3503 Web Development Techniques (Optional)

Short notes on webpage programming languages

Web Development I & II*

IT3504: Web Development Techniques (Optional)

Introduction to web development using XHTML and CSS. Lars Larsson. Today. Course introduction and information XHTML. CSS crash course.

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Looking Good! Troubleshooting Display Problems

Contents. Downloading the Data Files Centering Page Elements... 6

ITNP43: HTML Lecture 4

Introduction to Web Development

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Interactive Data Visualization for the Web Scott Murray

HTML and CSS. Elliot Davies. April 10th,

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Web. Programming. Hans- Pe0er Halvorsen, M.Sc. h0p://home.hit.no/~hansha/?page=sojware_development

JJY s Joomla 1.5 Template Design Tutorial:

CS134 Web Site Design & Development. Quiz1

Static webpages with Pelican

Introduction to web development and JavaScript

About webpage creation

Garfield Public Schools Fine & Practical Arts Curriculum Web Design

{color:blue; font-size: 12px;}

Advanced Web Design. Zac Van Note.

SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

GUIDE TO CODE KILLER RESPONSIVE S

Website Development Komodo Editor and HTML Intro

Chapter 1 Introduction to web development and PHP

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

Learning Web Design. Third Edition. A Beginner's Guide to (X)HTML, Style Sheets, and Web Graphics. Jennifer Niederst Robbins

WordPress and HTML Basics

ART 379 Web Design. HTML, XHTML & CSS: Introduction, 1-2

Intro to Web Design. ACM UIUC

KOMPOZER Web Design Software

Dreamweaver. Introduction to Editing Web Pages

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

AN INTRODUCTION TO WEBSITE DEVELOPMENT FOR COURSE WEBPAGES AT MICHIGAN STATE UNIVERSITY

FOUNDATION OF INFORMATION TECHNOLOGY Class-X (TERM II)

Blogger.com User Guide

Networks and Services

CIS 467/602-01: Data Visualization

The Web as a Client-Server System; TCP/IP intro!

Chapter 1. Introduction to web development

SI 539, Winter 2014 Complex Web Design

Database Communica/on in Visual Studio/C# using ASP.NET Web Forms. Hans- PeBer Halvorsen, M.Sc.

css href title software blog domain HTML div style address img h2 tag maintainingwebpages browser technology login network multimedia font-family

Web 2.0 Technology Overview. Lecture 8 GSL Peru 2014

Introduction to Adobe Dreamweaver CC

HTML, CSS, XML, and XSL

How to Properly Compose HTML Code : 1

Designing HTML s for Use in the Advanced Editor

MCH Strategic Data Best Practices Review

Contents. Introduction Downloading the Data Files... 2

WWW. World Wide Web Aka The Internet. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 30, 2007

What is a Web Browser? Web Site Functionality. A client program that uses HTTP to communicate with web servers.

Software Requirements Specification For Real Estate Web Site

10CS73:Web Programming

Lesson Overview. Getting Started. The Internet WWW

Taking your HTML s to the Next Level. Presented by: Joey Trogdon, Asst. Director of Financial Aid & Veterans Affairs Randolph Community College

TIME SCHEDULE OBJECTIVES

Coding HTML Tips, Tricks and Best Practices

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

CREATING WEB PAGES USING HTML INTRODUCTION

Internet Technologies_1. Doc. Ing. František Huňka, CSc.

Web Design for Programmers. Brian Hogan NAPCS Slides and content 2008 Brian P. Hogan Do not reproduce in any form without permission

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Microsoft Expression Web Quickstart Guide

ITP 101 Project 3 - Dreamweaver

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

The Essential Guide to HTML Design

Course Syllabus Web Page Design 2 IMED 2315

Table of Contents Recommendation Summary... 3 Introduction... 4 Formatting Recommendations... 5 Creative:... 7 Deliverability & Infrastructure:...

css href title software blog domain HTML div style address img h2 tag maintainingwebpages browser technology login network multimedia font-family

Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00

ICON UK 2015 node.js for Domino developers. Presenter: Matt White Company: LDC Via

SEO Optimization A Developer s Role

Introduction to XHTML. 2010, Robert K. Moniot 1

Web Design Technology

Responsive Web Design Creative License

Web Design and Databases WD: Class 7: HTML and CSS Part 3

Internet Technologies

Marketing 101 Maximizing Results

Syllabus INFO-GB Design and Development of Web and Mobile Applications (Especially for Start Ups)

Transcription:

Welcome to CSE 330 Crea0ve Progamming and Rapid Prototyping 1 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 1 Course Informa0on Instructor Todd Sproull todd@wustl.edu Jolley 538 Office Hours by Appointment Classroom McMillan G052 Time Monday and Wednesday 11:30 AM - 1 PM Course Website hkp://research.engineering.wustl.edu/~todd/cse330/ Labs Urbauer Lab, Rooms 214, 216, 218, and 222 Head TA Jimmy Carney (carneyjimmy@wustl.edu ) 2 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 2

Grading 7 modules to complete during the semester Most modules contain individual and group assignments Demo each completed module during lab Labs are due by the end of class (1 PM) You lose points each day azer that CSE 503S students will also complete a performance evalua0on study of their crea0ve project 3 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 3 What is this class all about? A tour of Web 2.0 technologies Cloud Compu[ng Amazon EC2 LAMP Linux Apache MySQL PHP Python Javascript 4 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 4

Cloud Compu0ng 5 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 5 What is Cloud Compu0ng? Cloud computing is using the Internet to access someone else's software running on someone else's hardware in someone else's data center. - Lewis Cunningham 6 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 6

Types of Cloud Compu0ng SaaS Software as a Service PaaS Platform as a Service IaaS Infrastructure as a Service 7 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 7 SoQware as a Service (SaaS) Cloud based delivery of complete soqware applica0ons that run on infrastructure the SaaS vendor manages Accessed over the Internet and typically charged on a subscrip0on Examples Gmail and Yahoo Mail Google Docs Box.net SaaS Software as a Service 8 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 8

PlaSorm as a Service (PaaS) Features Storage Databases Cloud Middleware Scalability Examples Google App Engine Amazon Web Services S3 Heroku PaaS Platform as a Service 9 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 9 Infrastructure as a Service (IaaS) Features Virtualiza[on Nearly instant scalability Everything is a service U[lity style (pay for what you use) Hardware, OS, SoZware, Storage & Network Examples Amazon Web Services (AWS) EMC Fortress (Storage Cloud) HP Adap[ve IaaS IaaS Infrastructure as a Service 10 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 10

Amazon Elas0c Cloud Compu0ng (EC2) This semester we are using Amazon Web Services (AWS) to run the Linux Opera0ng System in a virtual machine We avoid purchasing 100 PCs for the course Instead we have virtual machines (VM)s to use These machines our hosted in the cloud You connect to an instance of a par[cular configura[on of Linux 11 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 11 Amazon EC2 Costs You are only billed for the compu0ng resources you use When you are done using an instance you can stop it from running so you do not con0nue to be billed Free Tier available for limited use Sufficient for this course No need to stop a Free Tier instance for the en[re semester 12 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 12

Free Tier 13 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 13 How much does this cost? 14 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 14

AWS Website 15 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 15 Module 1 HTML and CSS HyperText Markup Language (HTML) Main markup language for displaying web pages in a web browser Cascading Style Sheets (CSS) Language for describing the look and feel of a markup language (such as HTML) 16 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 16

HTML History In 1989 Tim Berners- Lee introduced three technologies that allowed documents to be distributed and read HTML (HyperText Markup Language) A simple language to layout documents HTTP (Hypertext transfer protocol) Technology that transfers a page from one computer to another Browser Technology SoZware that reads the HTML pages 17 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 17 What is HTML? Ini0ally just a text file with a few special codes (called tags) Clear text, case insensi0ve Ignores white space Comprised of tags <tag> </tag> eg <p> This is some cool content inside a paragraph tag. </p> The tag and contents is called an element Stuff between the tags is the elements contents Elements have acributes Allow you to create a par[cular class of an element You can also create a unique id for an element 18 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 18

HTML Version Timeline 1992: HTML 1.0 original proposal 1994: HTML 2.0 1996: HTML 3.2, end of browser wars 1997: HTML 4.0, stylesheets introduced 1999: HTML 4.01, everyone is happy 2000: XHTML 1.0, an XML version of HTML 2001: XHTML 1.1 2002: XHTML 2.0 2008: HTML 5.0 published as working draq 2011: HTML 5 Last Call from HTML Working Group 19 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 19 HTML Fundamentals Document Structure < HTML > Header Body < / HTML> 20 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 20

HTML Fundamentals <html> <head> <0tle> The [tle of your html page </0tle> </head> <body> </body> </html> <! - - your web page content and markup - - > 21 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 21 HTML Simple Example <html> <head> <0tle> My first webpage </0tle> </head> <body> Hello World <! - - This is a boring webpage - - > </body> </html> 22 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 22

header <body> HTML Fundamentals - Example Todd Sproull Here is my contact info: </body> 23 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 23 HTML Example DEMO 24 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 24

HTML - Fundamentals header <body> Todd Sproull <br><br> Here is my contact info:<br> </body> 25 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 25 HTML - Fundamentals header <body> Todd Sproull <br> <br> Here is my contact info: <br> <ol> <li>office: Jolley Hall, Room 538</li> <li>email: todd@wustl.edu</li> <li>phone:314-935- 7140</li> </ol> </body> 26 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 26

HTML - Fundamentals header <body> Todd Sproull <br> <br> Here is my contact info: <br> <ol><li>office: Jolley Hall, Room 538<li> <li>email: todd@wustl.edu <li>phone:314-935- 7140</li></ol> <img src= hkp://www.myserver.com/images/ me.jpg /> </body> 27 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 27 HTML - Fundamentals header <body> Todd Sproull <br> <br> Here is my contact info: <br> <ol><li>office: Jolley Hall, Room 538<li> <li>email: todd@wustl.edu <li>phone:314-935- 7140</li> <img src= me.jpg /> <br></ol> <a href= cse436.html >Read about my iphone class</a> </body> 28 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 28

HTML Compliance We want to follow best prac0ces and adhere to standards when possible in this course W3C provides an online Markup Valida0on Service for us to test out our web pages hkp://validator.w3.org/ All web pages developed in this course must pass this valida0on 29 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 29 HTML and CSS Tutorials Plenty of really good examples available online hkp://classes.engineering.wustl.edu/cse330/index.php/ HTML_and_CSS hkp://webplauorm.org A basic understanding of HTML is necessary for this course The goal of this course is not to teach all of the amazing aspects of web design But you MUST create W3C compliant web pages The header <!DOCTYPE HTML> declares an HTML 5 webpage Which is what we will use in this course 30 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 30

Cascading Style Sheets A powerful way to specify styles and formajng across all documents in a web site Style sheets can be specified inline or as a separate document Helps to keep a common look and feel 31 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 31 Cascading Style Sheets (CSS) Styles enable you to define a consistent 'look' for your documents by describing once how headings, paragraphs, quotes, etc. should be displayed. Style sheet syntax is made up of three parts: selector {property: value} selector = element.class 32 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 32

CSS General form: selector {property: value} or selector {property 1: value 1; property 2: value 2;... property n: value n } 33 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 33 CSS Examples H1 is an element. Which is the CSS Selector text-align is the property center is the value H1 {text-align: center; color: blue; font: Arial, Times New Roman} P {text-align: left; color: red; font-family: Tahoma, Arial Narrow; font-style: italics} 34 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 34

Using CSS - Example Page <head> <0tle> My Page Title </0tle> <style TYPE="text/css > <! - - element.class { property:value; } element.class { property:value; } - - > </style> </head> 35 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 35 Using CSS - Example Page <html> <head> <0tle> CSS Example </0tle> <style TYPE="text/css > h1 { color:blue; } </style> </head> <body> <h1> Hello </h1> </body> </html> 36 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 36

CSS Examples h1 {text- align: center; color: blue} a {color:green; font- familiy:arial,courier; font- weight:bold;} td { align:center; background- color:grey; border- color:red;} div {posi0on:absolute; visibily:hidden; margin:10px } font {color:navy; font- size:2pt; font- face:trebuchet; } 37 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 37 More CSS Examples - Classes element.class {property:value; } h1 {color: blue} h1.widget {color: green; } a {color:green; font- familiy:arial,courier; font- weight:bold;} a.menu {color:cyan; font- familiy:arial,courier; font- style:italics;} <h1> Hello </h1> <h1 class= widget > Hello again </h1> 38 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 38

Using CSS Classes - Example Page <html> <head> <0tle> CSS Example </0tle> <style TYPE="text/css > h1 { color:blue; } h1.widget { color:green; } </style> </head> <body> <h1> Hello </h1> <h1 class= widget > Hello again </h1> </body> </html> 39 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 39 CSS DEMO 40 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 40

HTML Forms <form> is just another kind of HTML tag HTML forms are used to create (rather primi0ve) GUIs on Web pages Usually the purpose is to ask the user for informa[on The informa[on is then sent back to the server A form is an area that can contain form elements Forms can be used for other things, such as a GUI for simple programs 41 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 41 The <form> tag The <form arguments>... </form> tag encloses form elements (and probably other HTML as well) The arguments to form tell what to do with the user input action="url" (required) Specifies where to send the data when the Submit bukon is clicked method="get" (default) Form data is sent as a URL with?form_data info appended to the end Can be used only if data is all ASCII and not more than 100 characters method="post" Form data is sent in the body of the URL request Cannot be bookmarked by most browsers target="target" Tells where to open the page sent as a result of the request target= _blank means open in a new window target= _top means use the same window 42 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 42

HTML Form Example formexampleget.html <!DOCTYPE HTML> <head> <title> My HTML Form </title></head> <body> <form name="input" action= http://somewebsite.com/ method="get"> Username: <input type="text" name="user" /> <input type="submit" value="submit" /> </form> </body> </form> 43 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 43 HTML Forms DEMO 44 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 44

Get vs Post Mantra you "must not use GET requests to make changes" GET should never change data on the server Differences: hkp://stackoverflow.com/ques[ons/198462/is- either- get- or- post- more- secure- than- the- other hkp://www.diffen.com/difference/get_vs_post 45 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 45 Course Wiki 46 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 46

Piazza 47 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 47 Git 48 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 48

Git: A Fast Version Control System Git Is distributed Has no master copy Has fast merges Scales up Convenient tools s[ll being built Safeguards against corrup[on 49 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 49 What is version control? Basic func0onality: keep track of changes made to files (allows roll- backs) merge the contribu[ons of mul[ple developers Benefits: facilitates backups increased produc[vity (vs manual version control) encourages experimenta[on helps to iden[fy/fix conflicts makes source readily available less duplicated effort 50 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 50

Our First Git Repository mkdir first-git-repo cd first-git-repo git init Creates the basic ar[facts in the.git directory echo Hello World > hello.txt git add. Adds content to the index Index reflects the working version Must be run prior to a commit git commit -a -m Check in number one We will cover Git in more detail in later modules 51 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 51 Demo of Git 52 Extensible - CSE 330 Creative Networking Programming Platform and Rapid Prototyping 52