Who I am? Ms. Atika Tanveer, MS (Computer Network and Security) Lecturer (Computer Science) (Department of C&T , IQRA University Islamabad) Email : [email protected] 10/10/2024 2
10/10/2024 5 Internet Internet is global system in which millions of computers are connected together, It is basically a network of networks . Using internet many people can share resources and can communicate with each other. To have internet service one must go to the service providers that means your computer must be connected to Internet Service Providers (ISP) through phone-line modem or DSL.
10/10/2024 6 Basic Internet Protocols Transmission Control Protocol (TCP): Three way hand shake. It is connection oriented protocol because before sending the data this protocol requires that two computer have established connections. It is designed to send packets across the internet and ensure the successful delivery of data and messages over networks . This protocol is mainly used where a secure and reliable communication process is required, like military services, web browsing, and e-mail.
10/10/2024 7
10/10/2024 8 Basic Internet Protocols User Datagram Protocol (UDP): It is a connectionless protocol. It also does not guarantee the delivery of data packets. This protocol is used where fast communication is required and does not care about the reliability like VoIP, game streaming, video and music streaming, etc.
10/10/2024 9 Basic Internet Protocols File Transfer Protocol (FTP): The file transfer protocol for transmitting files between computers. When user wants to download a file from the server FTP is used. Simple Mail Transfer Protocol (SMTP): It is simple protocol which is extensively used for transfer of emails to remote servers.
10/10/2024 10 Basic Internet Protocols Hyper Text Transfer Protocol (HTTP): It is a request/response protocol. It is the communication protocol used to transfer the information on the local are network and world wide web (WWW). It is a stateless protocol because this protocol is not able to maintain the previous conversation/information.
10/10/2024 11 HTTP Request Header
10/10/2024 12 HTTP R equest Header Get: get data from server Pub/www: p ublic site world wide web HTTP/1.1: version of http Host : host name from URL (required ) User-Agent: type of browser sending request Accept: MIME types of acceptable documents Accept-language: indicates the natural language and locale that the client prefers Connection: tells server to close connection after single request/response Content-Length: bytes in body
10/10/2024 13 HTTP Response Header
10/10/2024 14 HTTP Response Header Accept-range: indicates that 'bytes' can be used as units to define a range Content-Length: indicate the length of the message (in bytes ) Content-Type: indicates the media type of the resource sent in the HTTP message body
10/10/2024 15 Uniform Resource Identifier URI–Uniform Resource Identifier identifies a resource on the Internet
10/10/2024 16 Domain Name It is very difficult to remember numerical information, but it is simple to remember the textual information . Domain Name System (DNS) service or server is an Internet service in general, thus maps or translates human readable domain names (website names or URL, Uniform Resource Locator) into machine or Computer readable IP (Internet Protocol) addresses . Browser : http://google.com IP Address: 173.194.116.72
10/10/2024 17 Domain Name System
10/10/2024 18 Web Engineering Web Engineering is the study of the process, used to create high quality Web-based applications. The application of systematic and quantifiable approaches to cost-effective analysis, design, implementation, testing, and maintenance of high-quality web applications
10/10/2024 19 Web Application A web application (web app) is an application program that is stored on a remote server and delivered over the internet through a browser interface.
10/10/2024 20 Web Application Development
10/10/2024 21 Web Client: Browser Makes HTTP requests on behalf of the user Reformat the URL entered as a valid HTTP request Use DNS to convert server’s host name to appropriate IP address Establish a TCP connection using the IP address Send HTTP request over the connection and wait for server’s response
10/10/2024 22 Web Servers Main functionalities : Server waits for connect requests When a connection request is received, the server creates a new process to handle this connection The new process establishes the TCP connection and waits for HTTP requests The new process invokes software that maps the requested URL to a resource on the server If the resource is a file, creates an HTTP response that contains the file in the body of the response message If the resource is a program, runs the program, and returns the output
10/10/2024 23
10/10/2024 24
10/10/2024 25 Web platform constraints Web Platform constraints refer to the limitations and restrictions imposed by web browser, devices, and networks on the development and functionality of web application and websites. Some common web platform constraints include: Browser Compatibility. Screen size and resolution. Device limitation. Network connectivity. Security . Performance
10/10/2024 26 Web platform constraints Browser compatibility: Ensuring that website works across different browsers (e.g. Chrome, Firefox, Safari) and versions. Screen Size and Resolution: Adapting to various screen sizes and resolutions, including mobile devices and tablets.
10/10/2024 27 Web platform constraints Device Limitations: Considering the capabilities and limitations of different devices, such as smartphones, tablets, desktop computers. Network Connectivity: Dealing with varying internet connection speeds and types (e.g. Wi-Fi, 4G, 5G).
10/10/2024 28 Web platform constraints Security: Implementing measures to protect against online threats, like hacking or malware. Performance: Optimizing website loading times, responsiveness, and overall user experience.