HTML5

HTML 5 introduction

一个不错的博客

3.19

Succeeding in This Class

  • Create a community
    • In a perfect world you would code with a friend...so use the message boards.
  • Work Smart!!
    • Never spend more than 20 minutes on a problem
  • Look things up on your own!
  • Practice, practice, practice!

Client/Server Relationship

  • Servers
    • Machines that hold shared resources
    • Always connected to the network
  • Clients
    • Machines for personal use(laptops, phones, etc)

Request/Response Cycle

  • This is what happens when you computer(the client) requests a page and a server responds with the appropriate files.

    • The Request
      • Once the IP address is determinded, the browser creates and HTTP request.
      • Lots of hidden information in the request
        • header, cookies, form data, etc
    • The Response
      • It is up to the browser to decide what to do with those files
      • If the server can't fulfill the request it will send back files with error codes: 404, 500, etc.

Uniform Resource Locator

  • URL - three parts:
    • protocol - how to connect
      • HTTP - Hypertext Transfer Protocol
      • HTTPS - Secure Hypertext Transfer Protocol
      • FTP - File Transfer Protocol
    • domain - where to find the document you want
      • top-level domain .com .org .edu
      • IP Addresses and the Domain Name Server(DNS)
        • Internet Protocol Version 4(Ipv4) users number format of xxx.xxx.xxx.xxx to identify each domain
          • can represent over 4 billion unique combinations(2^32)!
        • DNS looks up the domain and returns the IP address
    • document - what specific file is needed
      • Most page are made up of multiple files

你可能感兴趣的:(HTML5)