Академический Документы
Профессиональный Документы
Культура Документы
to CSE 330/503
Crea2ve Programming and Rapid
Prototyping
1 Extensible Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 1
Course Informa2on
Instructor
Todd Sproull
todd@wustl.edu
Jolley 536
Oce Hours by Appointment
Course Website
hAp://research.engineering.wustl.edu/~todd/cse330/
Labs
Urbauer Lab, Rooms 214 ,215, 216, 218, and 222
2 Extensible Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 2
Grading
6 modules to complete during the semester
You must commit the module by the end of class to receive credit
Otherwise it is a 0
You may demo a lab that was commiAed on Qme up to 4 days aRer the due
date for full credit
CSE 503S students will also complete a performance evalua2on study
of their crea2ve project
3 Extensible Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 3
4 Extensible Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 4
Cloud Compu2ng
5 Extensible Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 5
- Lewis Cunningham
6 Extensible Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 6
Types of Cloud Compu2ng
SaaS
Software as a Service
PaaS
Platform as a Service
IaaS
Infrastructure as a Service
7 Extensible Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 7
Examples
Gmail and Yahoo Mail
Google Docs
Box.net
Ne`lix SaaS
Software as a Service
8 Extensible Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 8
PlaUorm 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 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 9
Examples
Amazon Web Services (AWS)
EMC Fortress (Storage Cloud)
HP AdapQve IaaS
IaaS
Infrastructure as a Service
Extensible
10 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 10
Amazon Elas2c Cloud Compu2ng (EC2)
11Extensible Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 11
Extensible
13 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 13
Extensible
14 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 14
AWS Website
Extensible
15 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 15
Extensible
16 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 16
Module 1 HTML and CSS
Extensible
17 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 17
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
Browser Technology
SoRware that reads the HTML pages
Extensible
18 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 18
What is HTML?
Extensible
19 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 19
Extensible
20 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 20
HTML Fundamentals
Document Structure
< HTML >
Header
Body
< / HTML>
Extensible
21 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 21
HTML Fundamentals
<html>
<head>
<2tle> The Qtle of your html page </2tle>
</head>
<body>
<! - - your web page content and markup - ->
</body>
</html>
Extensible
22 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 22
HTML Simple Example
<html>
<head>
<2tle> My rst webpage </2tle>
</head>
<body>
Hello World
<! - - This is a boring webpage - ->
</body>
</html>
Extensible
23 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 23
Extensible
24 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 24
HTML - Fundamentals
header
<body>
Todd Sproull <br><br>
Here is my contact info:<br>
</body>
Extensible
25 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 25
HTML - Fundamentals
header
<body>
Todd Sproull <br> <br>
Here is my contact info: <br>
<ol>
<li>Oce: Jolley Hall, Room 536</li>
<li>Email: todd@wustl.edu</li>
<li>Phone:314-935-7140</li>
</ol>
</body>
Extensible
26 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 26
HTML - Fundamentals
header
<body>
Todd Sproull <br> <br>
Here is my contact info: <br>
<ol><li>Oce: Jolley Hall, Room 536<li>
<li>Email: todd@wustl.edu
<li>Phone:314-935-7140</li></ol>
<img src= hAp://www.myserver.com/images/
me.jpg />
</body>
Extensible
27 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 27
HTML - Fundamentals
header
<body>
Todd Sproull <br> <br>
Here is my contact info: <br>
<ol><li>Oce: Jolley Hall, Room 536<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>
Extensible
28 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 28
HTML Example
DEMO
Extensible
29 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 29
HTML Compliance
We want to follow best prac2ces and adhere to
standards when possible in this course
Extensible
30 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 30
HTML and CSS Tutorials
Plenty of really good examples available online
hAp://classes.engineering.wustl.edu/cse330/index.php/
HTML_and_CSS
hAp://webpla`orm.org
A basic understanding of HTML is necessary for this course
Extensible
31 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 31
Extensible
32 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 32
Cascading Style Sheets (CSS)
Styles enable you to dene a consistent 'look' for
your documents by describing once how headings,
paragraphs, quotes, etc. should be displayed.
Extensible
33 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 33
CSS
General form:
Extensible
34 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 34
CSS Examples
H1 is an text-align center is
element. is the the value
Which is property
the CSS
Selector
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}
Extensible
35 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 35
Extensible
36 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 36
Using CSS - Example Page
<html>
<head>
<2tle> CSS Example </2tle>
<style TYPE="text/css >
h1 { color:blue; }
</style>
</head>
<body>
<h1> Hello </h1>
</body>
</html>
Extensible
37 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 37
Extensible
38 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 38
CSS Examples
Extensible
39 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 39
Extensible
40 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 40
Using CSS Classes - Example Page
<html>
<head>
<2tle> CSS Example </2tle>
<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>
Extensible
41 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 41
Extensible
42 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 42
HTML Forms
Extensible
43 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 43
Extensible
44 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 44
HTML Form Example
formExampleGet.html
<!DOCTYPE HTML>
<head> <title> My HTML Form </title></head>
<body>
<form name="input" action=http://someWebsite.com/ method="get">
</form>
</body>
</form>
Extensible
45 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 45
HTML Forms
DEMO
Extensible
46 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 46
Get vs Post
Mantra
you "must not use GET requests to make changes"
Dierences:
hAp://stackoverow.com/quesQons/198462/is-
either-get-or-post-more-secure-than-the-other
hAp://www.dien.com/dierence/Get_vs_Post
Extensible
47 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 47
Extensible
48 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 48
Piazza
We are using Piazza as a forum to answer ques2ons
about the course
Make sure you sign up at piazza.com and join the
CSE 330 course discussion
Extensible
49 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 49
Collabora2on Policy
hAp://research.engineering.wustl.edu/~todd/cse330/info.html
Extensible
50 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 50
Git
Extensible
51 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 51
Extensible
52 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 52
What is version control?
Basic func2onality:
keep track of changes made to les (allows roll-backs)
merge the contribuQons of mulQple developers
Benets:
facilitates backups
increased producQvity (vs manual version control)
encourages experimentaQon
helps to idenQfy/x conicts
makes source readily available less duplicated eort
Extensible
53 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 53
Extensible
55 Networking
- CSE 330 Creative Platform
Programming and Rapid Prototyping 55