Professional Documents
Culture Documents
1.1 INTRODUCTION Electronic commerce, commonly known as e-commerce, is the buying and selling of product or service over electronic systems such as the Internet and other computer networks. Electronic commerce draws on such technologies as electronic funds transfer, supply chain management, Internet marketing, online transaction processing, electronic data interchange (EDI), inventory management systems, and automated data collection systems. Modern electronic commerce typically uses the World Wide Web at least at one point in the transaction's life-cycle, although it may encompass a wider range of technologies such as email, mobile devices and telephones as well. Electronic commerce is generally considered to be the sales aspect of e-business. It also consists of the exchange of data to facilitate the financing and payment aspects of business transactions. E-commerce can be divided into:
E-tailing or "virtual storefronts" on Web sites with online catalogs, sometimes gathered into a "virtual mall"
The gathering and use of demographic data through Web contacts Electronic Data Interchange (EDI), the business-to-business exchange of data E-mail and fax and their use as media for reaching prospects and established customers (for example, with newsletters)
B2B(Business-to-Business) Companies doing business with each other such as manufacturers selling to distributors and wholesalers selling to retailers. Pricing is based on quantity of order and is often negotiable.
B2C(Business-to-Consumer)
Businesses selling to the general public typically through catalogs utilizing shopping cart software. By dollar volume, B2B takes the prize, however B2C is really what the average Joe has in mind with regards to ecommerce as a whole.
C2B(Consumer-to-Business)
A consumer posts his project with a set budget online and within hours companies review the consumer's requirements and bid on the project. The consumer reviews the bids and selects the company that will complete the project.
C2C (Consumer-to-Consumer)
There are many sites offering free classifieds, auctions, and forums where individuals can buy and sell thanks to online payment systems like PayPal where people can send and receive money online with ease. eBay's auction service is a great example of where person-to-person transactions take place everyday since 1995.
Consumer benefits: Cheaper products and services:EC providers price variety for goods and services. Instant delivery:e.g. digitized product. Participate in auctions:virtual auctions. Electronic communities:consumers can interact with other consumers. Get it you way:customization and personalization of products and services. No sales tax:most online sales are tax free.
Societal benefits: Telecommuting:more people work and shop at home. Higher standard of living: competitive prices allow lower income earners to shop more. Hope for the poor: great opportunity for the poor to sell, buy and learn new skills. Availability of public services: health care, education, and distribution of government social services can be done at a reduce cost to a large number of people.
Security Security continues to be a problem for online businesses. Customers have to feel confident about the integrity of the payment process before they commit to the purchase.
System And Data Integrity Data protection and the integrity of the system that handles the data are serious concerns. Computer viruses are rampant, with new viruses discovered every day. Viruses cause unnecessary delays, file backups, storage problems, and other similar difficulties. The danger of hackers accessing files and corrupting accounts adds more stress to an already complex operation.
System Scalability
A business develops an interactive interface with customers via a website. After a while, statistical analysis determines whether visitors to the site are onetime or recurring customers. If the company expects 2 million customers and 6 million show up, website performance is bound to experience degradation, slowdown, and eventually loss of customers. To stop this problem from happening, a website must be scalable, or upgradable on a regular basis. Ecommerce Is Not Free So far, success stories in ecommerce have forced large business with deep pockets and good funding. According to a report, small retailers that go headtohead with e commerce giants are fighting losing battle. As in the brickandmortar environment, they simply cannot compete on price or product offering. Brand loyalty is related to this issue, which is supposed to be less important for online firms. Brands are expected to lower search costs, build trust, and communicate quality. A search engine can come up with the best music deals, for example, yet consumers continue to flock to trusted entities such as HMV. Consumer Search Is Not Efficient or Costeffective On the surface, the electronic marketplace seems to be a perfect market, where worldwide sellers and buyers share and trade without intermediaries. However, a closer look indicates that new types of intermediaries are essential to ecommerce. They include electronic malls that guarantee legitimacy of transactions. All these intermediaries add to transaction costs. Customer Relations Problems Not many businesses realise that even ebusiness cannot survive over the long term without loyal customers. Products People won't buy online Imagine a website called furniture.com or living.com, where venture capitalists are investing millions in selling home furnishings online. In the case of a sofa, you would want to sit on it, feel the texture of the fabric etc. Beside the sofa test, online furniture sotres face costly returns which makes the product harder to sell online. Corporate Vulnerability The availability of product details, catalogs, and other information about a business through its website makes it vulnerable to access by the competition. The idea of extracting business intelligence from the website is called web framing.
High Risk Of Internet Startup Many stories unfolded in 1999 about successful executives in established firms leaving for Internet startups, only to find out that their getrich dream with a dot.com was just that a dream.
1. Introduction to Internet
The Internet begins in the mid 1960 as a project of United States department of defense advanced research project agency. It is a global system of interconnected computer networks that use the standard Internet Protocol Suite (TCP/IP) to serve billions of users worldwide. To do this they create the new protocol to establish how computer should talk to each other when they exchange each other. Each Internet computer, called a host, is independent. Its operators can choose which Internet services to use and which local services to make available to the global Internet community. The protocols allowed internet users to send E-mail, exchange files using FTP, and read or post news using the NNTP. Today, the most popular uses of the Internet are browsing the World Wide Web and Email communication. They become an internet work. to understand about client and server. Server: Server is a computer that provides information, while on other side. Client: Client is a tool or program and a different computer used to get information from a server.
Web Terms
WEBSITE:
A WEB SITE is a collection of relative web pages. These pages use link witch are called hyperlink. Search engines like googol, yahoo are the example of the web site. Now days many organizations have a launched their sites containing the complete information of that organization like WWW.SSD .COM is the web page of S.S.D W.I.T COLLEGE.
WEB BROWSER:
A software program that is used to view web pages is called a Web Browser. It helps you to connect to web sites. You can surf the web, view web sites and/or download files and programs. A web browser works by using a protocol called Hypertext transfer protocol (HTTP) to request a specially encoded text documents from web server. Browsers are so designed that they can run on many kinds of computer and Operating systems (called platforms). Some of the popular browsers are Microsoft Internet Explorer, Netscape Navigator. Mosaic, Firefox etc
WEB SERVER:
A web server is a computer programs that delivers (serves) content, such as wepages, using the Hypertext Transfer Protocol (HTTP), over the World Wide Web or it refers to the location (computer) on the internet that contains information in the form of Web pages. It also means that computer on the internet having the capabilities to run software. Like: Web site Management. Accept a clients request for information. Responds to client request by providing the pages with required information.
WEB PAGES:
A web page refers to a document on the web. Web pages can be used to display written text, show pictures, play music/sound effects and run videos. For this we have to use hyper text language (HTML) to create web pages. Publishing the web page means transferring your web pages where it can be severed by an HTTP sever. We can also publish web pages on an internet so that only people who are in your organization will be able to see your web page.
HTTPRequest:
Whenever your web browser fetches a file (a page, a picture, etc) from a web server, it does so using HTTP- that's "Hypertext Transfer Protocol". HTTP is a request/response protocol, which means your computer sends a request for some file (e.g. "Get me the file 'home.html'"), and the web server sends back a response ("Here's the file", followed by the file itself). That request which your computer sends to the web server contains all sorts of (potentially) interesting information. We'll now examine the HTTP request your computer just sent to this web server, see what it contains, and find out what it tells me about you.
FTP Services:
File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one host or to another host over a TCP-based network, such as the Internet. FTP is built on a client-server architecture and uses separate control and data connections between the client and the server. FTP users may authenticate themselves using a cleartext sign-in protocol, normally in the form of a username and password, but can connect anonymously if the server is configured to allow it. For secure transmission that hides (encrypts) the username and password, and encrypts the content, FTP is often secured with SSL/TLS ("FTPS"). SSH File Transfer Protocol ("SFTP") is sometimes also used instead.
2. INTRODUCTION TO HTML
Definition:
HTML stands for Hypertext Markup Language.HTML was develop and defined by Tim berners lee in 1989.which was created and defined by using SGML. It is used to create web page on internet. A website can have one or more pages. The information on the web pages is put in the form of specially coded language called HTML. As you know from above that HTML is Hypertext Markup Language. Well all these words have their own meanings. Let us see what these are:
Hypertext:
It refers to the ordinary text that we use to communicate with each other. What our ordinary day-today-text into hypertext is its dressing up with extra features like Formatting, Images, Multimedia and links to other document.
Markup:
It is really the addition of symbols, each of which comprises a Command which instruct a browser about the manner in which you want the text to be displayed .
Language:
HTML is just another language. While it is literally like the day-to-day language (text) we use, it has its own syntax and rules that make it a powerful communication tool to be used to create web pages.
Use of uniform Resources Locator: HTML provides URL that provides retrieve the web page from a computer connected to a internet.
Hyper linking: HTML provides tags that enable end user to access other resources of information just by clicking on the HYPERLINK. Portability: HTML is a portable in nature that means it can run over the different platform
There are number of tools used in HTML, but most important two basis HTML tools are discussed below:
1.HTML Editor: It is a program that one uses to create and save HTML document. They fall into two categories: Text Based or Code Based which allows one to see the HTML code as one is creating a document e.g. Notepad. WYSIWYG (what you see is what you get) which shows the result of code, similar to the way it will appear on the browser e.g. Netscape Composer.
2.Web Browser: A software program that is used to view web pages is called a Web Browser. Web Browser helps you to connect to web sites. You can surf the web, view web sites and/or download files and programs. A web browser works by using a protocol called Hypertext transfer protocol (HTTP) to request a specially encoded text documents from web server. Browsers are so designed that they can run on many kinds of computer and operating systems (called platforms). Some of the popular browsers are Microsoft Internet Explorer, Netscape Navigator. Mosaic, Firefox etc.
Troubleshooting:
User will able to troubleshoot it efficiently because user would try any technique to solve any problem.
Price:
There are no expensive licenses to buy & no upgrade to purchase.
Independence:
We dont have to worry about bugs in a particular editing program or any companies going out of business and leaving stranded.
1.Tag:
It is piece of text that is used to identify an element so that the browser realizes how to display its contents. Tags are always written within single angle brackets. For Example, <HTML> tag indicates the start of an html document and </HTML> tag indicates the browser the ends of an HTML document. HTML tags are of two types:
Paired Tag:
A tag is said to be a paired tag, if it along with a companion tag flanks the text. For Example the <B> tag is a paired tag. In paired tag, the first tag <B> if often called the opening tag and he second tag </B> is called the closing tag.
Singular Tag:
The second type of tag is singular or stand alone tag. A stand alone tag doesnt have any a companion tag For Example, <Br> tag will be insert a line break
2.Attributes:
Attributes goes inside the <Tag> and tells the browser how to do it. Attributes is the property of an HTML tag that specifies in the opening angle bracket. It supplies additional information like color, size etc to the browser about a tag. Example of most common attributes are color, align etc.
3. Elements:
Elements are the component of a documents structure such as a title, a paragraph or a list. It can include an opening and closing tag and the contents within it.
ELEMENT TAGS
Paragraph Heading , level one Horizontal Rule Centering Table Address Line Break Font Bold Underline Big
<P>&</P> <H1>&</H1> <HR> <Center>&</Center> <Table>&</Table> <Address>&</Address> <Br> <Font>&</Font> <B>&</B> <U >&</U> <Big>&</Big>
1. First of all open the text editor from the START>Accessories>Notepad. Then Write the source code of the page here. An HTML document includes structure tags, which provide browser with information about documents characteristics.
For Example:
2. After completing with all structure tags. It can be saved through SAVE AS option from the FILE MENU and save it with the HTML extension. As shown below
Output:
elements called controls (checkboxes, radio buttons, menus etc.) and labels on those controls. Users generally complete a form by modifying its controls (entering text, selecting menu items etc.) before submitting the form to an agent for processing (e.g. to a web server to a mail server etc.). An HTML form is a section of a web document into which the user can enter information. This information is passed back to a web server where it might be recorded in a database for future use or perhaps used to control what information is returned to the user.HTML forms can prompt the user to type in some text or choose from a number of option collect several different items of information at once and can restrict user challenging feature for web designers. Forms are used for two-way communication between web pages and web sites.
Syntax:
<Input Type =Text Name=text-id Value=default-text Size=n Max Length=m >
Passwords: Passwords field are similar to text fields, except the contents of the field are
not visible on the screen. It display***** (asterisks) instead of the actual input. These fields are mainly used for confidential contents to establish a password field just set type =password in the <input> tag.
Syntax:
<Input Type =Password Name=Password-Id Value=Default-Text Size=N Max Length=M >
Syntax:
<Input ype=RadioName=Radio-IdValue=Choice-Id >
Syntax:
<Input Type =Checkbox Name=Box-Id Value=Choice-Id >
OUTPUT
OUTPUT:-
TABLE Tables
It should also be possible to remove the gaps between the cells using the border-spacing:0px; style on the TABLE element, but Internet Explorer 7- will not understand that, and requires you to use thecellspacing="0" attribute on the table element. Alternatively, you can use theborder-collapse:collapse; style. Note that most browsers will also apply the following rules by default: Empty table cells are not displayed by default in most browsers (so their borders are hidden). To change that, set theempty-cells: show; style on the TH and TD elements.
IMAGE
OUTPUT
Ordered lists
The syntax of the ordered list is exactly the same as the unordered list, including the nesting. It is even possible to nest UL and OL lists inside each other.
OUTPUT
Java Script
Attributes Language
Description Indicates the scripting language used for writing the snippet of scripting code. If left undefined Netscape Communicator will assume JavaScript. If left undefined Internet Explorer will assume VB Script.
SYNTAX: <SCRIPT LAGUAGE ="JAVASCRIPT"> / / JAVASCRIPT CODE SNIPPET WRITTEN HERE </SCRIPT> Creating a JavaScript program In order to create a JavaScript program, there are multiple editors available which are distinguished on the basis of their characteristics such as ready to use scripts, debugging tools, integrated help etc. some most commonly used editors are Notepad, MS-front page, home site 5 etc. Notepad is most commonly used as it is readily available. The steps involved are 1.Open notepad by clicking on Start>All programs>Accessories>notepad. 2.Now type the following HTML code
Input
3.Then save the file as javascript.html at the desiredlocation. finally close the notepad. 4.Where you saved HTML file double click on the file to open with web browser.
Output
A string is a variable which stores a series of characters like "John Doe". A string can be any text inside quotes. You can use simple or double quotes: Example varcarname="Volvo XC60"; varcarname='Volvo XC60'; JavaScript Numbers
JavaScript has only one type of numbers. Numbers can be written with, or without decimals:
Example var x1=34.00; var x2=34; //Written with decimals //Written without decimals
JavaScript Booleans
Booleans can only have two values: true or false. var x=true var y=false JavaScript Arrays The following code creates an Array called cars: var cars=new Array(); cars[0]="Saab"; cars[1]="Volvo"; cars[2]="BMW"; Composite Data Types
An object is delimited by curly braces. Inside the braces the object's properties are defined as name and value pairs (name : value). The properties are separated by commas: var person={firstname:"John", lastname:"Doe", id:5566}; The object (person) in the example above has 3 properties: firstname, lastname, and id. Spaces and line breaks are not important. Your declaration can span multiple lines: var person={ firstname : "John",
DIVISION
OUTPUT
SWAPPING OF NUMBERS
OUTPUT
FUNCTION
OUTPUT