You are on page 1of 16

1.

Introduction to E-Commerce
E-Commerce refers to the process of buying or selling a product or service over an electronic network. The most popular medium in which ECommerce is conducted is the Internet.

Types of business transactions in E-Commerce


1. Transaction that occurs between a business and consumer (B2C) 2. Transaction that occurs between one business and another (B2B) 3. Transaction that occurs between one consumer and another (C2C)

Microsoft Technologies for E-Commerce


1. 2. 3. 4. 5. Microsoft Personal Web Server (PWS) Microsoft Internet Information Server (IIS) Microsoft Access Microsoft SQL Server Microsoft Visual InterDev

Microsoft Personal Web Server (PWS)


Works with Windows-95/98/NT workstation Can be downloaded freely We can use it to host a very low traffic web site We can also use it to prototype a web site before we launch it It cannot handle many concurrent users.
4

Microsoft Internet Information Server (IIS)


Used to launch the web site Can support hundreds or thousands of simultaneous users. Some of the largest web sites on Internet use IIS Not compatible with Windows-95/98. We need to use it with Windows-NT Server or Windows-2000 Server.
5

Microsoft Access
Need to store information about products and customers It is a desktop database software which can store data in Tables We can use it for prototyping our web site Cannot support more than 30 concurrent users Using upsizing tools, we can upgrade database table created in Access to SQL Server Upsizing Tools are available in MS Access 2000 We need to download Upsizing Tools if we are using Microsoft Access 97
6

Microsoft SQL Server


It can scale to support thousands of concurrent users and large sized databases Some of the largest commercial web sites on Internet use MS SQL Server To use MS SQL Server, wee need to buy license Versions of MS SQL Server
SQL Server Desktop SQL Server Standard Edition SQL Server Enterprise Edition
7

SQL Server Desktop Works with Windows95/98/NT Workstation SQL Server Standard Edition was designed to work with Windows-NT/2000 Server SQL Server Enterprise Edition is an enhanced version of the Standard Edition that supports more memory, more processors and advanced services

Microsoft Visual InterDev


It is a development environment for debugging and building web sites which makes it easier to manage the pages of a large web site. We can use it to write both Active Server Pages (ASP) and HTML (Hyper Text Markup Language) pages It is tightly integrated with MS SQL Server It can be used to design and modify database tables and stored procedures It works with any ODBC or OLE DB compliant database
9

ASP Page
It is any file located on our web server that has an extension .ASP This special extension distinguishes an ASP page from a normal HTML file that has an extension .HTM or .HTML When a user requests a normal HTML file, web server simply retrieves the file from the computers hard disk or memory and sends it to the users browser The browser interprets the HTML content of the file and the user sees the web page.

10

When someone requests an ASP page, the web server takes more active role Before the file is sent to the users browser, it is first processed by the web server The web server interprets and executes any scripts in an ASP page before sending it to the users browser Active Server Pages contain scripts ASPs contain server-side scripts written in a scripting language such as:
VB Script Java Script Perl Script

11

Scripts differ from full-fledged programming languages They have similar syntax of respective language No need to compile an ASP page They are automatically recompiled the next time they are requested Advantage of using scripting language is that it makes it easy to modify a web site even after it has been launched ASP page can be created using any editor such as Notepad, Wordpad, MS-Word etc 12

Even though an ASP page uses a scripting language, it runs faster and it is multithreaded. This allows an ASP page to efficiently support large number of concurrent users. ASPs contain Objects and Components Object is any run-time entity that has methods and properties Component is something that typically has methods, properties and collections Methods determine the actions we can take with the object
13

Properties can be read or set to specify the state of the component Collections are sets of key and value pairs related to the component (e.g. page no. & page) ASP includes two types of components:
Built-in objects Installable components

Six built-in ASP objects:


Application Object
Represents information that can be shared among all users of an ASP application
14

ObjectContext Object
Used with transactional ASPs

Request Object
Represents all information sent from a browser to a server including form variables and query strings

Response Object
Represents all information sent from a server to a browser including HTML content send by an ASP page

Server Object
Enables the use of various utility functions on server

Session Object
Represents information about a particular user session
15

Installable components
Ad Rotator Component
Used to display banner advertisements on the web pages of a web site. Using this, we can specify how frequently different banner advertisements should be displayed

Browser Capabilities Component


It can be used to display different HTML content according to the capabilities of different browsers

Content Linking Component


It is used to link together several HTML pages so that they can be navigated easily.

File Access Component


It allows us to work with our computers file system to read and write text files

* * * * *

16

You might also like