Electronic Commerce Last Week

Slides:



Advertisements
Similar presentations
SYSTEM ADMINISTRATION Chapter 19
Advertisements

 2003 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.
E-Commerce: The Second Wave Fifth Annual Edition
Infrastructure for Electronic Commerce
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
The Internet Useful Definitions and Concepts About the Internet.
Chapter 8: Web Server Hardware and Software Electronic Commerce, Seventh Annual Edition.
Layer 7- Application Layer
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Introduction to Web Database Processing
Internet…issues Managing the Internet
Chapter 8: Web Server Hardware and Software. 2 Objectives In this chapter, you will learn about: Web server basics Software for Web servers management.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to Web Interface Technology (CSE2030)
1 Chapter 2 Infrastructure for Electronic Commerce.
Introduction to Web Interface Technology (CSE2030)
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Introduction 2: Internet, Intranet, and Extranet J394 – Perancangan Situs Web Program Sudi Manajemen Universitas Bina Nusantara.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
Browsing the World Wide Web. Spring 2002Computer Networks Applications Browsing Service Allows one to conveniently obtain and display information that.
Electronic Commerce Last Week Internet utility programs
Chapter 8: Web Server Hardware and Software
Internet Basics.
Client-Server Processing and Distributed Databases
Web Design Terms and Concepts Ms. Scales. Q. What is a Server? A. A server is a computer that stores information many people can access. It runs special.
INTRODUCTION TO WEB DATABASE PROGRAMMING
CS 299 – Web Programming and Design CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Chapter 1: Introduction to Web
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
The Internet in Education Objectives Introduction Overview –The World Wide Web –Web Page v. Web Site v. Portal Unique and Compelling Characteristics Navigation.
Introduction to the Internet. What is the Internet The Internet is a worldwide group of connected networks that allows public access to information and.
Lecture#2 on Internet and World Wide Web. Internet Applications Electronic Mail ( ) Electronic Mail ( ) Domain mail server collects incoming mail.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Copyright © 2002 Pearson Education, Inc. Slide 3-1 CHAPTER 3 Created by, David Zolzer, Northwestern State University—Louisiana The Internet and World Wide.
1 2 Chapter 2 The Internet and the Web: Infrastructure for Electronic Commerce.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
Chapter 4 Networking and the Internet. © 2005 Pearson Addison-Wesley. All rights reserved 4-2 Chapter 4: Networking and the Internet 4.1 Network Fundamentals.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
The Internet The internet is simply a worldwide computer network that uses standardised communication protocols to transmit and exchange data.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
1 Welcome to CSC 301 Web Programming Charles Frank.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Introduction to Internet. Chapter 1 Objectives Origins of the Internet Packets and Routers TCP/IP DNS HTTP URL Client-Server.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
IT ELECTRONIC COMMERCE THEORY NOTES
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Web Server.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
WEB SERVER SOFTWARE FEATURE SETS
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
COMPUTER NETWORKS Hwajung Lee. Image Source:
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Warm Handshake with Websites, Servers and Web Servers:
Web Design & Development
Web Page Concept and Design :
Computer Networks Protocols
Presentation transcript:

Electronic Commerce Last Week The Internet - a network of thousands of interconnected networks Interconnected Backbone supported by NSPs Access/Delivery sub-networks or ISPs Thousands of government/private/institutional network Internet Protocols Packet-switched network TCP/IP protocol Link layer Network layer Transport layer Application layer Electronic Commerce

Electronic Commerce Last Week Routing of data packets and routing table IP address and classes of IP addresses Subnet addressing Domain name (www.microsoft.com) Domain name system (directory of domains names) Uniform Resource Locator (http://microsoft.com/index.htm) Other Internet protocols FTP, SMTP, POP, Telnet Electronic Commerce

Electronic Commerce This Week Internet utility programs Finger, Ping, Tracert Web Client-Server Architecture Two-tier and three-tier architecture Communication protocols in client-server architecture HTTP protocol Common Gateway Interface (CGI) Application Programming Interface (API) Database Gateways (ODBC, IDC, ADO) Markup languages SGML, HTML, XML Electronic Commerce

Internet Utility Programs TCP/IP supports a wide variety of utility programs that permit more convenient and efficient use of the Internet. Some popular utility programs are Finer PING Tracert VisualRoute Electronic Commerce

Internet Utility Programs Finger Finger is a utility program that runs on UNIX computers It allows a user to obtain limited information about other network users from a remote computer One can use a Finger command to determine which users are logged on to a particular network or gather some information about a particular user in the network: userid of the user Time the user is logged in Name of the computer the user is logged in Electronic Commerce

Internet Utility Programs PING PING (Packet InterNet Groper) tests connectivity between two Internet hosts and determine if a host is active on the network It works by sending a packet to the specified address and waiting for a reply It is primarily used by network administrators to troubleshoot Internet connection (whether a host is alive or not?) It provides performance data about the connection between computers in the Internet, such as the number of hops it takes to reach a data packet from a sender to the receiver Try ping www.microsoft.com or ping 148.129.129.31 from the DOS prompt Electronic Commerce

Internet Utility Programs Tracert/VisualRoute Tracert (TRACE RouTe) allows a user to trace the round trip path between his/her computer and another computer on the Internet. It calculates and displays the number of hops between two computers and the time it takes to traverse the entire one way path between them. The program works by sending a series of data packets to a particular destination IP address on the Internet. Each router on the path sends its IP address and the roundtrip time it took to reach it A graphical traceroute program such as the VisualRoute displays a graphical view of the route of the data packet Electronic Commerce

Web Client-Server Architecture Introduction Every computer in the Internet runs a TCP/IP protocol. To an end user, this lower level protocols is transparent A user interacts with the Internet through one of several client/server applications An application running in one computer (client) requests a service from another application running in another computer (server) In this architecture, there are two major classes of software that work together: Client software Server software Electronic Commerce

Web Client-Server Architecture Client Software It usually resides on an end user’s computer and typically requests services such as a Web page, database access, e-mail, and ftp to the server. It does very little work. Server Software It usually resides on another computer that interprets requests from the client, processes them, access services from other computers if needed, and returns the result to the client. It does most of the work Electronic Commerce

Web Client-Server Architecture Web-Based Client-Server Application: The client is the Web browser (Internet Explorer, Netscape) The server is the Web server software (Internet Information Server, Apache Server) Two types of Web-based client-server applications architecture: Two-tier client-server architecture Three-tier client-server architecture Electronic Commerce

Two-Tier Client-Server Architecture A two-tier architecture is one in which a client (tier1) and a server (tier2) directs communications between them over the Internet Steps of communication between a Web browser and Web server: A user types a URL in the browser’s address line (and hits return) or clicks a link on a Web page The browser then formats the request into a proper HTTP message and passes it to the Internet A Web server always listens to a particular port (port 80) for any incoming HTTP message Continued.. Electronic Commerce

Two-Tier Client-Server Architecture Steps of communication (continued): When the server receives a request, it establishes a connection with the client computer, locates the requested Web page and formats it into an HTTP message It then sends it back to the browser, and the connection is broken. When the client receives the message, it recognizes that the page is written in HTML code-something it can interpret, and displays the formatted page If the page contains any graphics, another connection is made between the client and the server Electronic Commerce

Three-Tier Client-Server Architecture The first tier is the client, the second tier is the server, and the third tier is typically a database or an application program running in a different computer. From a software perspective, the three tires are: client processes - tier1, Web services - tier2, and data services - tier 3 From the hardware perspective, all three software could be in three different computers, or in two computers, or in one computer The database services, which comprise the third tier, are often referred to as the backend machines/programs Electronic Commerce

Three-Tier Client-Server Architecture When a client request a Web page from the server, the server interprets it, and if it is found that the Web server needs to get services from a database, it accesses the database, collects necessary data, and returns the data formatted in HTML to the client Electronic commerce sites often require a three-tier system with its own hardware and software to keep track of customer purchases/preferences; query inventory databases or updates their catalog Electronic Commerce

Communication Protocols in the Client-Server Architecture HTTP protocol: Communication Between tier-1 and Tier-2: Whether it is a two-tier or a three-tier client-server architecture, a common HTTP protocol is used to format a message sent between a client in tier-1 and server in tier-2 Communication protocols between tier-2 and tier-3: Several protocols are used to communicate between the Web server and a database server. Protocols supported by Web servers are: Common Gateway Interface (CGI) Application Programming Interface (API) Open Database Connectivity (ODBC) Electronic Commerce

Hypertext Transport Protocol (HTTP) HTTP is a lightweight, stateless protocol that browsers and servers use to converse with each other. There are only seven commands in the protocol. Two of these commands are: GET and POST. When a browser requests for a page from the Web server, it uses the GET command. The HTTP is stateless because every request that a browser makes opens a new connection that is immediately closed after the document is returned. Thus the server cannot maintain state information about successive requests in a straightforward fashion. This statelessness represents a substantial problem for electronic commerce applications, because an individual user is likely to have a series of related interactions (browsing catalog, select items, enter a payment information) within the application. Electronic Commerce

Common Gateway Interface (CGI) CGI is a standard way of interfacing backend applications with Web servers It is program written in a high-level language such as C/C++, Visual Basic A CGI program is executed when requested by a browser through an embedded call within a Web page Web pages that contain forms filed with text boxes, option buttons, and list boxes supply information that CGI programs can use to manipulate databases, store information, or retrieve data CGI is known as a server-side solution, because all the processing occurs in the Web server, not in the client computer Electronic Commerce

Application Programming Interface (API) A CGI program is called every time there is request of a Web page that contains a CGI program. This causes significant processing burden in a high-traffic Web server Application Programming Interface or API is a set of protocols that uses “multithreading,” that is, it only invokes a single instance of the program to handle multiple user requests of the dynamic Web pages API is more efficient than CGI, as CGI requires an individual program to be brought to the Web server memory when requested by multiple users Electronic Commerce

Database Gateways A database gateway eliminates the need of creating customized CGI program to access various databases produced by different vendors Open database connectivity (ODBC) is a tool used by programs, including a Web page, to communicate with a database Internet Database Connector (IDC) is a technology developed to access and manipulate data from a database ActiveX Data Object (ADO) is another tool developed by Microsoft that is also used to access and manipulate data from a database. Electronic Commerce

In-Class Work Create an order processing database in Microsoft Access where a customer book order can be stored and the information can be used by the inventory personnel to fulfill the order. The database should contain entities such as customer, book, order It should contain a order-entry form It should also contain a report on the books ordered by customer and then by total amount Any other enhancement! Electronic Commerce