Welcome to Internet Services and Applications!

Hey everyone! Ever wondered how you can watch a YouTube video, search for homework answers, and chat with your friends online all at the same time? It's all thanks to the amazing services and applications running on the Internet. In this chapter, we're going to explore how the web works behind the scenes. Understanding this is super useful for your daily life and will make you a much smarter and more efficient Internet user. Don't worry if some of the terms seem new; we'll break everything down into simple, easy-to-understand parts. Let's dive in!


1. How the Web Delivers Information to You

When you browse a website, it feels instant, but there's a fascinating step-by-step process happening in the background. Let's look at the key players that make this happen.

What is a URL?

A URL (Uniform Resource Locator) is simply the address of a specific webpage or file on the Internet. It tells your browser exactly where to go to find what you're looking for.

Analogy: Think of a URL like a full home address. It has the country, city, street, and house number to guide you to a unique location. For example, `https://www.example.com/page.html` is a complete address for a specific page.

DNS: The Internet's Phonebook

Computers on the Internet don't use names like `www.google.com` to find each other. They use numbers called IP addresses (e.g., `142.250.191.78`). So how does your browser know which number belongs to which website name? That's the job of the DNS (Domain Name System).

DNS is like a giant, super-fast phonebook for the Internet. It translates the human-friendly domain names (like `www.hkeaa.edu.hk`) into computer-friendly IP addresses.

How DNS Works (Step-by-Step):

1. You type a URL like `www.example.com` into your browser and press Enter.
2. Your computer sends a request to a DNS server, asking, "What is the IP address for www.example.com?"
3. The DNS server looks up the name in its directory and finds the matching IP address.
4. The DNS server sends that IP address back to your computer.
5. Your browser now knows the correct address and can connect to the website's server to request the webpage.

Memory Aid: Think DNS = Does Name Searching.

HTTP and HTTPS: The Language of the Web

Once your browser knows the server's IP address, it needs to communicate with it. They do this using a special set of rules, or a protocol.

HTTP (Hypertext Transfer Protocol) is the fundamental protocol used by the World Wide Web. It's the language browsers use to send requests to web servers and for servers to send web content back.

HTTPS (Hypertext Transfer Protocol Secure) is the secure version of HTTP. When you see `https` and a padlock icon in your browser's address bar, it means the communication between your browser and the website is encrypted. This is super important for protecting sensitive information like passwords, credit card numbers, and personal details.

Analogy: Think of HTTP as sending a postcard. Anyone who intercepts it can read the message. HTTPS is like sending the same message in a sealed, locked box that only the recipient has the key for. It's private and secure.

Quick Review Box

URL: The web address of a page.
DNS: Translates website names into IP addresses.
HTTP: The protocol for requesting and sending web pages.
HTTPS: The SECURE version of HTTP. Always look for the 'S' when entering sensitive data!

Key Takeaway

To view a website, your browser uses a URL to ask a DNS server for the site's IP address. It then uses HTTP or HTTPS to request the webpage from that address. HTTPS provides a crucial layer of security through encryption.


2. Becoming a Web Detective: Search and Analysis

The Internet has a mind-boggling amount of information. Finding exactly what you need and knowing if you can trust it are essential skills.

Formulating an Effective Search Strategy

Just typing one or two words into a search engine is okay, but you can get much better results with a few simple tricks. Being specific is key!

  • Use quotation marks for exact phrases. Searching for "climate change in Hong Kong" will give you pages where that exact phrase appears, which is much more focused than searching for the words separately.

  • Use the minus sign (-) to exclude words. If you're searching for mustang (the horse) but keep getting results for the car, you could search for mustang -car.

  • Be specific. Instead of "camera", try searching for "best budget mirrorless camera for beginners 2023".

Critically Analysing Information Sources

Not everything you read online is true! It's important to be a critical thinker and evaluate the information you find. Before you trust a source, ask yourself these questions:

  • Who is the author? Are they an expert on the topic? A government body? A company trying to sell you something? (e.g., A health article from a university's medical school is generally more reliable than one from a random blog.)

  • What is the purpose of the website? Is it to inform, persuade, entertain, or sell a product? This can reveal potential bias. (e.g., A product review on the manufacturer's own website will likely be biased.)

  • When was it published? Is the information up-to-date? This is very important for topics in science, technology, and current events.

  • Can I verify the information? Are there links to original sources? Can you find similar information on other reputable websites?

Key Takeaway

To find reliable information, use a specific search strategy to narrow down your results. Then, always critically analyse the source to check for authority, bias, and accuracy before trusting the information.


3. Multimedia on the Web

The modern web is full of images, videos, and sounds. These elements are stored in different file formats and sometimes require special software to work.

Common Multimedia File Formats

Different file types are used for different media because they are optimised for quality, file size, and features.

  • Graphics:
    - JPG (or JPEG): Great for photos. It uses compression to make file sizes smaller, which helps pages load faster.
    - PNG: Excellent for logos and graphics that need a transparent background. Tends to be higher quality (and larger file size) than JPG.
    - GIF: Best known for simple animations. Supports only a limited number of colours.

  • Audio:
    - MP3: The most popular audio format. It's highly compressed, making it perfect for streaming and storing music.
    - WAV: Uncompressed audio. It has very high quality but results in very large files, so it's not common on websites.

  • Video:
    - MP4 (or MPEG-4): The most common video format for the web. It offers a good balance of quality and file size, making it ideal for services like YouTube.
    - AVI: An older format. It often has higher quality but much larger file sizes, making it less suitable for streaming.

Plug-ins and Players

A plug-in is a small piece of software that adds extra functionality to a program, like a web browser. In the past, you needed to install plug-ins like Adobe Flash Player to watch videos or play games.

Today, modern web browsers have most of the necessary multimedia players built-in thanks to technologies like HTML5. This means you can usually watch videos, listen to audio, and view PDFs directly in your browser without installing anything extra!

Did you know?

The creator of the GIF format, Steve Wilhite, insisted that it is pronounced "JIF" with a soft 'g', like the peanut butter brand. However, the debate rages on, and many people still pronounce it with a hard 'g'!

Key Takeaway

Web pages use different file formats (like JPG, MP3, MP4) to handle multimedia efficiently. While plug-ins used to be essential, most modern browsers can now play this content without needing extra software.


4. Essential Internet Services

The World Wide Web (websites) is just one part of the Internet. There are many other fundamental services we use every day.

  • Email (Electronic Mail): Allows you to send and receive digital messages over a network. It's one of the oldest and most widely used Internet services.

  • File Transfer: Services like FTP (File Transfer Protocol) allow users to upload and download files between computers. This is commonly used by developers to upload website files to a server.

  • Remote Logon: This allows a user to log into and control another computer from a distance. A common protocol for this is SSH (Secure Shell).

  • Online Chat: Enables real-time text-based conversation between two or more people. Examples include WhatsApp Web, Facebook Messenger, and Discord.

  • Discussion Forum: An online site where people can hold conversations in the form of posted messages. They are often organised by topics or threads. (e.g., LIHKG, Reddit).

Key Takeaway

Beyond browsing websites, the Internet provides essential services for communication and data exchange, including email, file transfer, remote logon, online chat, and discussion forums.


5. The Magic of Streaming

Why can you start watching a Netflix movie instantly instead of waiting for the entire two-hour film to download? The answer is streaming!

The Concept of Streaming Technology

Streaming is a method of transmitting data (usually audio and video) as a continuous, steady flow. Your device starts playing the content as it arrives, while the rest of the file continues to be delivered in the background.

This is different from a traditional download, where you must wait for the entire file to be saved on your device before you can open it.

Analogy: Downloading is like filling up a bathtub completely before you can get in. Streaming is like turning on the shower – you can get in and start using the water as it flows, without waiting for the tub to fill up.

(Syllabus Note: You only need to understand the concept of streaming, not the complex technical details behind it. So don't worry about the 'how'!)

Applications of Streaming

Streaming technology powers many of the services we use daily:

  • Voice Mail: Modern voicemail systems, especially those on messaging apps (like WhatsApp voice notes), often use streaming to let you listen to the message as it downloads.

  • Videoconferencing: Services like Zoom, Google Meet, and Microsoft Teams stream live video and audio data between participants, allowing for real-time, face-to-face communication over the Internet.

  • Webcasting: This is essentially "broadcasting over the web". It involves streaming a live event (like a concert, a sports match, or a company announcement) to a large audience online.

Key Takeaway

Streaming allows you to play media content as it is being delivered, without waiting for a full download. This powerful technology is the foundation for popular applications like videoconferencing and webcasting.