ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Web Design and Development
    CSI-501
    Progress0 / 22 topics
    Topics
    1. World Wide Web Architectures, Protocols, and Standards2. HTTP Protocol3. HTML4. xHTML5. CGI6. XML7. WML8. cHTML9. Web Technologies and Tools for Web Application Development and Deployment10. Scripting Tools11. Web Servers12. Application Servers13. Web Based Applications14. Search Engines15. Content Management Systems16. Management of Large Scale Web-Based Information Systems17. Web Services18. Web219. Semantic Web20. Web321. Principles of Website Design22. Practical Exercise in Website Development
    CSI-501›World Wide Web Architectures, Protocols, and Standards
    Web Design and DevelopmentTopic 1 of 22

    World Wide Web Architectures, Protocols, and Standards

    7 minread
    1,117words
    Intermediatelevel

    World Wide Web Architectures, Protocols, and Standards

    The World Wide Web (WWW) is an interconnected system of resources on the internet, and it operates based on various architectures, protocols, and standards. Let's explore these in detail:


    1. Web Architecture

    Web architecture refers to the underlying structure and components that make the Web function. It describes how the system is designed, structured, and how data flows from one component to another. The Web follows a client-server architecture that is supported by various protocols and technologies.

    Client-Server Model

    • Client: The client is the device or application (such as a web browser) that requests services or resources from the server. In this case, the client is responsible for sending requests to the server (for example, requesting a webpage).
    • Server: The server is the system that hosts websites, stores data, and responds to requests made by clients. The server processes the client’s request and sends back the appropriate response (such as an HTML document).

    Web Application Model

    This model involves a client-side and server-side separation:

    • Client-Side: The part of the web application that runs on the user's browser, usually involving HTML, CSS, and JavaScript.
    • Server-Side: The part of the application that runs on the server, processing data, interacting with databases, and delivering dynamic content (e.g., PHP, Python, Node.js, etc.).

    The basic architecture of the web involves:

    • Web Browser (Client) sends HTTP requests.
    • Web Server processes these requests and returns HTML, CSS, JavaScript, and media files.
    • Database Servers (if applicable) store dynamic content that the web server retrieves when needed.

    2. Web Protocols

    Protocols are sets of rules that define how data is exchanged over the internet. In the context of the Web, several protocols are vital for communication between clients and servers:

    a) HTTP (Hypertext Transfer Protocol)

    • HTTP is the protocol used for transferring data (e.g., HTML files, images, etc.) over the web. It's a request-response protocol where the client sends requests to the server, and the server responds with the necessary resources.

    • HTTP Methods:

      • GET: Requests data from a resource.
      • POST: Submits data to be processed to a specified resource.
      • PUT: Updates a current resource with new data.
      • DELETE: Deletes a resource.

      Example: When you enter a URL in a browser, the browser sends a GET request to retrieve the webpage.

    b) HTTPS (Hypertext Transfer Protocol Secure)

    • HTTPS is a secure version of HTTP. It uses SSL/TLS encryption to secure the data exchange between the client and the server.
    • It ensures confidentiality (by encrypting the data), integrity (by preventing data tampering), and authentication (by verifying the identity of the server).

    c) TCP/IP (Transmission Control Protocol/Internet Protocol)

    • TCP ensures reliable data transmission by breaking data into packets, sending them, and ensuring they arrive in order.
    • IP is responsible for addressing and routing packets to the destination.
    • Together, they ensure reliable communication across networks, forming the backbone of the internet and the Web.

    d) DNS (Domain Name System)

    • DNS is a system that translates human-readable domain names (e.g., www.example.com) into IP addresses (e.g., 192.168.1.1), allowing browsers to locate web servers on the internet.

    e) FTP (File Transfer Protocol)

    • FTP is used to transfer files between a client and server on the web. It allows for uploading and downloading files from web servers, often used in web development for site management.

    f) WebSockets

    • WebSockets provide full-duplex communication channels over a single, long-lived connection. They are often used for real-time applications like chat systems and live updates, allowing constant communication between the client and the server.

    3. Web Standards

    Web standards are guidelines and specifications created by organizations that define how various technologies should behave in a consistent, reliable, and interoperable way.

    a) W3C (World Wide Web Consortium)

    • The W3C is an international community that develops open web standards to ensure the long-term growth of the web.
    • W3C Standards cover:
      • HTML (HyperText Markup Language): The standard language for structuring and presenting content on the web.
      • CSS (Cascading Style Sheets): A language for describing the presentation of HTML documents (layout, colors, fonts, etc.).
      • JavaScript: A programming language for creating interactive and dynamic web content.

    b) HTML (Hypertext Markup Language)

    • HTML is the backbone of web content. It defines the structure of web pages using a set of elements or "tags" (e.g., <h1>, <p>, <a>, <div>).
    • HTML5 introduced new features like native video/audio support, better semantics, and local storage.

    c) CSS (Cascading Style Sheets)

    • CSS allows for the design and layout of web pages. It separates content from presentation and lets web designers control the style (e.g., colors, fonts, spacing) of HTML elements.
    • Modern CSS uses features like Flexbox, Grid, and media queries for responsive design, which adapts layouts to different screen sizes.

    d) JavaScript

    • JavaScript is a scripting language that runs on the client-side and makes web pages interactive. It can manipulate HTML content, interact with APIs, and handle events (like button clicks or form submissions).

    e) Accessibility Standards (WCAG)

    • The Web Content Accessibility Guidelines (WCAG) are a set of guidelines developed to ensure that web content is accessible to all users, including those with disabilities. This includes proper use of text alternatives for images, keyboard navigation, and color contrast for readability.

    f) SEO (Search Engine Optimization) Standards

    • SEO involves optimizing web content so that it ranks well on search engines. This includes using proper HTML tags, structuring URLs efficiently, ensuring fast load times, and optimizing content with keywords.

    4. Web Security Standards

    Web security protocols and standards ensure safe communication and secure browsing. Some of these standards are:

    a) SSL/TLS (Secure Sockets Layer/Transport Layer Security)

    • SSL/TLS protocols encrypt data transmitted between web servers and clients, making sure sensitive data (like passwords or credit card information) is secure.

    b) CORS (Cross-Origin Resource Sharing)

    • CORS is a security feature implemented by browsers that allows or denies web pages from making requests to a domain different from the one that served the web page, preventing cross-site scripting attacks.

    c) Content Security Policy (CSP)

    • CSP is a security standard to prevent various types of attacks like cross-site scripting (XSS). It allows web developers to specify which sources the browser should allow for content like scripts, images, etc.

    Conclusion

    The World Wide Web operates based on a combination of architectures, protocols, and standards that work together to create a seamless and secure user experience. Understanding the fundamental components such as client-server communication, HTTP/HTTPS protocols, DNS, and the role of web standards like HTML, CSS, and JavaScript is essential for developing and maintaining modern web applications. Web security, including SSL/TLS encryption and accessibility guidelines, also plays a crucial role in ensuring a safe, inclusive, and performant web experience.

    Next topic 2
    HTTP Protocol

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time7 min
      Word count1,117
      Code examples0
      DifficultyIntermediate