Professional Documents
Culture Documents
February 8, 2022
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 1 / 30
Learning Objectives
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 2 / 30
Web Server Basics
Introduction
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 3 / 30
Web Server Basics
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 4 / 30
Web Server Basics
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 5 / 30
Web Server Basics
Web Server
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 6 / 30
Web Server Basics
When developing a Web site, you must take into account the following:
1 Number of visitors
2 Number of pages viewed during an average visit
3 How large pages will be
4 Maximum number of simultaneous visitors
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 7 / 30
Dynamic Content Generation
Introduction
Dynamic Page
Static Page
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 8 / 30
Dynamic Content Generation
Client-Side Scripting
Server-Side Scripting
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 9 / 30
Dynamic Content Generation
Examples :
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 10 / 30
Various Meanings of “Server”
Server
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 11 / 30
Various Meanings of “Server”
Server Examples
Web Server :
E-mail Server:
Database Server :
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 12 / 30
Web Client/Server Architectures
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 13 / 30
Web Client/Server Architectures
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 14 / 30
Web Client/Server Architectures
Three-tier architecture
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 15 / 30
Web Client/Server Architectures
Three-tier architecture
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 16 / 30
Web Client/Server Architectures
n-tier architectures
Examples :
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 17 / 30
Software for Web Servers
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 18 / 30
Software for Web Servers
1 Open-source
2 Fast efficient and easy to install
3 Can be downloaded from the Web
4 Most companies buy it through a commercial distributor
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 19 / 30
Software for Web Servers
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 20 / 30
Indexing and Searching Utility Programs
Seach Engines
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 21 / 30
Indexing and Searching Utility Programs
1 Crawl: Scour the internet for content, looking over the code/content
for each URL they find.
2 Index: Store and organize the content found during the crawling
process. Once a page is in the index, it’s in the running to be
displayed as a result to relevant queries.
3 Rank: Provide the pieces of content that will best answer the
searcher’s query, which means that results are ordered by most
relevant to least relevant.
Search engines can be incorporated in e-commerce applications to
add full-text search functionality.
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 22 / 30
Web Server Hardware Architecture
Server Architecture
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 23 / 30
Web Server Hardware Architecture
Centralised Architecture
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 24 / 30
Web Server Hardware Architecture
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 25 / 30
Web Server Hardware Architecture
Load-Balancing Systems
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 26 / 30
Web Server Hardware Architecture
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 27 / 30
Web Server Hardware Architecture
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 28 / 30
Web Server Hardware Architecture
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 29 / 30
Web Server Hardware Architecture
Summary
Department of Computer Science (UB) Electronic Commerce, Eleventh Edition February 8, 2022 30 / 30