1 / 20

CGS – 4854 Summer 2012

CGS – 4854 Summer 2012 . Instructor: Francisco R. Ortega Date: May 5 th ,2012. Web Site Construction and Management. “ The most profound technologies are those that disappear ” The computer for the 21st century Mark Weiser, 1999 Father of ubiquitous computing .

marisa
Download Presentation

CGS – 4854 Summer 2012

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CGS – 4854 Summer 2012 Instructor: Francisco R. Ortega Date: May 5th ,2012 Web Site Construction and Management

  2. “The most profound technologies are those that disappear” The computer for the 21st century Mark Weiser, 1999 Father of ubiquitous computing

  3. Today’s Lecture – 05/05/12 • We will review Java • We will cover part of Chapter 1 • Remember I have office hours Today!

  4. Protocol • What is a protocol? • an agreement between states.(reference.com) • Other definitions?

  5. HTTP Protocol

  6. Request Format • Type of request • Request Header • Blank Line indicates end of request headers • In a POST request, there can be additional information sent after the blank line

  7. Response Format • Status Code • Response Header • Blank Line indicates end of respose headers

  8. Mime Type • Multipurpose Internet Mail Extensions • Use to decode type of content by browser • Use to specify formatting of non-ASCII characters • Most Common: MIME type/html

  9. Mime Type • Multipurpose Internet Mail Extensions • Use to decode type of content by browser • Use to specify formatting of non-ASCII characters • Most Common: MIME type/html

  10. Markup Language • Method of annotating text in a descriptive way for presentation and/or processing. • Taken from “marking up” a manuscript.

  11. Markup Language Examples • HTML • XML • TeX

  12. HTML Tags • Singleton • A single tag that has no corresponding closing tag • Paired • A tag with a starting a closing tag. The closing tag is denoted by a leading ‘/’

  13. HTML Tags ( Examples ) • Singleton: • <br> • <hr> • <img> • Paired: • <p> Hello World </p> • <strong> Great Class! </strong> • <em> BYE </em>

  14. HTML Validation (HTML 5) <!DOCTTYPE HTML> <html> <head> <meta charset=“utf-8”> <title> Simple Page </title> </head> <body> <p> Hello World </p> </body> </html>

  15. Layout vs Style • Either placed in the html file or a css file. • This books will used HTML 5 • Therefore all pages used strict HTML • For example, center, font and others are not allowed.

  16. Questions! • Word Wrap and White Space • Line Breaks • What is the HT in HTML? • Absolute vs Relative Reference? • What is a URL?

  17. Forms <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>First Form</title> </head> <body> <form> <p> This is a simple HTML page that has a form in it. <p> Hobby: <input type="text" name="hobby" value=""> <input type="submit" name="confirmButton" value="Confirm"> </form> </body> </html>

  18. Query Strings • A query string is appended to a URL and carries data that is being passed to a web application • It takes the format name=value • The ‘?’ character is used to separate the URL from the query string. It does not form a part of the query string • Pairs are separated with the ‘&’ character • Example: • http://www.forReal.com/test.html?country=USA&State=FL

  19. More about forms and JSP • We will cover the rest of chapter 1 in the video lecture. • The Video lecture for Chapter 1 will be posted either Saturday or Sunday. • I will be posting a Java review as well. • Finished Chapter 1 and read Section 2.1 for next Class • We will have a quiz next week (Chapter 1) plus one Java question (from what we covered today.)

  20. Questions • Any Questions

More Related