0% found this document useful (0 votes)
7 views57 pages

Internet Basics: Packet Switching & IPv6

Chapter 3 outlines the three basic building blocks of the Internet: Packet Switching, which optimizes data transmission by breaking messages into packets; TCP/IP, a suite of protocols that ensures reliable data transfer and routing; and Client/Server Computing, which enables scalable access to services through a distributed model. It also discusses the necessity of IPv6 addresses due to IPv4 exhaustion, the role of TCP/IP in information transfer, the technological innovations that facilitated client/server computing, and the impact of cloud computing and smartphones as disruptive technologies. Together, these elements form the foundation of modern Internet communication and services.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views57 pages

Internet Basics: Packet Switching & IPv6

Chapter 3 outlines the three basic building blocks of the Internet: Packet Switching, which optimizes data transmission by breaking messages into packets; TCP/IP, a suite of protocols that ensures reliable data transfer and routing; and Client/Server Computing, which enables scalable access to services through a distributed model. It also discusses the necessity of IPv6 addresses due to IPv4 exhaustion, the role of TCP/IP in information transfer, the technological innovations that facilitated client/server computing, and the impact of cloud computing and smartphones as disruptive technologies. Together, these elements form the foundation of modern Internet communication and services.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Chapter 3:

QUESTIONS
1. What are the three basic building blocks of the Internet?

1. Packet Switching

 Definition:
Packet switching is a method of slicing digital messages, which are made up of bits
(binary digits), into discrete units called packets. These packets are sent along different
communication paths as they become available and then reassembled once they arrive at
their destination. This approach is used to optimize network usage and minimize wasted
capacity compared to older communication techniques.
 Example:
When you send an email or load a webpage, your message is broken down into packets.
These packets travel through different network routes (possibly using various
intermediate routers), and once they all reach their destination, they are reassembled into
the original message.
 Why It's Important: Packet switching improves network efficiency because it allows for more
flexible use of available bandwidth. Unlike traditional circuit-switching, where dedicated
communication paths are maintained regardless of data transmission, packet switching
optimizes the use of the network by sharing available capacity. If a path is busy or down, packets
can be rerouted along different paths to reach the destination.

Key Points:

 Efficiency: Packet switching allows data to be transmitted over multiple paths in the
network, utilizing available bandwidth more effectively. This leads to increased network
capacity.
 Flexibility: If one path is blocked or busy, packets can be rerouted along another
available path to their destination.
 No Dedicated Circuit: Unlike traditional circuit-switched networks that require a
continuous, dedicated connection, packet switching uses spare capacity in the network,
making better use of resources.
 Reliability: By breaking data into packets and sending them through various routes,
packet switching increases the reliability of communication, ensuring data can still reach
its destination even if some paths fail.

2. Transmission Control Protocol/Internet Protocol (TCP/IP)

 Definition:
TCP/IP is a family of communication protocols that manage how data is sent, routed, and
reassembled on the Internet. It ensures that data is transferred correctly by breaking it into
packets, routing it properly, and ensuring it is reassembled in the correct order at the
destination. The two main protocols within this suite are:
o TCP (Transmission Control Protocol): Establishes a connection between
sending and receiving computers and ensures that packets are received in the
same order they were sent, without any data missing.
o IP (Internet Protocol): Provides addressing and routing of the packets, ensuring
that they are delivered to the correct destination.
 Example:
When you access a website, TCP ensures that all the packets containing the website's data
(images, text, scripts, etc.) are delivered in the correct order and are not lost. IP
determines the path that each packet will take to reach the web server.
 Why It's Important: Without TCP/IP, there would be no standardized way to transmit data over
the Internet. These protocols are fundamental for ensuring data is sent accurately, and they
enable the communication between diverse devices across the global network.

Key Points:

 Reliable Communication: TCP ensures data integrity by acknowledging receipt of


packets and retransmitting any lost ones.
 Addressing and Routing: IP addresses each packet with destination information, and
routers use these addresses to forward packets across the network.
 Layered Protocols: TCP/IP operates in a layered structure, with the Network Interface
Layer, Internet Layer, Transport Layer, and Application Layer. Each layer handles
specific tasks related to data transmission.
 UDP (User Datagram Protocol): A related protocol to TCP, UDP offers a faster
alternative when error-checking is not needed, and it’s used in situations like video
streaming.

3. Client/Server Computing

 Definition:
Client/server computing is a model where clients (devices requesting services or
resources) are connected to servers (dedicated computers that provide resources or
services). This model enables distributed computing, where servers handle requests from
multiple clients to offer services like data storage, application hosting, and internet
access.
 Example:
When you access a website, your web browser (the client) sends a request to a web
server. The server processes the request and sends back the data necessary to load the
website on your browser.
 Why It's Important: Client/server computing is the backbone of most Internet services,
including web browsing, file sharing, and cloud applications. It allows for efficient management
and distribution of resources, as servers are dedicated to providing specific services, and clients
can access these services on demand. Additionally, the model allows for scalability (more clients
or servers can be added as needed) and reliability (backup servers ensure continued operation if
one fails).
 Key Points:
o Distributed Computing: Clients request resources or services, and servers
provide them, making this system scalable and efficient for large networks.
o Scalability: It’s easy to add more clients and servers to the system as needed.
This makes client/server computing ideal for growing networks like the Internet.
o Fault Tolerance: If one server goes down, another can take over its
responsibilities, making the system more reliable than older mainframe-based
systems.
o Load Balancing: Tasks are distributed between multiple servers, so no single
server is overwhelmed with requests, which optimizes performance and ensures
responsiveness.

Summary of the Three Basic Building Blocks:

1. Packet Switching allows data to travel in packets over various paths in the network,
optimizing available bandwidth and ensuring reliability.
2. TCP/IP provides the necessary rules for sending, addressing, and routing data, ensuring
the successful transmission and reassembly of information.
3. Client/Server Computing enables scalable, reliable access to services through
distributed systems where clients make requests and servers provide responses.

These three building blocks work together to create the foundation of the modern Internet,
enabling efficient, reliable, and scalable communication between billions of devices.

2. What is an IPv6 address? Why are IPv6 addresses necessary?

An IPv6 Internet address is 128 bits, so it can support up to 2 ( 128 3.4 1038 × ) addresses,
many more than IPv4 can. According to Akamai, in the United States about 40% of Internet
traffic now occurs over IPv6
3. Explain how packet switching works.

An IPv6 address (Internet Protocol version 6 address) is a unique identifier assigned to each device
connected to the Internet using the IPv6 protocol—the most recent version of the Internet Protocol,
which is used to route and identify data across networks.

What does an IPv6 address look like?

IPv6 addresses are 128 bits long and are usually written in hexadecimal, separated by colons.
For example:

Makefile 2001:0db8:85a3:0000:0000:8a2e:0370:7334

This is much longer than an IPv4 address, which is 32 bits and looks like this: [Link].

Why are IPv6 addresses necessary?


1. IPv4 address exhaustion:
IPv4 can support about 4.3 billion unique addresses (2³²). As more devices connected to the
Internet—especially with the rise of the Internet of Things (IoT)—the world started running out
of IPv4 addresses.
2. Massive address space in IPv6:
IPv6 supports about 340 undecillion addresses (2¹²⁸), which is enough to assign a unique
address to every grain of sand on Earth—and then some! This is crucial for a future where
billions of devices are connected (e.g., sensors, smart homes, wearables, connected cars).
3. Better routing and efficiency:
IPv6 simplifies packet processing and makes routing more efficient with hierarchical addressing.
4. Built-in security:
IPv6 was designed with IPSec (Internet Protocol Security) support, making it more secure at the
protocol level than IPv4 by default.
5. No need for NAT:
Network Address Translation (NAT), commonly used with IPv4 to cope with address shortages, is
no longer needed with IPv6, making end-to-end connectivity easier.

In short: IPv6 is necessary to support the explosive growth of connected devices (like in IoT) and to
future-proof the Internet with better performance, security, and scalability.

IPv6 was created to solve a major problem: IPv4 address exhaustion.

 IPv4 (Internet Protocol version 4) uses 32-bit addresses, allowing for about 4.3 billion
unique addresses.
 As more devices, networks, and services connect to the Internet (especially with the
growth of the Internet of Things), that number isn’t enough.
 IPv6 uses 128-bit addresses, which provides about 340 undecillion addresses—enough
for trillions of devices for generations to come.

Comparison of IPv4 and IPv6

Feature IPv4 IPv6

Address Length 32 bits 128 bits

Dotted decimal (e.g., Hexadecimal, colon-separated (e.g.,


Address Format
[Link]) 2001:0db8::1)

Number of Addresses ~4.3 billion (2³²) ~340 undecillion (2¹²⁸)

Introduction Year 1981 1998

Address Exhaustion Yes – nearly depleted No – extremely large pool

Network
Manual / DHCP Auto-configuration / DHCPv6
Configuration

NAT Required Yes – due to limited addresses No – sufficient global addresses


Feature IPv4 IPv6

Security (IPSec) Optional Mandatory (built-in)

Broadcasting Supported Not supported – uses multicast instead

Routing Efficiency Less efficient More efficient – hierarchical addressing

Header Complexity More complex Simplified and fixed-length

Compatibility Used by most legacy systems Not backward-compatible with IPv4

Excellent – designed for massive numbers of


IoT Suitability Limited scalability
devices

Legacy computers, routers, Smart home devices, modern networks,


Example Use Case
websites connected cars

Real-life Example:

 IPv4: You access your home surveillance camera using the address [Link]. This
is a private (internal) IP address, which requires NAT (Network Address Translation) to
be accessed from outside the local network.
 IPv6: A temperature sensor in a smart home has a global address like
2001:db8:1f70::999:de8:7648:6e8. The device can communicate directly with
servers on the Internet without needing NAT.

4. How is the TCP/IP protocol related to information transfer on the Internet?

How TCP/IP Protocol Relates to Information Transfer on the Internet

The TCP/IP protocol is the foundational communication method used for transferring data
across the Internet. It consists of a suite of protocols that govern the packetization, addressing,
routing, and error-checking of data. Below is how TCP/IP is related to information transfer:

1. Packetization of Data

 TCP/IP breaks data into smaller units called packets. Each packet contains part of the
original message, along with crucial information (e.g., source/destination address,
sequence number).
 Why it matters: By breaking data into packets, TCP/IP enables efficient and reliable
data transfer, allowing packets to take different routes to reach the destination.
2. Addressing and Routing

 IP handles the addressing and routing of packets across the network. Every device on
the Internet is assigned a unique IP address, helping to direct packets to the correct
destination.
 Why it matters: IP ensures packets find their way to the right destination, regardless of
the network's complexity, maintaining connectivity across devices worldwide.

3. Ensuring Reliable Data Transfer

 TCP ensures data reliability by establishing connections between sender and receiver,
ensuring packets are received in the correct order, and requesting retransmissions if
necessary.
 Why it matters: TCP ensures that no packets are lost, and the data reaches the
destination intact and in the correct sequence, which is critical for activities like web
browsing and email communication.

4. Error Checking and Correction

 TCP also performs error checking to detect lost or corrupted packets, ensuring accurate
data delivery.
 Why it matters: This guarantees that the data received is the same as what was sent,
even if packets are delayed or lost in transit.

5. Application Layer Communication

 Protocols like HTTP, FTP, and SMTP in the Application Layer use TCP/IP to provide
services such as web browsing, file transfers, and email.
 Why it matters: These protocols rely on TCP/IP for communication between devices,
ensuring that services on the Internet are functional and reliable.

Conclusion

In summary, TCP/IP plays a critical role in enabling data communication on the Internet by
breaking data into packets, addressing and routing them, ensuring data reliability, and providing
error-checking. Through its layered structure, TCP/IP allows diverse devices and applications to
communicate efficiently across the global network.

5. What technological innovation made client/server computing possible?

The technological innovation that made client/server computing possible was the development
of personal computers (PCs) and local area networks (LANs).

 Personal Computers (PCs): In the past, computing was centralized on large mainframe
computers, but the advent of personal computers allowed for decentralization. PCs
became capable of handling tasks independently, serving as clients that could request
services or resources from a central computer.
 Local Area Networks (LANs): With the development of LANs, multiple computers
(clients) could be connected to a central server over a network. This enabled distributed
computing, where tasks could be shared between servers (performing tasks like file
storage, applications, etc.) and clients (accessing these services).

Together, these innovations allowed for the shift from centralized mainframe computing to the
more flexible and scalable client/server model, which is the backbone of modern Internet and
web services.

3. Advantages of Client/Server Model

 Scalability: The client/server model allows easy expansion by adding more clients or
upgrading servers to handle increased demand.
 Fault Tolerance: If one server fails, backup servers can take over, ensuring continuous
operation, and if a client fails, the rest of the network remains unaffected.
 Load Balancing: Processing tasks are distributed across multiple servers, reducing strain
on any single system and improving efficiency.
 Cost Efficiency: Compared to centralized mainframe systems, client/server networks are
more affordable, as personal computers are less expensive and shared resources reduce
costs.

4. Technological Innovations that Made It Possible

 PC's Affordable Processing Power: The development of microprocessors enabled


personal computers to perform tasks independently, decentralizing computing power.
 Network Infrastructure: Technologies like Ethernet allowed the connection of personal
computers to servers via LANs, supporting the client/server architecture.
 Operating Systems & Networking Software: Advancements in operating systems and
networking protocols (like TCP/IP) enabled smooth communication and resource
management between clients and servers.

6. What is cloud computing, and how has it impacted the Internet?

Cloud computing is a model of computing in which computer processing, storage,


software, and other services are provided as a shared pool of virtualized resources via
the Internet. These “clouds” of computing resources can be accessed on an as-needed
basis from any connected device and location.
7. Why are smartphones a disruptive technology?

Smartphones are considered a disruptive technology because they fundamentally changed the
way people interact with the internet, businesses, and each other—displacing older technologies
and business models. According to Chapter 3 of your document, here's why:
1. New Business Models: Smartphones didn't just enhance existing tech—they enabled
entirely new business models. Companies like Apple and Google identified massive
consumer markets that traditional PC manufacturers overlooked. These firms created
devices that were portable, app-centric, and deeply integrated with mobile internet,
allowing for new platforms and services to flourish (e.g., ride-sharing, mobile banking,
social media apps).
2. Displacement of Established Technologies: Just as personal computers disrupted the
market for mainframes and minicomputers, smartphones have disrupted the PC industry.
The widespread adoption of smartphones and tablets has reduced reliance on desktop and
laptop computers, especially for everyday tasks like browsing, communication, and
media consumption.
3. Digital Disruption: The disruption isn't just about hardware. Smartphones represent
digital disruption—a type of business model disruption driven by changes in information
technology. Through the mobile app ecosystem, smartphones created new ways to deliver
services and engage customers, often cheaper, more conveniently, or more personally
than previous methods.
4. Market Shift and Consumer Behavior: Smartphones have shifted where and how
people access the internet. For example, more than 93% of U.S. internet users accessed
the web using a mobile device in 2022. The always-on, always-with-you nature of
smartphones has made them central to everyday life and commerce, which existing PC-
based businesses failed to anticipate.
5. Innovation Speed and Entrepreneurial Entry: Disruptors using smartphone platforms
(e.g., app developers, mobile service providers) were often smaller or newer firms. These
innovators adopted new technologies faster than established companies, captured new
market niches, and eventually challenged dominant firms—classic signs of disruptive
innovation.

6. Creation of a New App Ecosystem

Smartphones paved the way for the development of a mobile app ecosystem—a completely new
market that didn’t exist before. App stores like the Apple App Store and Google Play Store allow millions
of independent developers to create and distribute apps, changing how users consume content, play
games, learn, and work

7. Transformation of Internet Infrastructure

Smartphones required a whole new internet infrastructure, including:

 High-speed 3G/4G/5G mobile networks


 Responsive website design for mobile compatibility
 Cloud services for data syncing, streaming, and storage

This forced businesses to restructure their digital infrastructure to accommodate mobile


users.

8. Blurring the Line Between Work and Life


Smartphones are not just for entertainment—they are essential tools for work, enabling communication
via email, Zoom, Slack, and more. This changed workplace culture, creating an “always connected”
environment and forcing traditional industries to adapt their workflows.

. Enabling Mobile Commerce (M-commerce)

Smartphones sparked the explosion of mobile commerce. Users can:

 Shop online anytime, anywhere


 Pay using digital wallets like Apple Pay or Google Pay
 Use location-based services to find nearby stores or products

Thus, smartphones are not just communication tools—they are commerce platforms.

In short, smartphones are disruptive not just because of what they are, but because of how they
enabled new markets, business strategies, and user behaviors that older tech and companies were
unprepared for.

8. What role does a Tier 1 ISP play in Internet infrastructure?

A Tier 1 Internet Service Provider (Tier 1 ISP) plays a foundational role in Internet
infrastructure by owning and operating the long-haul fiber-optic networks that form the core
backbone of the Internet. Here's a breakdown of their role based on Chapter 3 of your
document:

✅ Key Roles of a Tier 1 ISP:

1. Own the Internet Backbone


Tier 1 ISPs operate high-bandwidth, long-distance fiber-optic cable networks that carry
massive amounts of Internet traffic across countries and continents. These cables are the
essential "highways" of the Internet.
2. Peering with Other Tier 1 ISPs
They form peering arrangements with each other, allowing data to flow across their
networks without charging one another. This cooperation creates a global mesh of
interconnected networks that routes Internet traffic efficiently.
3. Connect Tier 2 and Tier 3 ISPs
Tier 1 ISPs do not directly serve end users, such as homes or small businesses. Instead,
they connect with Tier 2 ISPs, who then connect with Tier 3 ISPs that deliver access to
consumers.
4. Enable Global Connectivity
They are responsible for major international links, including undersea fiber-optic cables
and satellite connections, which enable data transmission between continents.
5. Ensure Network Redundancy
Their networks are designed with redundancy, meaning that if one part of the network
fails, data can still travel along alternate routes—this is vital for reliability and uptime.

🔍 Example Tier 1 ISPs in the U.S.:

 AT&T
 Verizon
 Lumen Technologies
 T-Mobile (formerly Sprint)
 Cogent Communications
 Zayo Group

9. What function do IXPs serve?

✅ Answer to Question 9: What function do IXPs serve?

IXPs (Internet Exchange Points) serve a critical role in the Internet infrastructure by allowing
different Internet networks—such as ISPs (Internet Service Providers), content delivery
networks (CDNs), and large enterprises—to interconnect directly and exchange data traffic
with one another.

📌 Key Functions of IXPs:

1. Facilitate Efficient Data Exchange


IXPs allow networks to exchange internet traffic without having to route it through
third-party networks, reducing the number of “hops” a packet takes and improving
speed and reliability.
2. Reduce Latency
By enabling local traffic exchange, IXPs reduce latency (delay), especially for local or
regional data requests (like video streaming or browsing local websites).
3. Lower Costs
Since networks can exchange traffic directly, they save money by reducing their reliance
on Tier 1 ISPs, who typically charge for transit.
4. Improve Redundancy and Resilience
With more direct connections through IXPs, the internet becomes more robust and better
able to handle spikes in traffic or network failures.
5. Support Local Internet Ecosystems
IXPs foster growth of local internet ecosystems by keeping local traffic local, which is
especially valuable in developing markets.
📍 In short:
IXPs act like neutral "meeting points" where various internet networks can exchange data
directly, making the global internet faster, cheaper, and more reliable.

10. What is 5G?

5G enables high-bandwidth mobile broadband with speeds reaching 10 Gbps or more,


and provides support for up to 100,000 connections per square kilometer (known as
massive machine-to-machine (M2M) connections), and ultra-low-latency (less than 10
milliseconds) communications.
5G cellular standard for high-bandwidth

mobile broadband
11. What are the differences among a public, a private, and a hybrid cloud?

12. How does UDP differ from TCP?


UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) are both Transport
Layer protocols in the Internet protocol suite, but they serve different purposes and behave very
differently.

📌 Key Differences between TCP and UDP: VERSION 1

Feature TCP (Transmission Control Protocol) UDP (User Datagram Protocol)


Connection Connection-oriented – establishes a Connectionless – sends data without
Type connection before sending data establishing a connection
Reliable – ensures data arrives complete, Unreliable – no guarantee of delivery,
Reliability
in order, and without duplication order, or duplication
Error Performs basic error checking only
Performs error checking and correction
Checking (no correction)
Data
Maintains the correct sequence of packets Does not guarantee sequence
Sequencing
Slower due to overhead of managing
Speed Faster due to minimal overhead
connections and reliability
Web browsing (HTTP/HTTPS), file Streaming, voice calls, online gaming
Use Cases
transfers (FTP), email (SMTP) (where speed is prioritized)

VERSION 2:

Comparison Table: TCP vs. UDP

Aspect TCP (Transmission Control Protocol) UDP (User Datagram Protocol)

Connection
Connection-oriented (requires handshake) Connectionless (no handshake needed)
Type

Reliable – ensures delivery, order, and Unreliable – no guarantee of delivery,


Reliability
integrity of data order, or integrity

Yes – includes error detection and


Error Checking Yes – includes basic error detection only
correction

Data
Maintains correct sequence of packets No sequence assurance
Sequencing

Speed Slower due to overhead Faster, lightweight

High – due to acknowledgment and Low – no acknowledgment or


Overhead
retransmission mechanisms retransmission

Congestion Yes – includes flow control and congestion No – sends data regardless of network
Aspect TCP (Transmission Control Protocol) UDP (User Datagram Protocol)

Control avoidance condition

Web browsing, email, file transfers, secure Live video/audio streaming, VoIP, online
Use Cases
transactions gaming, DNS lookups

YouTube Live, Zoom, Skype, WhatsApp


Examples HTTP, HTTPS, FTP, SMTP, IMAP
calls, online games

Like sending a registered letter – Like sending postcards – fast, but may get
Analogy
guaranteed delivery lost or out of order

📘 From the textbook (Chapter 3):

 TCP: "Establishes connections among sending and receiving computers and handles
assembly and reassembly of packets... ensures packets are received in the same sequence,
without any missing".
 UDP: "Provides an alternative to TCP when the error-checking and correction
functionality of TCP is not necessary".

🧠 Summary:

 Use TCP when accuracy and reliability matter (like emails or web pages).
 Use UDP when speed is more important than perfect delivery, like in real-time video
or voice communications.

13. What are some of the challenges of policing the Internet? Who has the final say when it
comes to content on the Internet?

Policing the Internet is a complex and highly controversial issue due to the decentralized and
global nature of the Internet. Unlike traditional media, which is often controlled within
national borders, the Internet operates across jurisdictions, making enforcement of rules and laws
much more difficult. Here are several key challenges:

1. Decentralized Architecture
The Internet is built on a decentralized network of servers and routers that span the globe.
This means no single entity has complete control over its content or flow of information.
Policing content requires cooperation among various countries, service providers, and
organizations, which can be difficult to coordinate.
2. Jurisdictional Conflicts
Different countries have different laws regarding acceptable content. For example, what
is considered hate speech in one country may be protected as free speech in another. This
leads to conflicts when content is accessible globally but violates local laws.
3. Anonymity and Encryption
Users can remain anonymous and use encryption to hide their identities and activities.
This makes it difficult for law enforcement to trace illegal actions such as cybercrime,
hacking, or the distribution of illegal content.
4. Volume and Speed of Content Creation
Millions of pieces of content are created and shared every minute. Monitoring and
moderating such a massive amount of data is technically and logistically overwhelming,
even for advanced AI moderation tools.
5. Private Sector Control
Much of the content distribution on the Internet is managed by private companies like
Google, Facebook, and Twitter. These platforms set their own rules for content
moderation, which may or may not align with government regulations or public
expectations.

Who has the final say when it comes to content on the Internet?

There is no single authority that has the final say. Instead, it is a complex interplay between
governments, private companies, international organizations, and end users:

 Governments can enforce laws and regulations within their own borders and often
pressure companies to comply with national laws (e.g., content takedown requests).
 Private companies (such as social media platforms and ISPs) create their own terms of
service and have significant power over what content stays up or gets removed.
 International bodies like ICANN and the ITU help regulate technical standards but do
not govern content.
 End users influence content through reporting, engagement, and public pressure, which
can drive companies to take action (or not).

In some authoritarian countries (e.g., China, Iran), governments exercise strict control over
Internet content by routing all traffic through central authorities. In more open societies like the
U.S., control is more distributed, though companies still play a major gatekeeping role.

14. Compare and contrast the capabilities of Wi-Fi and cellular wireless networks.

Wi-Fi Networks

Capabilities and Features:

 Operate using unlicensed spectrum bands (typically 2.4 GHz and 5 GHz).
 Provide high-speed access to the Internet through a local wireless access point (router).
 Often used in homes, offices, cafes, and other fixed locations.

Advantages:
 High speeds: Wi-Fi 6 can support up to 10 Gbps under ideal conditions.
 Cost-effective: Once installed, users don’t pay per usage.
 Control: Users have direct control over the network (e.g., setting passwords, managing
devices).

Limitations:

 Limited range: Effective only within a short distance (~100 feet indoors).
 Dependent on wired infrastructure: A Wi-Fi router requires a wired broadband
connection.
 Mobility restrictions: Users need to be near access points for uninterrupted connectivity.

Cellular Wireless Networks (3G, 4G, 5G)

Capabilities and Features:

 Operate using licensed spectrum regulated by governments.


 Provide wide-area wireless coverage using towers and base stations.
 Designed for mobility, making them ideal for smartphones and IoT devices.

Advantages:

 Wider coverage: Cellular networks provide Internet access virtually anywhere—cities,


highways, rural areas.
 Mobility: Seamless handoff between towers allows uninterrupted service during
movement.
 5G technology: Offers ultra-high speeds, low latency, and supports massive device
connectivity, enabling smart cities, real-time gaming, and telemedicine.

Limitations:

 More expensive: Cellular data plans typically have monthly fees or usage-based
charges.
 Dependent on carrier infrastructure: Users are reliant on mobile network operators.
 Signal variation: Speed and connectivity can vary depending on location, weather, and
tower load.

omparison Table

Feature Wi-Fi Cellular (3G/4G/5G)

Coverage Local (home, office) Wide (regional, national)

Speed High (up to 10 Gbps with Wi-Fi 6) High (up to 10 Gbps with 5G)

Cost Low (after setup) Higher (data plans)


Feature Wi-Fi Cellular (3G/4G/5G)

Mobility Limited Excellent

Control User-managed Carrier-managed

Infrastructure Need Requires wired connection Uses cellular towers

Context from the Book

According to Chapter 3: E-commerce Infrastructure, Wi-Fi is ideal for local wireless access in homes or
businesses, while cellular networks are suited for ubiquitous connectivity and mobility, particularly in
the context of mobile commerce and IoT applications. The rise of 5G is especially transformative,
enabling not just faster data but support for advanced services like autonomous vehicles and
augmented reality

15. What are the basic capabilities of a web server?

16. What role does CSS play in the creation of web pages?

Cascading Style
Sheets (CSS)
tell a web browser how
to display the HTML
elements on the screen
HTML defines the structure of a document, including the headings, graphic positioning,
tables, and text formatting. HTML is used in conjunction with Cascading Style
Sheets (CSS), which tell a web browser how to display the HTML elements on the screen.
HTML provides the structure of the page, while CSS provides the style. HTML web pages
can be created with any text editor, such as Notepad or WordPad, using Microsoft Word
(simply save the Word document as a web page), or any one of several web page
development tools such as Microsoft Visual Studio or Adobe Dreamweaver CC.

Key Roles of CSS in Web Development:

1. Styling Content
CSS defines colors, fonts, font sizes, spacing, margins, padding, and borders. For
example, it determines what color your headings are or how big your paragraphs appear.
2. Layout Control
CSS enables designers to organize the layout of a page using techniques like grid,
flexbox, and positioning, creating multi-column layouts, navigation bars, and footers.
3. Responsive Design
CSS allows for the creation of responsive websites that adapt to different screen sizes
(mobile, tablet, desktop) using media queries.
4. Separation of Concerns
By separating content (HTML) from presentation (CSS), websites are easier to maintain,
update, and scale. Developers can make global design changes by editing a single CSS
file.
5. Consistency Across Pages
A shared CSS file ensures that all pages on a site follow a consistent design language—
such as the same font styles, button colors, or layout structure.
6. Animation and Interactivity
CSS can add visual effects and transitions, such as hover effects, fade-ins, or animated
menus, enhancing the user experience.

CSS controls how your website looks. It’s the design layer of the web, turning plain HTML into a
visually polished and user-friendly interface.

17. Why was the development of the browser so significant to the growth of the Web?

The development of the web browser was a turning point that made the World Wide Web
accessible, understandable, and usable by the general public—not just tech experts. It
transformed the Web from a niche academic tool into a global platform for communication,
commerce, education, and entertainment.

✅ Key Reasons Why the Browser Was So Significant:

1. User-Friendly Interface
o Early browsers like Mosaic (1993) and later Netscape Navigator provided a
graphical interface that allowed users to click links, view images, and navigate
with ease, replacing the need for typing complex commands.
2. Universal Access to the Web
o Browsers enabled anyone with a computer and Internet connection to access
websites, dramatically expanding the Web’s audience.
3. Integration of Multimedia
o Browsers could display text, images, video, and audio all in one interface,
making the Web visually engaging and more powerful than traditional media.
4. Support for HTML and Hyperlinks
o Browsers were designed to read and interpret HTML, the basic language of the
Web, and support hyperlinks, which created an interconnected web of
information.
5. Platform for Innovation
o Web browsers became platforms for running web-based applications and
integrating with plug-ins, scripts, and eventually JavaScript, allowing for
interactive websites and e-commerce systems.
6. Standardization and Interoperability
o Browsers helped push the adoption of web standards (HTML, CSS, JavaScript),
ensuring websites could work across different devices and platforms.

📘 Context from the Book

The textbook explains that the browser was essential to the explosive growth of the Web in
the 1990s because it made online content navigable and visually appealing, which attracted
businesses, media, educators, and consumers to create and consume content online.

🧠 In Summary:

The browser acted as the doorway to the Internet. Without it, the Web would have remained
a complex system used only by researchers. With it, the Web became a global phenomenon.

18. What advances and features does HTML5 offer?

HTML5
most recent version
of HTML

19. Name and describe five services currently available through the Web.
20. What has been the impact of the development of mobile apps?

Chapter 4:

QUESTIONS
1. What are the main factors to consider in developing an e-commerce presence?

What are the main factors to consider in developing an e-commerce presence?


Developing an effective e-commerce presence requires careful planning and strategic decision-
making across multiple dimensions. According to Laudon & Traver (2023) in Chapter 4 of E-
commerce: Business, Technology, Society (17th Edition), there are nine key factors to consider:

1. Vision and Strategic Idea


The starting point is to define a clear vision or strategic idea that articulates what the
business wants to achieve through its online presence. This includes identifying the
purpose of the website or platform and the unique value it brings to customers.
2. Revenue Model ("Where’s the Money?")
Understanding how the online business will generate revenue is crucial. Common
revenue models include sales of goods or services, advertising, subscription, affiliate
marketing, or transaction fees.
3. Target Audience ("Who and Where?")
Businesses must define their target customers, including their demographic
characteristics, online behavior, and needs. This helps shape marketing strategies, user
experience design, and personalization efforts.
4. Market and Competitive Analysis ("What’s the Ballpark?")
It's essential to assess the competitive landscape by analyzing existing competitors,
market size, and positioning. This includes using tools like PEST or SWOT analysis to
identify opportunities and threats.
5. Content Strategy ("Where’s the Content Coming From?")
Content is the core of an e-commerce site. Businesses must determine the source,
format, and frequency of content updates, whether it's product descriptions, blogs,
videos, or customer reviews.
6. SWOT Analysis
A comprehensive Strengths, Weaknesses, Opportunities, and Threats (SWOT)
analysis helps align internal capabilities with external market conditions and guides
realistic strategic planning.
7. E-commerce Presence Map
Businesses need to plan which platforms they will use for presence—such as a desktop
website, mobile app, social media, or email—and how these platforms will be integrated
and synchronized.
8. Development Timeline and Milestones
Establishing a clear timeline with key milestones allows for proper project management,
allocation of resources, and phased deployment, often following a systems development
life cycle (SDLC).
9. Cost Estimation
Finally, businesses must consider both initial development costs (such as design,
programming, testing) and ongoing maintenance costs (updates, customer support,
marketing, hosting), which often surpass development costs in the long run.

✅ Summary:
To develop a successful e-commerce presence, firms must consider their strategic vision,
revenue model, target audience, market environment, content strategy, internal capabilities
(SWOT), platform choices, implementation plan, and costs. A structured approach ensures
the business aligns with its goals while providing a seamless, competitive, and sustainable online
experience.

2. Define the systems development life cycle, and discuss the various steps involved in
creating an e-commerce site.

Definition of SDLC:

The Systems Development Life Cycle (SDLC) is a structured, step-by-step methodology used to plan,
develop, and maintain an information system—in this case, an e-commerce site.

SDLC provides a systematic approach that ensures the final product is well-designed, functional, meets
business requirements, and can be implemented and maintained effectively.

Steps Involved in Creating an E-commerce Site (SDLC Phases):

1. Systems Analysis/Planning

 Define the business objectives for the website.


 Identify system functionalities required (e.g., product search, shopping cart, secure checkout).
 Develop a preliminary budget and a timeline.
 Conduct a feasibility study (technical, economic, operational).

2. Systems Design

 Create both:
o Logical design: Information flow, database structure, user interface logic.
o Physical design: Hardware/software components, server configurations, network setup.

3. Building the System

 Involves acquiring hardware and software.


 Develop the website, including front-end (HTML, CSS, JavaScript) and back-end (e.g., database
integration, business logic).
 Can be done in-house, outsourced, or using e-commerce platforms like Shopify or Wix.

4. Testing the System

 Conduct multiple types of testing:


o Unit testing (individual components)
o System testing (entire site functionality)
o Load testing (performance under traffic)
o Security testing (e.g., vulnerability scans)

5. Implementation

 Deploy the system into a live production environment.


 Train staff and monitor initial performance.
 Prepare for user feedback, bug fixes, and adjustments.

6. Maintenance

 Ongoing process to update content, improve features, apply security patches, and respond to
user needs.
 According to the textbook, maintenance can account for up to 50% of total cost over the
system’s life cycle.

Certainly! Here's a detailed and structured English answer to the question:

Define the Systems Development Life Cycle (SDLC), and Discuss the Various
Steps Involved in Creating an E-commerce Site

The Systems Development Life Cycle (SDLC) is a structured methodology used to design,
develop, implement, and maintain information systems. In the context of e-commerce, it serves
as a critical framework to ensure that an online presence (such as a website or app) is
strategically aligned with business goals, technically robust, and responsive to user needs.

According to Laudon & Traver (2023) in Chapter 4 of E-commerce: Business, Technology,


Society (17th Edition), the SDLC consists of six major stages:

1. Systems Analysis / Planning

This is the first and most important stage of the SDLC. It focuses on defining the business
objectives of the e-commerce site and determining the system requirements that will fulfill
those goals.

 Identify business goals (e.g., increase sales, expand market).


 List key system functionalities (e.g., product catalog, search engine, checkout).
 Define the target audience and expected user behavior.
 Conduct a feasibility analysis (technical, economic, legal, and operational).
 Estimate a preliminary budget and timeline.
📝 Example: A retailer may want to build an e-commerce site to expand internationally. This
stage defines how the site will support multiple currencies, languages, and regions.

2. Systems Design

At this stage, the architecture of the e-commerce system is created. It includes both logical and
physical designs.

 Logical design: Describes data flow, input/output processes, user interaction, and
website functionality without getting into hardware specifics.
 Physical design: Involves actual layout of servers, database systems, networking, and
software platforms (e.g., whether to use cloud hosting, what CMS to use, etc.).

📝 Key Tools: Site maps, wireframes, mockups, database schema, design documentation.

3. Building the System

This phase involves the actual development of the e-commerce website or application.

 Choose between custom development or using e-commerce platforms (e.g., Shopify,


Magento, Wix).
 Code the website using suitable technologies (HTML/CSS/JavaScript for front-end; PHP,
Python, [Link] for back-end).
 Integrate payment gateways, databases, CRM systems, and inventory systems.
 Acquire or configure necessary hardware/software infrastructure (servers, SSL
certificates, firewalls).

4. Testing the System

Thorough testing ensures that the e-commerce site functions as intended and is secure, reliable,
and user-friendly.

 Unit testing: Verifies individual components (e.g., login, search).


 System testing: Checks all components work together.
 Integration testing: Ensures data flows correctly between systems (e.g., between
product catalog and inventory).
 Load testing: Simulates traffic to assess performance.
 Security testing: Identifies vulnerabilities like SQL injection, XSS attacks.
📝 Key Insight: According to Laudon & Traver, poor testing can result in customer
dissatisfaction, revenue loss, and reputational damage.

5. Implementation

After successful testing, the system is deployed to the live environment.

 Move the website from staging to production.


 Conduct final system checks under real-world conditions.
 Train administrative staff or customer service teams.
 Collect and monitor user feedback for improvements.

6. Maintenance

Maintenance is an ongoing phase that includes:

 Updating content (e.g., product listings, blog posts).


 Patching security vulnerabilities.
 Optimizing performance (e.g., loading speed).
 Introducing new features or integrating third-party services.
 Monitoring analytics and customer behavior to guide future updates.

📌 Important: The textbook highlights that site maintenance can consume over 50% of the
total cost of ownership, often exceeding the cost of initial development.

✅ Conclusion

The SDLC provides a comprehensive framework that ensures the successful creation and long-
term sustainability of an e-commerce presence. Each phase is critical—from strategic planning to
testing and post-launch support. By following this life cycle, businesses can reduce risk, control
costs, and enhance customer satisfaction.

📘 Reference

Laudon, K. C., & Traver, C. G. (2023). E-commerce: Business, Technology, Society (17th
Edition). Chapter 4: Building an E-commerce Presence, pp. 188–190.
3. Discuss the differences between a simple logical and a simple physical website design.

Discuss the Differences Between a Simple Logical and a Simple Physical Website
Design

In web development—particularly in the process of building an e-commerce site as explained in


Chapter 4 of Laudon & Traver (2023)—it is important to distinguish between two key
concepts in systems design:

Logical Design vs. Physical Design

Both are crucial components of the Systems Development Life Cycle (SDLC), but they serve
different purposes and occur at different stages in the planning and development process.

1. Logical Website Design

Definition:
Logical design refers to the abstract representation of a website’s structure and functionalities,
independent of specific technologies or hardware.

Focus:

 What the website should do


 How information flows
 The user experience and functionality

Key Components:

 Site map: Defines the pages and their relationships (hierarchy).


 Wireframes: Simple sketches showing the layout of content and navigation on each
page.
 Navigation structure: How users move through the site.
 Functionality outlines: What features are required (e.g., product search, shopping cart,
checkout process).
 Business logic: Rules and operations to be performed (e.g., calculating taxes, shipping
options).

Goal:
To ensure that the user journey and business needs are clearly mapped out, before any coding
or hardware decisions are made.
2. Physical Website Design

Definition:
Physical design refers to the actual implementation of the website using specific technologies,
hardware, and software platforms.

Focus:

 How the website will be built and deployed


 The infrastructure and technology choices

Key Components:

 Server architecture: Single-tier or multi-tier (e.g., separation of database, web server,


and application logic).
 Hosting environment: Cloud (e.g., AWS, Azure) vs. on-premises.
 Database structure: Physical storage of data (e.g., MySQL, PostgreSQL).
 Programming languages and frameworks (e.g., HTML/CSS/JavaScript, PHP, Python).
 Security features: SSL, firewalls, authentication mechanisms.

Goal:
To translate the logical design into a functioning website, optimized for performance,
scalability, and reliability.

✅ Summary of Differences

Feature Logical Design Physical Design


Technical implementation and
Purpose Conceptual planning and user flow
deployment
Technology
Yes No
Independent
Functionality, structure, user Infrastructure, hosting, coding,
Focus
experience database
Wireframes, flowcharts, use-case Server specs, database schema,
Tools Used
diagrams codebase
Later in design phase, prior to
Timing in SDLC Early in design phase
building/testing

4. Why is system testing important? Name the types of testing and their relationship to each
other.

Why is System Testing Important? Name the Types of Testing and Their
Relationship to Each Other
✅ Importance of System Testing in E-commerce Development

System testing is a critical step in the Systems Development Life Cycle (SDLC). In the context of e-
commerce, system testing ensures that a website or application:

 Works as intended across all its functions (e.g., browsing, cart, checkout).
 Handles user interactions reliably under different conditions.
 Is secure, stable, and scalable before going live.
 Minimizes the risk of critical failures that can lead to loss of revenue, poor customer experience,
or security breaches.

As noted in the textbook, failing to test thoroughly before deployment can result in lost sales, negative
publicity, and costly post-launch fixes.

🧪 Types of Testing and Their Relationships

Laudon & Traver (2023) describe several key types of testing, each building on the results of the
previous one:

1. Unit Testing

 What it does: Tests individual components or functions (e.g., login form, search bar).
 Goal: Ensure each small module performs correctly in isolation.
 Performed by: Developers during or right after coding.

2. System Testing

 What it does: Tests the complete, integrated system to check if all parts work together.
 Goal: Validate that all components (front-end, back-end, database) interact correctly.
 Scope: End-to-end testing of the site’s full functionality.

3. Integration Testing

 What it does: Focuses on the interaction between modules or systems, such as the connection
between shopping cart and payment gateway.
 Goal: Ensure data passes accurately between components (e.g., product info to checkout).
4. Load Testing (Performance Testing)

 What it does: Simulates high volumes of users or transactions to assess system performance
under stress.
 Goal: Determine how the site behaves under peak traffic (e.g., Black Friday sales).

5. Acceptance Testing

 What it does: Final testing stage where actual users or stakeholders validate the system.
 Goal: Confirm the site meets business requirements and is ready for deployment.

🔁 Relationship Between Test Types

These testing types are typically conducted in a sequential and layered manner:

Unit Testing → Integration Testing → System Testing → Load Testing → Acceptance Testing

 Each test type depends on the success of the previous.


 For example, system testing can only be done after unit and integration testing are complete.
 Load testing and acceptance testing are usually done near the final stages of development.

📘 Reference from Textbook:

“You must test the system’s functionality, usability, and security before deployment. Failure to test
properly can lead to loss of business, poor user experience, and a damaged brand.”
— Laudon & Traver (2023), Chapter 4, p. 196–197

In-depth Analysis of Testing Types

1. Unit Testing

 Purpose: Validate that individual units/modules of code work as expected.


 Scope: Smallest parts of the application, such as a function, method, or class (e.g., "add to cart"
button logic).
 Performed by: Developers.
 Frequency: Continuous during development (especially in agile or DevOps environments).
 Tools: JUnit, NUnit, Mocha, Jasmine.
2. Integration Testing

 Purpose: Ensure that multiple components or systems work together correctly.


 Scope: Interfaces between modules (e.g., product page sends correct data to cart and inventory
system).
 Performed by: Developers or testers.
 Challenges: Data consistency, API communication, database connectivity.
 Tools: Postman, SoapUI, Selenium (partially).

3. System Testing

 Purpose: Verify the complete and integrated application functions as intended.


 Scope: Entire website including front-end and back-end.
 Performed by: QA/test engineers.
 Includes: Functional testing, UI/UX checks, error handling, navigation flow.
 Tools: Selenium, TestRail, QTP.

4. Load (Performance) Testing

 Purpose: Measure system behavior under expected and peak user loads.
 Scope: Stress, scalability, and reliability tests under simulated traffic.
 Performed by: Performance testers.
 Use Case: Black Friday sales simulation or multiple simultaneous checkouts.
 Tools: Apache JMeter, LoadRunner, BlazeMeter.

5. Acceptance Testing

 Purpose: Confirm the system meets business requirements and is ready for production.
 Scope: High-level validation from the perspective of the client or end-user.
 Performed by: Clients, product owners, or end-users.
 Types: Alpha testing (internal), Beta testing (external limited users).
 Tools: Manual or scripted UAT platforms like Zephyr, TestLink.

📊 Comparison Table: Website Testing Types


When
Testing Type Purpose Performed By Scope Key Tools
Performed

Unit Testing Validate correctness of Developers Smallest code JUnit, Mocha, During coding
individual
When
Testing Type Purpose Performed By Scope Key Tools
Performed

functions/modules units Jasmine

Module-to-
Integration Test interfaces between Developers or Postman, After unit
module
Testing components/modules Testers SoapUI testing
interaction

Entire e-
System Verify complete system Selenium, Before
QA Engineers commerce
Testing functionality TestRail deployment
platform

Assess performance under Performance Whole system JMeter, Late-stage


Load Testing
traffic load Testers under stress LoadRunner development

End-to-end Manual,
Acceptance Ensure business Client/User Final step
(real-world use Zephyr,
Testing requirements are met Stakeholders before release
cases) TestLink

✅ Key Insight from the Textbook (p.196–197):

“Testing must cover unit, integration, and system levels and include both functional and performance
testing to ensure the site meets customer expectations and is reliable under load.”

5. Compare the costs for system development and system maintenance. Which is more
expensive, and why?

Compare the costs for system development and system maintenance. Which is
more expensive, and why?

According to the textbook, system development and maintenance costs are often roughly
equivalent, at least in the short term:

"In general, the annual system maintenance cost will roughly parallel the development cost.
An e-commerce site that cost $40,000 to develop is likely to require a $40,000 annual
expenditure to maintain. Very large e-commerce sites experience some economies of scale, so a
site that cost $1 million to develop might require $500,000 to $750,000 per year to maintain."
— Page 197

However, maintenance tends to become more expensive over time, especially for e-commerce
systems. The reason is:
1. E-commerce sites are never truly finished—they are dynamic and require constant
updates and improvements, unlike traditional systems such as payroll systems.
2. A breakdown of maintenance activities shows that:
o 20% goes to fixing bugs and emergency issues.
o 20% for updates to reports, data files, and database connections.
o 60% is spent on ongoing system management and improvements.

“E-commerce sites are never finished: They are always in the process of being built and
rebuilt. They are dynamic—much more so than payroll systems.”
— Pages 197–198

Conclusion

While initial development can be costly, ongoing maintenance often ends up being more
expensive in the long run due to the continuous need for updates, improvements, and support.
This is especially true for e-commerce systems, which evolve quickly and must adapt to
changing technologies and user needs.

omparison: System Development vs. System Maintenance

Aspect System Development System Maintenance

Timing One-time (initial phase) Ongoing (annual/continuous)

Cost Estimate Fixed cost (e.g., $40,000) Similar annual cost (e.g., $40,000/year)

Long-term Cost High at first, then stops Becomes more expensive over time

Planning, design, coding, testing, and Bug fixing, updates, content changes,
Nature of Work
deployment performance tuning

Flexibility Structured and planned Requires frequent, sometimes urgent, changes

Change
Rare after launch Continuous and frequent
Frequency

Typical 20% bug fixes, 20% updates, 60% ongoing


Initial 100% effort
Allocation improvements

Textbook
Pages 197–198 Pages 197–198
Reference

System maintenance is more expensive in the long run.

Why?
1. Ongoing Costs:
Unlike system development, which is a one-time investment, maintenance is continuous
—costs recur every year.
2. Dynamic Nature of E-commerce:
E-commerce systems are constantly evolving. As stated in the textbook:

“E-commerce sites are never finished… They are dynamic—much more so than
payroll systems.”
(Page 197–198)

3. Continuous Improvement:
Maintenance isn’t just fixing bugs—it includes performance tuning, adding new features,
adapting to user needs, and keeping up with technological change.
4. Typical Cost Breakdown:
o 20% – fixing bugs and emergencies
o 20% – modifying reports, files, and data links
o 60% – ongoing improvements and system management
(Page 198)

Conclusion:

System maintenance is more expensive over time because it is an ongoing effort that
supports the system’s performance, security, and adaptability in a rapidly changing
environment.

📖 Source: E-commerce 2023, Laudon & Traver, 17th ed., pages 197–198

6. Why is a website so costly to maintain? Discuss the main factors that impact cost.

Why is a website so costly to maintain?

Maintaining a website—especially an e-commerce site—is expensive because it requires continuous


updates, monitoring, and improvements. The cost isn't just about keeping it online; it's about keeping it
secure, functional, fast, and relevant in a competitive digital environment.

Main Factors That Impact Website Maintenance Cost:

Factor Explanation

Content Updates Regularly adding or updating product info, blogs, images, videos, etc.
Factor Explanation

Installing patches, SSL certificates, and protection against


Security Maintenance
hacking/malware.

Software and Plugin Updates Keeping CMS (like WordPress), plugins, and extensions up-to-date.

Speed tuning, load time improvements, mobile responsiveness


Performance Optimization
adjustments.

Bug Fixes and


Fixing broken links, layout issues, or errors caused by updates.
Troubleshooting

Backup and Recovery Services Regular backups and system recovery plans to avoid data loss.

Monitoring website traffic, keyword rankings, and search engine


SEO and Analytics
visibility.

Customer Support Integration Maintaining chatbots, forms, help sections, or e-mail systems.

Hosting and Domain Costs Paying for reliable hosting services and domain name renewals.

Compliance and Legal


Staying current with laws (e.g., privacy policies, cookies, accessibility).
Updates

Conclusion:

A website is costly to maintain because it’s a living system that must evolve with user expectations,
security threats, and technological trends. For e-commerce especially, the cost is an investment in user
experience, trust, and performance.

Deeper Analysis: Why Website Maintenance is Costly

🔍 1. Continuous User Expectations

 Modern users expect seamless experiences: fast load times, mobile compatibility,
personalization, and intuitive design.
 These expectations aren’t static. They evolve with trends and technology (e.g., AI chatbots,
voice search, mobile-first design).
 Impact: Ongoing UX/UI testing, A/B experiments, and performance tuning require expert staff or
services.

➡️Cost driver: UX optimization, front-end development, and user research.


🛡️2. Cybersecurity Threats

 Websites—especially e-commerce—are prime targets for cyberattacks: data breaches, DDoS,


ransomware.
 Security is not a one-time setup; it involves constant updates, monitoring, vulnerability testing,
and incident response plans.
 High-profile vulnerabilities (e.g., Log4Shell) have shown that even minor components can pose
major risks.

➡️Cost driver: Security audits, firewall management, SSL, intrusion detection, penetration testing.

🔁 3. Third-party Integrations & Compatibility

 Websites use third-party tools for payments, analytics, ads, CRM, etc. These external systems
update often, and your site must adapt.
 Incompatibility risks crashing critical features like shopping carts or user login.

➡️Cost driver: Developer time to ensure compatibility, testing environments, license renewals.

🧩 4. Content Management & SEO

 To stay relevant and competitive, content must be fresh and optimized for search engines (SEO).
 Search engines frequently update algorithms (e.g., Google’s Helpful Content Update), requiring
site audits and content rewriting.

➡️Cost driver: Copywriting, SEO specialists, data analytics subscriptions (like SEMrush, Ahrefs).

💥 5. Scalability & Performance

 As traffic grows, a website must scale without degrading performance (e.g., slow loading on
Black Friday = lost sales).
 This involves load balancing, CDN usage, caching strategies, and database optimization.

➡️Cost driver: Advanced hosting (cloud platforms like AWS), DevOps engineers, auto-scaling
architecture.

🧾 6. Legal & Regulatory Compliance


 Privacy laws (GDPR, CCPA) require cookie management, consent forms, and user data handling
policies.
 Accessibility laws (e.g., WCAG 2.1) may require design changes for users with disabilities.

➡️Cost driver: Legal consultancy, compliance tools, accessibility audits and redesign.

📈 7. Strategic Marketing & Analytics Integration

 Maintenance also supports ongoing campaigns: e-mail marketing, product recommendations,


retargeting ads.
 This means integrating and updating marketing tools (like HubSpot, Mailchimp, Google Tag
Manager).

➡️Cost driver: Marketing automation tools, analyst support, campaign A/B testing.

📦 8. Business Value Preservation

 The website is a digital storefront. Downtime = lost revenue. Slow speed = cart abandonment.
 Maintenance is not just a technical cost—it’s an investment in business continuity, customer
trust, and brand reputation.

➡️Cost driver: High-availability infrastructure, SLAs with service providers, monitoring systems (e.g.,
New Relic, Datadog).

🔚 Summary Table: Core Dimensions of Website Maintenance Cost


Dimension Focus Cost Examples

Technical Updates, bug fixes, compatibility Dev hours, QA testing, hosting

Security Threat prevention and response SSL, firewalls, audits, penetration testing

Marketing SEO, content, analytics Tools, strategy consulting, ongoing content edits

User Experience Design optimization, speed A/B testing, front-end work, UX research

Compliance Legal, privacy, accessibility Legal advice, WCAG fixes, cookie policy mgmt

Infrastructure Uptime, performance, scaling Cloud services, CDN, database tuning


🧠 Final Thought:

A website is not a project. It's a product—and like any product, it needs care, evolution, and
protection.

That’s why website maintenance is not just costly—it’s strategically essential.

Main Factors That Impact Website Maintenance Cost


Factor Explanation Example Costs

Regularly updating text, images, product listings,


Copywriting, graphic
1. Content Updates blogs, and promotions to keep the site fresh and
design, CMS updates
relevant.

2. Security Continuous protection against malware, hacking, SSL renewal, firewall,


Maintenance data breaches, and other cyber threats. security monitoring

Websites run on CMS platforms (e.g., WordPress,


3. Software & Plugin Developer time, plugin
Magento) with plugins that must be updated to
Updates subscriptions
prevent conflicts or vulnerabilities.

Websites require annual hosting and domain name


4. Hosting & Domain Web hosting, CDN, domain
renewal fees. More advanced websites may require
Fees name renewals
scalable cloud infrastructure.

Improving site speed, fixing broken links, optimizing


5. Performance Speed testing tools,
images, and minimizing downtime to ensure
Optimization developer optimization
smooth user experience.

Responsive design
6. Mobile & Browser Adapting site features to perform well across
updates, cross-browser
Compatibility different devices and browser versions.
testing

Ongoing need for developer support to fix bugs,


7. Technical Support & Hourly dev rates,
resolve issues, or apply hotfixes when something
Troubleshooting emergency support
breaks.

Maintaining search visibility requires updated SEO SEO audits, analytics tools
8. SEO & Analytics
practices, meta tags, keyword optimization, and like Google Analytics,
Tools
performance tracking. SEMrush

For e-commerce sites: shopping carts, inventory Payment processor


9. E-commerce
syncing, payment gateways, and shipping systems integrations, plugin
Functionality
need constant updates and testing. maintenance

10. Regulatory Privacy laws (like GDPR/CCPA) and accessibility Cookie consent tools,
Compliance standards (WCAG) change frequently and must be accessibility audits
Factor Explanation Example Costs

reflected on the site.

📌 Key Insight:

Maintenance cost is not only about “keeping the site running”—it’s about adapting to a changing
environment: users, technology, regulations, and competition.

📊 Example of Monthly Maintenance Cost Breakdown (Typical for a


Medium E-commerce Site):
Category Estimated Monthly Cost (USD)

Hosting & CDN $50–$300

Developer Retainer $500–$2,000

SEO/Marketing Tools $100–$400

Security Services $100–$300

Content Updates $200–$1,000

Compliance & Legal $50–$150

Total $1,000–$4,000+

7. What are the main differences between single-tier and multi-tier site architecture?

Main Differences: Single-tier vs. Multi-tier Site Architecture


Aspect Single-tier Architecture Multi-tier Architecture

All components (UI, logic, database) are Components are separated into multiple
Structure
in one layer layers/tiers

Often called n-tier architecture (commonly


Common Name Also called monolithic architecture
3-tier)

One-tier: typically combines frontend, Usually split into 3 tiers: Presentation,


Tiers/Components
backend, and storage Logic, and Data

Scalability Hard to scale efficiently Highly scalable and modular

Maintainability More difficult to update or debug (all Easier to maintain; updates can be made to
Aspect Single-tier Architecture Multi-tier Architecture

logic is intertwined) one tier at a time

Better suited for high-traffic or complex


Performance Good for simple/small websites
applications

Lower, due to all parts being tightly Higher, because tiers can be isolated and
Security
coupled protected independently

Deployment Faster and simpler to deploy More complex to deploy and manage

Blogs, small business sites, personal E-commerce, banking, SaaS, large-scale


Typical Use Cases
websites enterprise platforms

🧱 Example:

 Single-tier:
A WordPress site where everything (pages, content, logic, and database) is handled by one
server.
 Multi-tier (3-tier):
o Presentation Tier: Web browser or mobile app interface
o Application Tier: Server-side logic (e.g., Java, PHP, [Link])
o Data Tier: Database server (e.g., MySQL, MongoDB)

📌 Conclusion:

 Use single-tier for simple websites where speed and ease of deployment matter.
 Use multi-tier for complex, scalable, secure, and high-performance applications.

8. Name the basic functionalities that web server software should provide.

Basic Functionalities of Web Server Software


Functionality Description

Handles HTTP/HTTPS requests and responses between the client


1. HTTP Processing
(browser) and the server.

2. URL Mapping Maps incoming URLs to the correct web pages, scripts, or applications.

3. File Delivery Serves static content such as HTML files, images, CSS, JavaScript to the
Functionality Description

user's browser.

4. Execution of Server-Side Executes dynamic scripts (e.g., PHP, [Link], Python) to generate
Code custom web content.

5. Authentication &
Supports login systems and user access controls for protected resources.
Authorization

Records access logs, error logs, and provides performance monitoring


6. Logging and Monitoring
tools.

Distributes incoming requests across multiple servers for scalability and


7. Load Balancing Support
reliability.

Includes SSL/TLS support, IP filtering, and protection against common


8. Security Features
attacks (e.g., DoS).

9. Virtual Hosting Hosts multiple websites/domains on a single server.

Can work with REST APIs or web services for dynamic content and
10. API Support / Integration
backend communication.

11. Caching Improves speed by temporarily storing frequently accessed content.

Delivers custom error pages for 404 Not Found, 500 Internal Server
12. Error Handling
Error, etc.

🔧 Common Web Server Software Examples:

 Apache HTTP Server


 Nginx
 Microsoft IIS
 LiteSpeed
 [Link] (with Express, etc.)

📌 Conclusion:

A good web server must ensure reliability, speed, security, and flexibility to support both static and
dynamic web content, while also being scalable and easy to manage.

9. What are the main factors to consider in choosing the best hardware platform for your
website?
To choose the best hardware platform for your website, there are several key factors to consider:

Main Factors to Consider:

1. Speed:
o Assess how fast your site needs to respond under normal and peak loads.
o Consider the number of simultaneous users, type of customer requests, content
types, and available bandwidth.
2. Capacity:
o Ensure the platform can handle your expected traffic and data processing load.
o This includes enough computing and telecommunications capacity to avoid
overloads or downtime.
3. Scalability:
o Your platform should be able to grow with your business. This can be achieved
through:
 Vertical scaling (upgrading individual servers with more power),
 Horizontal scaling (adding more servers),
 Improving processing architecture.
4. Type of Site and Content:
o Different site types (e.g., shopping, self-service, B2B) require different levels of
performance.
o Dynamic content, security requirements, and use of legacy systems also affect
hardware needs.
5. User Behavior and Demand Patterns:
o Consider peak usage times, number of concurrent users, and how demanding user
actions are (e.g., checkout, search).
6. Hosting Approach:
o Decide whether to host in-house or use a cloud-based service. Outsourcing can
simplify scalability and performance concerns.

📄 Where in the textbook is this information found?

 These factors are detailed in Chapter 4, Section 4.4 "Choosing Hardware", especially
on pages 207 to 211 of the textbook you provided

1. Demand-Side Considerations

📍 Pages 207–209

 Simultaneous Users: How many people will be accessing the site at once? High concurrency
affects performance.
 Type of Site and Content: Static vs. dynamic, shopping vs. B2B, etc. Different site types require
different resource intensities.
 Nature of Requests: Data-heavy transactions like searches, checkouts, and registrations require
more processing.
 Security Requirements: Sites with login/authentication demand more system resources.
 Legacy System Integration: Connecting with old databases or systems may slow things down if
not properly architected.
 Peak Load Management: Performance degrades gracefully until a tipping point, after which
delays and crashes occur (shown in Figure 4.11).

🔧 2. Supply-Side Solutions

📍 Pages 209–211

Once you understand the demand, here’s how you can meet it:

🔁 Scalability Strategies:

 Vertical Scaling: Add processors or upgrade to more powerful servers. Drawbacks include cost
and risk of downtime if a key server fails.
 Horizontal Scaling: Add multiple servers and distribute load using load balancers. It’s cheaper
and more fault-tolerant.
 Processing Architecture Improvements:
o Separate static from dynamic content
o Use caching for static files and database tables
o Dedicate servers to CPU-intensive tasks (e.g., checkout)
o Optimize code and database schema

📈 3. Right-Sizing the Hardware Platform

 Avoid under-provisioning (causing slowdowns or crashes) and over-provisioning (wasting


money).
 Estimate realistic needs for traffic (hits/day), page loads, data served, and transaction rates.

💡 Key Takeaways

The three most critical hardware platform factors are:

1. Speed – How fast can the system respond to demand?


2. Capacity – How much data and how many users can it handle?
3. Scalability – How easily can it grow when your business expands?
These are emphasized in both the review and summary sections of Chapter 4

10. What is DevOps and how does it relate to agile development?

What is DevOps and how does it relate to Agile Development?

DevOps is a modern organizational strategy that builds upon Agile development principles to
further enhance speed, efficiency, and collaboration in software delivery.

🧠 Definition of DevOps:

 DevOps stands for “Development and Operations.”


 It is designed to promote a culture of close collaboration between:
o Developers (who write the software),
o and Operations teams (who deploy and maintain the software).
 The goal is to achieve a faster, more stable, and more frequent release cycle of
software updates.

🔗 Relationship with Agile Development:

 DevOps extends Agile by not just involving development teams, but also operations
teams.
 Agile focuses on iterative development, continuous feedback, and flexibility during
software creation.
 DevOps takes this a step further by:
o Integrating deployment and maintenance into the process,
o Emphasizing automation, standardized workflows, and continuous testing,
o Ensuring that code changes can be reliably and quickly released to production.

💡 Key Benefits of DevOps:

 Shorter development cycles


 Increased deployment frequency
 More dependable releases
 Better collaboration across departments

📖 Where to Find This in the Textbook:


This explanation is found in Chapter 4: "Building an E-commerce Presence: Websites,
Mobile Sites, and Apps", specifically on page 199 of your textbook

11. Compare and contrast the various scaling methods. Explain why scalability is a key
business issue for
websites.

Scaling Methods: Comparison

Method Description Advantages Disadvantages


Increasing the power of Simple to implement, Expensive, limited
Vertical
existing servers (e.g., more fewer servers to scalability, single point of
Scaling
RAM, faster CPU). manage. failure.
Adding more servers to Highly scalable, fault- More complex
Horizontal
distribute the load (via load tolerant, cost-effective architecture and
Scaling
balancing). at scale. management.
Optimizing how processing Requires technical
Architecture Improves efficiency,
is distributed across tasks expertise and careful
Scaling tailored to needs.
and systems. planning.

Examples of architecture optimization include:

 Separating static and dynamic content handling


 Caching frequently accessed data
 Dedicating servers for CPU-intensive operations (e.g., checkout systems)
 Using content delivery networks (CDNs)

📖 Source: Chapter 4, Section 4.4 (Pages 209–211)

📈 Why Is Scalability a Key Business Issue for Websites?

1. Handling Traffic Spikes:


o Websites often face unpredictable demand (e.g., sales, holidays, viral posts).
o Without scalability, this leads to downtime, slow performance, and lost sales.
2. Customer Expectations:
o Users expect fast, smooth, and uninterrupted service.
o Poor performance hurts user experience, brand reputation, and customer
loyalty.
3. Cost Efficiency:
o Scalable solutions allow businesses to start small and expand on demand.
o Prevents unnecessary up-front investment in expensive infrastructure.
4. Competitive Advantage:
Businesses that scale quickly can respond faster to market changes and
o
opportunities.
o Supports global growth and new features deployment.
5. Support for Business Continuity:
o Fault-tolerant, scalable systems minimize the risk of service disruptions,
protecting both revenue and reputation.

✅ Summary:

Scalability ensures a website can grow with the business, adapt to changes in demand, and
provide a stable and reliable experience. Among scaling methods, horizontal scaling offers the
best balance of flexibility and resilience, while vertical scaling can be a simpler but more
limited approach. Architectural enhancements offer long-term performance benefits tailored to
the specific needs of a business.

In-Depth Comparison of Scaling Methods


Aspect Vertical Scaling Horizontal Scaling Architecture Scaling

Add more servers or Redesign system


Add resources (CPU, RAM,
Definition instances to handle load in components for optimized
storage) to a single server.
parallel. distribution & performance.

Infrastructure Upgrade existing server Deploy load balancers, Recode or restructure app &
Change hardware. clusters, or cloud instances. system components.

Medium – requires High – involves application-


Complexity Low – simple upgrades. distributed systems level and data layer
knowledge. redesign.

Nearly unlimited (especially Depends on effectiveness of


Limited by max capacity of
Scalability Limit in cloud-based design (e.g., microservices,
a single server.
environments). caching).

High – proper architecture


Availability / Low – single point of High – redundant servers
can reroute or degrade
Fault Tolerance failure. mitigate failures.
gracefully.

Less efficient over time – Economies of scale – cloud High upfront dev cost; pays
Cost Efficiency hardware cost increases scaling is cost-effective off long-term with optimized
non-linearly. when automated. ops.

Targets specific bottlenecks;


Performance Boosts power of single Handles concurrency and
optimizes compute-
Optimization process/thread. load distribution.
intensive areas.
Aspect Vertical Scaling Horizontal Scaling Architecture Scaling

Essential for high-scale


Deployment Better for monolithic or Ideal for microservices and
platforms with complex user
Model Fit legacy apps. cloud-native apps.
behavior.

Time to Fast – just add or upgrade Moderate – needs Long – may require
Implement hardware. network/config tuning. architectural refactoring.

⚙️Examples of Architectural Scaling Tactics (From the Text, p. 210–


211)

1. Separation of Concerns – Use different servers for:


o Static content (e.g., images, CSS)
o Dynamic content (e.g., personalized views)
o Heavy compute tasks (e.g., checkout, analytics)
2. Caching:
o Use in-memory caches (like Redis or Memcached) for repeated queries.
o Cache entire web pages or API responses to reduce server load.
3. Database Optimization:
o Use read replicas, indexing, and partitioning.
o Implement eventual consistency models where real-time updates aren’t critical.
4. Load Balancing:
o Distribute requests intelligently based on location, session data, or workload.
5. Auto-scaling & CDNs:
o Automate infrastructure changes based on traffic.
o Serve static content globally via CDNs to minimize latency.

📈 Why Scalability is Crucial for Business (Expanded)


Business Concern Scaling Relevance

Customer
Downtime or slow response causes frustration → loss of trust & users.
Satisfaction

A non-scalable platform loses revenue in high-demand periods (e.g., product


Revenue Protection
launches).

Global Expansion Scalability supports high traffic across geographies and time zones.

Innovation Agility Scalable platforms allow faster rollouts of features or campaigns.

Disaster Recovery Redundant scaling solutions help maintain continuity even during failures.

12. What are the eight most important factors impacting website design, and how do they
affect a site’s
operation?

The eight most important factors impacting website design and how they affect a site's
operation are outlined in Table 4.9 of your textbook on page 213. Here's a detailed explanation
of each factor and its operational impact:

✅ 1. Functionality

 What it means: Pages should work correctly, load quickly, and guide the user toward
products or services.
 Impact: Broken links, errors, or slow-loading pages frustrate users and cause them to
leave the site without completing purchases.

✅ 2. Informational

 What it means: Easy access to clear, useful information about the company and its
products.
 Impact: Boosts customer trust, reduces confusion, and supports informed purchasing
decisions.

✅ 3. Ease of Use

 What it means: Navigation should be intuitive and straightforward.


 Impact: Simple navigation encourages users to explore and engage more, leading to
higher conversion rates.

✅ 4. Redundant Navigation

 What it means: Offering multiple ways to reach the same content (e.g., top menu, footer
links, search).
 Impact: Increases accessibility and usability for different user preferences or browsing
styles.

✅ 5. Ease of Purchase
 What it means: Streamlined checkout with one or two clicks.
 Impact: Reduces cart abandonment and improves transaction completion rates.

✅ 6. Multi-Browser Functionality

 What it means: Compatibility with all major browsers (e.g., Chrome, Safari, Firefox).
 Impact: Ensures a consistent experience regardless of how users access the site,
preventing usability issues.

✅ 7. Simple Graphics

 What it means: Use of clean, non-distracting visuals without intrusive animations or


sounds.
 Impact: Enhances page load speed and avoids irritating users, especially on slower
connections or mobile devices.

✅ 8. Legible Text

 What it means: Clear fonts, adequate contrast, and appropriate sizing.


 Impact: Ensures users can read content easily, including older visitors or those with
visual impairments.

📄 Location in Textbook:

These eight principles are found in Table 4.9: "The Eight Most Important Factors in
Successful E-Commerce Site Design" on page 213 of the textbook

13. What are Java and JavaScript? What role do they play in website design?

What are Java and JavaScript, and what roles do they play in website design?

🟡 Java

🔹 What it is:
 A general-purpose, object-oriented programming language initially developed by Sun
Microsystems.
 Designed to be platform-independent using the “Write Once, Run Anywhere” (WORA)
philosophy.
 Java programs are executed by the Java Virtual Machine (JVM), enabling compatibility across
operating systems.

🔹 Role in Website Design:

 Traditionally used to create Java applets—small programs embedded in web pages and
executed on the client side.
 Due to security concerns, modern browsers no longer support applets.
 Today, Java is primarily used in server-side development, including:
o Java Server Pages (JSP): Combines HTML and Java to dynamically generate web pages.
o Servlets: Java programs that run on the server to modify web content before it's sent to
users.
 Used in web application backends, enterprise systems, and Android mobile apps.

🔹 Textbook Location:

 Detailed on pages 215–216 in Chapter 4

JavaScript

🔹 What it is:

 A client-side scripting language developed by Netscape.


 Runs directly in the browser to manipulate page content and respond to user actions without
reloading the page.

🔹 Role in Website Design:

 Adds interactivity, such as:


o Form validation (e.g., checking if an email or zip code is correct before submission),
o Dynamic page updates without reloading (via AJAX),
o Dropdowns, modals, sliders, and real-time features.
 Increasingly used server-side with platforms like [Link].
 Foundation for modern frameworks and libraries:
o React, Vue, Angular, [Link], jQuery, TypeScript.
 Integral to responsive design, user personalization, and real-time data visualization.

🔹 Textbook Location:

 Found on pages 215–216, alongside Java discussion.


🧠 Summary Comparison
Feature Java JavaScript

Type Compiled, object-oriented language Interpreted, scripting language

Runs on Server (with JVM); formerly client Browser (client-side), also server ([Link])

Backend logic, dynamic content


Use in Web Design Client interactivity, real-time UI
generation

Examples JSP, Servlets Form validation, DOM manipulation, AJAX

React, Angular, Vue, D3, jQuery,


Support Tools Java SE, JDK, Spring
TypeScript

14. Name and describe three methods used to treat customers individually. Why
are they significant to
e-commerce?
Three Methods Used to Treat Customers Individually in E-Commerce

These methods are crucial because they allow businesses to simulate personalized, face-to-face
interactions in the digital space—boosting customer satisfaction, retention, and sales.

🧩 1. Personalization

📌 Description:

 Personalization is the custom tailoring of messages, content, and offers to individual users
based on their name, preferences, interests, and past behavior on the site.
 Implemented using tools like cookies and user profiles.

💡 Why It Matters:

 Increases engagement by making users feel recognized.


 Enhances conversion rates by showing relevant content or products.
 Supports dynamic website experiences, such as greeting users by name or recommending items
similar to their past purchases.

📄 Textbook Source: Page 218


🧩 2. Customization

📌 Description:

 Customization goes beyond personalization by changing the actual product or service itself to
fit the customer’s needs or preferences.
 Example: NIKEiD lets customers design their own sneakers (color, material, logo).

💡 Why It Matters:

 Delivers unique value to the customer.


 Builds brand loyalty by offering one-of-a-kind experiences.
 Encourages premium pricing for bespoke products.

📄 Textbook Source: Page 348

🧩 3. Customer Co-Production

📌 Description:

 A more advanced form of customization where the customer actively participates in creating
the product or service.
 Example: My M&M’s lets users create their own candy with custom messages.

💡 Why It Matters:

 Empowers customers and enhances emotional attachment to the product.


 Increases satisfaction and reduces return rates.
 Encourages viral sharing and word-of-mouth marketing.

📄 Textbook Source: Page 348

📈 Overall Significance to E-Commerce:


Benefit Impact

Increased Conversion Rates Relevant content and products = more purchases.

Improved Customer Loyalty Personalized treatment builds long-term trust.

Competitive Advantage Differentiation through unique experiences.

Higher Revenue Per User Upselling via tailored recommendations.


15. What are some of the policies e-commerce businesses must develop before launching a
site, and why must
they be developed?

Policies E-Commerce Businesses Must Develop Before Launching a Site (And


Why They're Important)

Before launching a website, e-commerce businesses must establish several core policies to ensure legal
compliance, protect customers, and foster trust. These policies also create a stable framework for
ongoing operations.

🔐 1. Privacy Policy

📌 What it is:
A publicly available statement that explains how the business collects, uses, stores, and shares
customer data (such as name, email, purchase history, browsing behavior, etc.).

📌 Why it matters:

 Ensures compliance with data protection laws (e.g., GDPR, CCPA).


 Builds consumer trust in data handling practices.
 Transparency and informed consent are legal cornerstones, especially for sites targeting children
or handling sensitive info.

📖 Textbook location: Page 218, and expanded on pages 483–484.

♿ 2. Accessibility Policy

📌 What it is:
A set of design standards to ensure that users with disabilities (visual, hearing, motor, cognitive) can
effectively use the site (e.g., screen-reader compatibility, alt text, keyboard navigation).

📌 Why it matters:

 Promotes inclusivity.
 May be legally required under laws like the Americans with Disabilities Act (ADA).
 Avoids lawsuits and enhances brand reputation.

📖 Textbook location: Page 218


⚖️3. Terms of Use / User Agreement

📌 What it is:
A legal agreement that defines what users can and cannot do on the site (e.g., rules on returns, content
ownership, prohibited behaviors).

📌 Why it matters:

 Protects the business from legal liability.


 Ensures customers understand their rights and responsibilities.
 Helps enforce policies regarding intellectual property, dispute resolution, and acceptable
behavior.

📖 Textbook location: Pages 483–484

🔍 4. Data Security and Handling Policy

📌 What it is:
Internal and public-facing commitments to secure user data, including encryption, limited retention,
access control, and breach response protocols.

📌 Why it matters:

 Prevents data breaches and protects customer information.


 Compliance with cybersecurity best practices and laws.
 Supports integrity, confidentiality, and availability of the system.

📖 Related info: Chapter 5, Page 245 and Table 8.7 on Page 483

🧠 Summary: Why These Policies Must Be Developed


Reason Explanation

✅ Legal compliance Required by laws like GDPR, CCPA, ADA, etc.

✅ Builds trust Users are more likely to share data and make purchases if they feel protected.

✅ Avoids lawsuits Clear policies reduce risk of user disputes and regulatory penalties.

✅ Operational clarity Sets expectations for both the business and the users.

16. What are the advantages and disadvantages of mobile first design?

Advantages and Disadvantages of Mobile First Design


Mobile first design refers to beginning the e-commerce development process by designing for mobile
platforms before scaling up to desktop environments. It is a shift from the traditional approach that
prioritizes desktop sites first.

📍 Found in the textbook: Chapter 4, pages 223–224

✅ Advantages of Mobile First Design


Advantage Explanation

Optimized User By focusing on mobile constraints (small screens, touch interfaces), designers
Experience ensure critical content and features are accessible and easy to use.

Mobile-first forces lean design with smaller file sizes and fewer HTTP requests,
Performance-Oriented
improving page load speed, a key factor in conversion rates.

Progressive After building for mobile, designers can add features for larger screens, ensuring
Enhancement consistency and optimal functionality across all devices.

Focus on Core Designers are required to prioritize the most essential elements of the user
Features journey, avoiding clutter.

Alignment with User With over 90% of users accessing websites from mobile at least part of the time,
Behavior mobile-first aligns with current consumer trends.

⚠️Disadvantages of Mobile First Design


Disadvantage Explanation

Challenging for Desktop- Designers used to full-featured desktop sites may struggle to rethink
Oriented Designers UX for smaller screens.

May not work well for applications requiring extensive data entry,
Complex for Feature-Rich Sites
large forms, or advanced functionality.

Requires Skill in Responsive Designers must be adept at using CSS frameworks and design systems
Design to ensure smooth scaling up from mobile.

The mobile-first constraint may limit creative freedom or initial design


Design Restrictions
flexibility.

🔍 Summary
Mobile First Design

Goal Prioritize mobile user experience, then enhance for larger devices.

Strength Performance, clarity, and cross-platform consistency.

Weakness May be restrictive or challenging for complex web applications.

📖 For a deeper look, refer to:

 Section 4.6 – Developing a Mobile Website and Building Mobile Applications


 Table 4.11 – Unique Features for Mobile Design
(Pages 223–224)

17. What is the difference between a mobile web app and a native app?

Difference Between a Mobile Web App and a Native App

Found in: Chapter 4, Section 4.6 (Pages 221–225) of your textbook.

📱 1. Mobile Web App

🔹 Definition:

 A website optimized for mobile devices, accessible through a mobile browser (e.g., Safari,
Chrome).
 Built using HTML, CSS, and JavaScript.

🔹 Key Characteristics:

Feature Details

Access Via browser; no download required.

Platform Cross-platform (works on any device).

Installation Not installed on the device.

Performance Slower than native apps.

Offline Support Limited or none.

Updates Pushed directly via the server.

Example [Link], [Link]


📲 2. Native App

🔹 Definition:

 An app developed specifically for a mobile operating system like iOS (Swift/Objective-C) or
Android (Java/Kotlin).
 Downloaded and installed via app stores (e.g., Apple App Store, Google Play).

🔹 Key Characteristics:

Feature Details

Access Installed on device; launches as an app.

Platform Platform-specific (iOS or Android).

Installation Requires download from app store.

Performance Faster; can access hardware directly.

Offline Support Full support for offline use.

Updates Require user to update via app store.

Example Instagram, Spotify, TikTok

📊 Summary Comparison
Feature Mobile Web App Native App

Platform Cross-platform Platform-specific

Speed Moderate Fast

Offline Access Limited Full

Cost to Develop Lower (one version for all) Higher (separate codebases)

Distribution Browser-accessible App store download required

Device Access Limited (e.g., camera, GPS via APIs) Full device integration

💡 Why It Matters in E-Commerce:

 Mobile web apps are ideal for wide reach and quick updates.
 Native apps offer better user experience and can drive loyalty through features like push
notifications, offline shopping, and mobile payments.

18. In what ways does a hybrid mobile app combine the functionality of a mobile web app
and the functionality of a native app?

What is a Hybrid Mobile App?

A hybrid mobile app combines the best features of both mobile web apps and native apps. It’s
essentially a web application wrapped in a native shell, allowing it to run across platforms while still
taking advantage of native device features.

📖 Found in: Chapter 4, Section 4.6 (Pages 224–225)

🔀 How Hybrid Apps Combine Web and Native Functionality


Feature Hybrid App Behavior

Codebase Built using web technologies (HTML, CSS, JavaScript) but packaged as a native app.

Cross-Platform
A single codebase runs on multiple platforms (iOS, Android, etc.).
Support

Uses native plugins/APIs (via frameworks like Cordova or Capacitor) to access


Device Access
camera, GPS, etc.

Distribution Installed through app stores, just like native apps.

Offline Access Often supports offline functionality with caching, similar to native apps.

Easier to update via the web, but some features may still require app store
Updates
updates.

Generally faster than web apps, but may be slower than pure native apps for
Performance
high-performance needs (e.g., gaming).

Examples Instagram (early versions), Uber, Twitter Lite

🧠 Why Hybrid Apps Matter in E-Commerce


Benefit Impact

✅ Faster Development Build once, deploy across platforms.

✅ Lower Cost Reduces the need for separate teams for iOS and Android.

✅ Native Experience Provides access to device hardware & offline features.


Benefit Impact

✅ Web-Like Flexibility Easier to maintain and update dynamic content.

🛠️Popular Hybrid App Frameworks

 Ionic
 React Native (technically hybrid-native)
 Apache Cordova
 Flutter (Google; also used for hybrid and cross-platform)

19. What is PHP, and how is it used in web development?

19. What is PHP and How is it Used in Web Development?

📌 Definition:
PHP (short for Hypertext Preprocessor) is a server-side scripting language designed primarily
for web development.

📖 Found in your textbook on page 216, Chapter 4

🛠️How PHP is Used:

 Embedded directly into HTML to create dynamic web pages.


 Runs on the web server, meaning the code executes before the page is sent to the
browser.
 Often used with MySQL to create database-driven websites.

🔧 Common Applications:

 User authentication systems


 Form processing
 Shopping cart functionality
 Content Management Systems (CMS) like WordPress, Drupal, etc.

💡 Why PHP is Popular:

 Free and open-source


 Platform-independent
 Easy to learn and widely supported
 Works well with a variety of databases and web servers
20. How does responsive web design differ from adaptive web design?

Feature Responsive Web Design Adaptive Web Design


Uses fluid grids and flexible layouts Uses predefined layouts for specific
Design Strategy
to adapt to any screen size screen sizes or devices
Technology Device detection (often JavaScript or
Primarily CSS media queries
Used server-side logic)
Highly flexible; adjusts to all screen Fixed number of layouts (e.g., one for
Flexibility
sizes dynamically mobile, tablet, desktop)
Development Multiple versions must be designed
One design fits all devices
Effort and maintained
Optimized per device type, but may
User Experience Seamless across all devices
lack flexibility for new devices
Can load unnecessary elements for Loads only what’s needed for that
Performance
small screens if not optimized specific screen size

💡 Summary:

 Responsive = Fluid and flexible: adapts to any screen size.


 Adaptive = Tailored layouts: loads specific designs for known screen sizes.

You might also like