1 / 12

Advanced Web 2012 Lecture 2

Advanced Web 2012 Lecture 2. How the Web Works - Refresh. The web is a matrix of servers that handle client requests and deliver the content at a per-request action. Web Content. Web content is data that is delivered to the end user through web pages.

lee-snider
Download Presentation

Advanced Web 2012 Lecture 2

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. Advanced Web2012Lecture 2 Sean Costain 2012

  2. How the Web Works - Refresh The web is a matrix of servers that handle client requests and deliver the content at a per-request action. Sean Costain 2012

  3. Web Content Web content is data that is delivered to the end user through web pages. • Content is now Dynamic, in that it responds to user actions. • Content is normally stored in databases • MySQL, MsSQL • Access of Dynamic content requires advanced languages • PHP, ASP Sean Costain 2012

  4. Web Server A web server is a computer that runs a special service that is designed to handle web requests. A web request is a data stream that flows on port 80 or port 443. The language of the web is TCP/IP. The main difference between a pc and a server is the amount of requests that the machine can handle, and it’s method of supplying the requested information. Sean Costain 2012

  5. TCP/IP Transmission Control Protocol (TCP) is one of the core protocols of the Internet Protocol Suite. TCP is one of the two original components of the suite, complementing the Internet Protocol (IP), and therefore the entire suite is commonly referred to as TCP/IP. TCP provides reliable, ordered delivery of a stream of octets from a program on one computer to another program on another computer. TCP is the protocol used by major Internet applications such as the World Wide Web, email, remote administration and file transfer. Sean Costain 2012

  6. Web Server • TCP/IP Ports • Port 80 – http traffic; the primary port used by the world wide web (www) system. Web servers open this port then listen for incoming connections from web browsers. • Port 443 – https traffic; secure web browser communication. Data transferred across such connections are highly resistant to eavesdropping and interception. TCP/IP Has 1056 common ports for communication Port 80 Port 443 Sean Costain 2012

  7. Web Server • 2 Main Web servers in the world • Apache • IIS (Internet Information Services) Apache is Open Source and can be run on pretty much any operating system. IIS is proprietary and runs only on the Windows operating system. Both servers do pretty much the same thing, handle client requests and deliver content. We’re using Apache (XAMPP) in this course. Sean Costain 2012

  8. Remote Server • A remote web server is a server that is not running on the machine you are currently using. • Remote servers are normally production servers, these can come in various formats such as: • Dedicated Servers • Virtual Servers • Shared Web Space • Dedicated Server • Expensive • Full Control • All the hardware is for your use only. • Virtual Server • Medium Price • Full Control over VM, not physical config • Other user share the same hardware • Shared Web • Cheap • Control only over your data. • All resources shared with other clients, physical and digital. Sean Costain 2012

  9. Local Server • A local web server is a server that is running on the machine you are currently using. • Local servers are normally development servers, these can come in various formats such as: • A server your company controls • A desktop machine you use • Portable on a USB Local servers are faster than remote servers as the browser request doesn’t have to leave the machine. Sean Costain 2012

  10. Communication Methods • When it comes to Remote servers, there are a few ways of communicating with the server. This is all dependent on the type of server. • Dedicated server : RDP (port 3389), Telnet (port 23), SSH (port 22), FTP (port 21), File upload through the web (port 80) • All other server types: • FTP (port 21), File upload through the web (port 80) RDP FTP RDP, telnet and SSH all allow for access to manipulate the operating system. FTP and file upload, only manipulate your web files Sean Costain 2012

  11. Communication Methods Local servers, on the other hand, are extremely easy to work with. You can just copy over the working files or work directly on them with your web application. Apache stores it’s web pages in a folder called htdocs. IIS stores it’s web pages in a folder called wwwroot Sean Costain 2012

  12. Sean Costain 2012

More Related