Unit 1:Introduction to Internet Programming
Introduction to Internet
A global computer network providing a variety of information and
communication facilities, consisting of interconnected networks using standardized communication protocols.
The Internet is the global system of interconnected computer networks that use the Internet protocol suite (TCP/IP) to link devices worldwide. It is a network of networks that consists of private, public, academic, business, and government networks of local to global scope. The Internet carries a vast range of information resources and services.
History of Internet
This marvelous tool has quite a history that holds its roots in the cold war scenario. A need was realized to connect the top universities of the United States so that they can share all the research data without having too much of a time lag. This attempt was a result of Advanced Research Projects Agency (ARPA) which was formed at the end of 1950s just after the Russians had climbed the space era with the launch of Sputnik. After the ARPA got success in 1969, it
didn‘t take the experts long to understand that how much potential can this interconnection tool have. In 1971 Ray Tomlinson made a system to send electronic mail. This was a big step in the making as this opened gateways for remote computer accessing i.e.telnet.
World Wide Web
The World Wide Web (abbreviated WWW or the Web) is an information space where documents and other web resources are identified by Uniform Resource Locators (URLs), interlinked by hypertext links, and can be accessed via the Internet. English scientist TimBerners-Lee invented the World Wide Web in 1989. He wrote the first web browser computerprogram in 1990 while employed at CERN in Switzerland. The Web browser was released outside CERN in 1991, first to other research institutions starting in January 1991 and to the general public on the Internet in August 1991.
World Wide Web conti…
The World Wide Web has been central to the development of the Information Age and is the primary tool billions of people use to interact on the Internet. Web pages are primarily text documents formatted and annotated with Hypertext Markup Language (HTML).
Embedded hyperlinks permit users to navigate between web pages. Multiple web pages with a common theme, a common domain name, or both, make up a website. Website content can largely be provided by the publisher, or interactively where users contribute content depends upon the users or their actions. Websites may be mostly informative, primarily for entertainment, or largely for commercial, governmental, or non-governmental organizational purposes WWW
Protocol
The elements in a URL: Protocol://server's address/filename
Hypertext protocol: http://www.aucegypt.edu
File Transfer Protocol: ftp://ftp.dartmouth.edu
Telnet Protocol: telnet://pac.carl.org
News Protocol: news:alt.rock-n-roll.stones
Domains
What are Domains? Domains divide World Wide Web sites into categories based on the nature of their owner, and they form part of a site's address, or uniform resource locator (URL).
Common top-level domains are:
.com—commercial enterprises
.mil—military site
.org—organization site (non-profits, etc.) int—organizations established by
international treaty
.net—network
.biz—commercial and personal
.edu—educational site (universities, schools, etc.)
.info—commercial and personal
.gov—government organizations
.name—personal sites
The Birth of the Web (Late 1980s)
The story begins with Tim Berners-Lee, a British computer scientist working at CERN. In the late 1980s, he conceived the idea of the World Wide Web as a way to share information among researchers. In 1990, he proposed the concept of the web and created the first web browser and web server software.
HTML: The Foundation (1991)
In 1991, Berners-Lee introduced HTML (Hypertext Markup Language), the fundamental language of the web. HTML allowed the structuring of documents with hyperlinks, forming the basis of web pages. The first-ever website, which explained the World Wide Web, went live in 1993.
The Browser Wars and Dynamic Content (Mid-1990s)
The mid-1990s witnessed the rise of web browsers. Netscape Navigator, released in 1994, played a significant role in popularizing the web. Microsoft's Internet Explorer joined the competition, leading to the "Browser Wars." Developers began experimenting with JavaScript in 1995, bringing dynamic content and interactivity to web pages.
CSS: Separating Style from Content (Late 1990s)
As the web grew, maintaining consistent design became challenging. In 1996, the World Wide Web Consortium (W3C) introduced CSS (Cascading Style Sheets). CSS allowed developers to separate content from presentation, making web design more flexible and standardized.
Dot-com Bubble and the Emergence of Web 2.0
(Late 1990s - Early 2000s)
The late 1990s saw the dot-com bubble, marked by speculative investments in internet-related companies. While many startups failed, the web continued to evolve. The early 2000s ushered in Web 2.0, emphasizing user-generated content, social media, and technologies like AJAX (Asynchronous JavaScript and XML) that enabled dynamic web applications.
The Mobile Revolution (Mid-2000s)
With the introduction of the iPhone in 2007, mobile devices became a significant challenge for web development. Responsive web design emerged as a solution, ensuring websites adapted to various screen sizes and orientations.
Frameworks and Libraries (2000s - Present)
As web development became more complex, frameworks and libraries like jQuery, Angular, React, and Vue.js gained popularity. These tools streamlined development, promoted best practices, and facilitated the creation of interactive web applications.
Full-Stack Development (2010s - Present)
The concept of full-stack development emerged, with developers skilled in both front-end (client-side) and back-end (server-side) technologies. DevOps practices bridged the gap between development and IT operations, fostering a holistic approach to web development.
Web Accessibility and Progressive Web Apps
(2010s - Present)
In recent years, web accessibility has gained prominence, emphasizing the importance of creating inclusive web experiences for all users. Progressive Web Apps (PWAs) also became popular, offering offline capabilities and a more app-like experience on the web.
Modern Web Development
Web development is embracing AI and machine learning for personalized user experiences. Virtual Reality (VR) and Augmented Reality (AR) were starting to influence web development, offering new possibilities for immersive experiences. The field continued to evolve rapidly, with developers exploring the latest technologies and standards.
Client-Server Architecture - System Design
Client-server architecture is a fundamental concept in system design where a network involves multiple clients and a server. Clients are devices or programs that request services or resources, while the server is a powerful machine providing these resources or services. This architecture allows efficient data management and resource sharing, making it popular in web applications, databases, and other network-based systems. By separating roles and distributing tasks, client-server architecture enhances performance, scalability, and security.
What is Client-Server Architecture?
Client-server architecture is a cornerstone of modern system design, where the network infrastructure is structured to include multiple clients and a central server. In this model, clients are devices or programs that make requests for services or resources, while the server is a powerful machine or software that fulfills these requests. Communication between clients and the server follows a request-response protocol, such as HTTP/HTTPS for web services or SQL for database queries.
Overview “History of Internet”
Advanced Research Projects Agency (ARPA) which was formed at the end of 1950s.
In 1971 Ray Tomlinson made a system to send electronic mail. This was a big step in the making as this opened gateways for remote computer accessing i.e.telnet.
English scientist TimBerners-Lee invented the World Wide Web in 1989. He wrote the first web browser computerprogram in 1990 while employed at CERN in Switzerland.
In 1991, Berners-Lee introduced HTML (Hypertext Markup Language)
Netscape Navigator, released in 1994
Developers began experimenting with JavaScript in 1995, bringing dynamic content and interactivity to web pages.
In 1996, the World Wide Web Consortium (W3C) introduced CSS (Cascading Style Sheets).
In 2000 frameworks and libraries like jQuery, Angular, React, and Vue.js gained popularity.
Overview “History of Internet”
Client-Server Architecture
Importance in System Design
Key Components of Client Server Architecture
Frameworks and Tools for Client-Server Development
Developing client-server applications involves various frameworks and tools that cater to both the client and server sides. Here are some commonly used frameworks and tools for client-server development:
1. Server-Side Frameworks
2. Client-Side Frameworks��
3. Database Management Systems
4. Communication Protocols and APIs
5. Development Tools
Communications Protocol
OSI (Open System Interconnection) model:
TCP/IP, a more pragmatic approach from the internet: