1 / 7

ICS 415 Introduction to Programming for the Web

ICS 415 Introduction to Programming for the Web. Carleton (Cam) Moore 27 Aug 2013. My Background. M.S. Information & Computer Sciences (1995) Ph.D. in Communications and Information Sciences (2000) 11 Years as a Senior Software Engineer and Manager with Lockheed Martin

kaloni
Download Presentation

ICS 415 Introduction to Programming for the Web

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. ICS 415 Introduction to Programming for the Web Carleton (Cam) Moore 27 Aug 2013

  2. My Background • M.S. Information & Computer Sciences (1995) • Ph.D. in Communications and Information Sciences (2000) • 11 Years as a Senior Software Engineer and Manager with Lockheed Martin • Returned to CSDL as a Post-Doc (2012)

  3. Overview of the Course • Website: • http://ics415f13.wordpress.com/

  4. What is Programming for the Web? • Hypertext Transfer Protocol (HTTP) • Request-Response protocol • Stateless • Client-Server model • Foundation of the World Wide Web Universal Resource Location (URL) Hypertext Markup Language (HTML) • Defining structure of World Wide Web

  5. HTTP Request • <Method> <local path of resource> <HTTP version> • GET /path/to/file/index.html HTTP/1.0 • Request Methods • GET – requests representation of ‘resource’ • HEAD – same as GET without the response body • POST – requests the server accept the entity as a subordinate to the ‘resource’ • PUT – request server store the entity as the ‘resource’ • DELETE – delete the specified ‘resource’

  6. HTTP Responses • Status Line: • <HTTP ver.> <Status code> <reason phrase> • HTTP/1.0 200 OK • HTTP/1.0 401 Unauthorized • Status Codes • 1xx Informational • 2xx Success • 3xx Redirection • 4xx Client Error • 5xx Server Error

  7. Uniform Resource Locator • Web address: A String that identifies a resource • Protocol • :// • Host or IP address • :port number (Optional) • Full path to resource • ? Query (Optional) http://127.0.0.1:8000/account/login/

More Related