You are on page 1of 47

A Practical Training Seminar Report Submitted in partial fullment for the award of the Degree of Bachelor of Technology in Department

of Computer Science & Engineering

logo.jpg

Submitted To:
Mr.Amit Bhati HOD(CSE)

Submitted By:
Neha Parashar Akash Garg Checked By: Amit Bhati Signature:

Department of Computer Science & Engineering Mewar College of Engineering,Bhilwara Rajasthan Technical University December,2011

Certicate

certificate.jpg

Acknowledgement
I would like to express my sincere thanks to all the previous and current members of BRAINWAVE INFOED PVT LTD. Talent capabilities are of course necessary but opportunities right guidance is two very important backups without which any person can not clime the ladder to success. For the purpose proper guidance and direction is required in the order to achieve the goal making optimum of each every opportunity it is my great privilege to have summer training in such an estimated business. BRAINWAVE PVT. LTD. is situated at HIRANMAGRI, SECTOR-4, UDAIPUR (RAJ) I want to express my appreciation in fullment of this project. I am indebted and thankful for the assistance received from Mr S.K. SHARMA (Principal, ITM). For this I would like to express my heartful gratitude regards to my training guide Mr. BIJOY CHOWDHARY (DIRECTOR), for providing all the nec- essary information, whenever required to accomplish this training and for him excellent co-operation guidance support. It goes without saying that no work can be perfect without ample guidance.I also wish to thank Mr. R.K.Somani (HOD (CS) ITM, Bhilwara), Mr.Pankaj Singh Parihar (Asst.Professor ITM, Bhilwara), Mr.Ravi Kant Vyas(Lecturer ITM, Bhilwara) for the time they devoted to review the report and their helpful comments. I am indebted to them for being a perpetual source of inspiration and motivation for me. Words are insucient to express my profound sense of gratitude to my guides, parents, friends whose encouragement and blessings gave me great physical and moral strength. Submitted By: Anurag Jain 08EIMCS008 Computer Science

Abstract
A collection of online content including documents and applications that reside on a web server/servers, is Web Designing. The term web design implies the great range of activities such as web site planning, web site creation, web site modeling, web site designing, web site coding and programming and professional arrangement of the pages which make up a user-friendly and easy-to-use site. Web development is a broad term for the work involved in developing a web site for the Internet (World Wide Web) or an intranet (a private network). This can include web design, web content development, client liaison, client-side/server-side scripting, web server and network security conguration, and e-commerce development. However, among web professionals, web development usually refers to the main non-design aspects of building web sites: writing markup and coding. Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, or social network services. ONLINE SHOPPING deals with the shopping of various products, for the users satisfaction. This include how one can fulll his/her needs. In this user can create his own account and manage his prole .It includes buying of products, according to the choice of user.The payement will be made according to the user choice. This consists the following processes: Create User Account. Manage User Prole. Upload Products and there prices. Generate Billing. Delivery of Products. Control Credit Management.

ii

Contents

iii

List of Figures

iv

Chapter 1 Introduction
About Training Online shopping is the process whereby consumers directly buy goods, services etc. from a seller interactively in real-time without an intermediary service over the internet. Online shopping is the process of buying goods and services from merchants who sell on the Internet. Since the emergence of the World Wide Web, merchants have sought to sell their products to people who surf the Internet. Shoppers can visit web stores from the comfort of their homes and shop as they sit in front of the computer.Consumers buy a variety of items from online stores. In fact, people can purchase just about anything from companies that provide their products online. Books, clothing, household appliances, toys, hardware, software, and health insurance are just some of the hundreds of products consumers can buy from an online store. Many people choose to conduct shopping online because of the convenience. For example, when a person shops at a brick-and-mortar store, he has to drive to the store, nd a parking place, and walk throughout the store until he locates the products he needs. After nding the items he wants to purchase, he may often need to stand in long lines at the cash register. Despite the convenience of online shopping, not everyone chooses to purchase items and services online. Some people like the idea of physically going to a store and experiencing the shopping process. They like to touch the merchandise, try on clothing, and be around other people. Online shopping doesnt permit shoppers to touch products or have any social interaction. It also doesnt allow them to take the merchandise home the same day they buy it. Online shopping allows you to browse through endless possibilities, and even oers merchandise thats unavailable in stores. If youre searching for a niche product that may not be distributed locally, youre sure to nd what youre looking for on the internet. Whats even more useful is the ability to compare items, similar or not, online. You can search through multiple stores at the same time, comparing material quality, sizes and pricing simultaneously. Shopping via the internet eliminates the need to sift through a stores products with potential buys

like pants, shirts, belts and shoes all slung over one arm. Online shopping also eliminates the catchy, yet irritating music, as well as the hundreds, if not thousands, of other like-minded individuals who seem to have decided to shop on the same day. Say goodbye to the days when you stood in line waiting, and waiting, and waiting some more for a store clerk to nally check out your items. Online shopping transactions occur instantly-saving you time to get your other errands done! Additionally, unlike a store, online shopping has friendly customer service representatives available 24 hours a day, 7 days a week to assist you with locating, purchasing and shipping your merchandise.

Training Objective To shop wile in the comfort of your own home ,without having to step out of the door. 1. sell at lower rate due to less over head. 2. provide home delivery at cheaper rate. 3. No wait to see the products if someone else is taking that.

Problem Faced If a consumer who shops online knows exactly what they want to purchase, online shopping can be direct and hassle free, but if they are not exactly sure, it may be dicult to decide on a product without some additional assistance. In some cases an online consumer may not even know what they want or need in regards to use or features of a product, so they might be forced to decide based on product information given by a manufacturer or retailer without knowing what to expect until the product arrives. Another problem that the online consumer faces in contrast to oine shopping is that online retailers have virtual warehouses of merchandise. In the past they may have had 20 digital cameras to oer a consumer, now retailers have hundreds of choices. Online retailers are attempting to help the online consumer navigate through stores and information repositories, as well as to assist the consumer in making a purchasing decision. To address this need, websites now oer the balance of professional and amateur product reviews. As a service to the online consumer, they can read comments about other consumer experiences and opinions, thus helping to manage all the data sources and information about the products they oer. Today, there are hundreds of online consumer product review websites. Unless an online consumer knows where to go to nd product information and consumer reviews it can be a dicult task. Most people are aware of the popular review sites such as Amazon.com.These websites have attempted to match what they think a consumer wants to specic product features and available consumer reviews, however none oer the ability to see what other consumers have written about allowing them to decide on a product for themselves. Another problem is that writing product reviews has become so popular and many online reviews

sites have so many reviews that most are buried so deeply that the information is not easily accessible. This corpus of information often gives a consumer too much to consider and in the end may make it even more dicult to make a purchasing decision. These two aspects of the consumer online product research experience - guring out what you want to purchase based on what others have said, and waiting through the abundance of product reviews - are what our nal project attempts to address. Online consumers would benet from the ability to map their own needs and wants to what other consumers have written about, and to be able to have an interface which makes the tens of thousands of consumer reviews more easily accessible. Here we are attempts to create a more consumer-friendly approach to online product research than what is currently available.

Solution Found The use of the Internet in our everyday lives has increased each year, with 74adults (18 years and older) online. Product reviews and recommendations research is listed in the 2009 Pew Internet Survey as the 3rd most popular activity on the Internet, after email and using search engines, and online shopping comes in 5th (PEW). There exist a variety of dierent resources for nding product reviews and recommendations, ranging from Amazon. The problem with existing solutions is that there are many reviews and products available on the market, and it becomes very time-consuming to browse through the amount of information available. We attempt to address these issues through various disciplines from the School of Information considering dierent aspects: user research, data aggregation, and information visualization. Specically, we are looking to provide a service that helps consumers to nd relevant products based on the their needs rather than the current method of searching through product features and specications. Current research shows that online consumer product reviews contribute to making an online purchase. An Amazon.com study revealed, As weve watched Amazon customers make purchases on the site, we can clearly see that promoting the most helpful reviews has increased sales in these categories by 20customers decides to complete the purchase because of the strength of the reviews). Other consumers then vote on whether the review was helpful. The results of increased sales indicate that the reading of consumer written product reviews is serving their customers well. Currently, if a consumer is interested in viewing the reviews from other websites they must visit each site individually. This is a time consuming process. The target market for Online Shopping Cart is a rather broad and diverse group of online consumers. Anyone who has access to the Internet, with basic skills in terms of navigating it, and those who are interested in conducting product research online are the consumers we hope to serve. We envision the target consumer to be someone who also may not know exactly what they want in terms of a product as that consumer tends to go directly to a retail website to make the purchase. The target consumer is someone who sees the value of doing their own product research and who wants to feel condent about a purchasing decision. However, we will not charge a fee for access to our site because we want to dierentiate our offering as well as provide the consumer with an easy-to-use, hasslefree service.

Chapter 2 Company Prole

2.1

The Organization

Brainwave InfoED Pvt. Ltd,Udaipur is an information technology company in the eld of computer Training/Development , Technology Resourcing and Knowledge Consulting. It provides solutions through application of proven platforms and adaptation of emerging technologies. Core to its oering is a solution through well documented software engineering practices, project management mile storms and quality assurance parameters for each stage of software training and development life cycles.

2.2

The Mind

Brainwave InfoED Pvt. Ltd is a committed venture of I.T. services, by a team of dedicated professionals having distinct experience in technical, management functional domain both in domestic and international business. Their long association with the industry has equipped them with proven prociency to lead the venture to its aspired goals. The entire business process has been chalked out, by combining the strengths of proven and potential technologies and experience of leading professionals of the industry and consulting services. Utilization of resources is pledged to a systematic and properly channeled business activity to ensure long-term business development

2.3

The Method

We believe in sharing our gains to all the stakeholders (employees and business partners). Our employer employee relationship starts with a detailed mapping of the job requirement and equally detailed prole assessment. The entire zeal in the process is to quantify promise and potential to the

nearest role requirement of the organization. In our relationship, we facilitate all the promises and potential to fructify into performances by various schemes and methodologies. For our business partner, we do not compromise long-term relation to an individual transaction. The business partner is valued for providing opportunity to be associated rather than the value of transaction. The quality and commitment to work is independent of the value of transaction. We strictly adhere to the principle of transparency in all our dealings to ensure the governance of business is in safe hands to oer optimum returns to our stakeholders.

2.4

The Team

The company backed by young, dynamic, enthusiastic team, grown with a dossier of Software Engineers, Functional Experts and management professionals with a backdrop of premier education and rich experience. Besides technology adoption and functionality absorption, the third element for our holistic solution is the input of our creative gang, dedicated for corporate brand enhancing and positioning. The team comprises of a gamut of skill set viz. Project Managers / Leaders, Functional Application Consultants, System Integration Consultants, System Analysts, and Designers, Software Engineers, Technical Writers, Content Developer, Web Visualizers and Multimedia Experts along with a host of support personnel.

2.5

The Activities

We have pioneered many programs to create IT awareness among the common masses.We organize regular IT seminars. These programs have helped thousands of eligible students to learn computers.

Our focus has always been on Knowledge Consulting 1. Entry level training for all. 2. Specialization in Software Programming, Application Development using Visual Basic, Database Administration, Web Technologies. 3. Object Oriented Programming and Development with C++ and Java and C 4. Career Programs for students 5. Corporate Training for Employees and Businessmen

2.6

The Strength

Our strength lies with the commitment and dedication of the directors who are fully involved in this eld. 1. Managed by dedicated experienced professionals 2. Highly qualied technical team for faculty training 3. Research Development team for development of study materials . 4. Revision of syllabus as per the requirements.

2.7

Software Application Development & Maintenance :

Oshore development of software projects has emerged as a viable, cost-eective alternative for addressing a host of IT related issues. Outsourcing software development frees increasingly scarce in-house resources for strategically signicant management. Partnering with Brainwave will ensure that you stay ahead while your day-to-day IT responsibilities are managed by us remotely.

2.8

Software Application Development :

Brainwave oers services ranging from custom application development, deployment, new release management and back-up recovery management. Leveraging its state-of-the-art Oshore Development Centers in India Surat.Brainwave provides enterprises the advantage of custom software application development outsourcing.

brainwavelogo.jpg

Figure 2.1: Company Logo

Chapter 3 Technology Description


Web design is the process of designing websites a collection of online content including documents and applications that reside on a web server/servers. The term web design implies the great range of activities such as web site planning, web site creation, web site modeling, web site designing, web site coding and programming and professional arrangement of the pages which make up a user-friendly and easy-to-use site. The history of the Internet starts in the late 1960s. First it was strictly used for US military purposes. Later some universities started using it. At that time the internet was a special tool for exchanging important data between computers with the help of transmission control protocols (TCP/IP). In 1969 the special Internet language appeared. It was ARPANET and GML (General Markup Language). The way of communication through computers was inconvenient and not user-friendly. But in the year 1972, ray Tomlinson created email which inverted the life of the Internet from feet to the head. Later the scientist of the European Organization for Nuclear Research (CERN), Tim Berners-Lee, invented the HyperText Markup language (HTML) which is widely spread nowadays and no site can exist without it. In 1989-1990, Tim Berners-Lee proposed a set of protocols and software (the rst web browser and editor calledWorld WideWeb) that allowed computers to browse the information in the Internet and developed the rst web server called HyperText Transfer Protocol daemon (httpd). He was the rst to combine the Internet communication with hypertext and was also responsible for the rst web site which was put online in August 1991. At that time there was only one web server located in CERN, but by the end of 1992, over 50 web servers were operating in the world, primarily at the universities and research centers. In the beginning, web design was of the minimum, but as the Web progressed, HTML became more complex and exible allowing users to add images and tables to web pages. With the invention of Cascading Style Sheets (CSS) and a web server technology with the ability to highly customize the response based on the users requirements (server-side scripting), web design experienced a rapid evolution. In 1993, the rst Internet browser, Mosaic - which enabled users to surf the Internet in a

graphical way and opened the Web up to the general public - was released by the National Center for Supercomputing Applications (NCSA). The browser made it possible for users to view text and graphic, but within a very limited layout arrangement that inuenced the ability to provide graphic design information for visual communication and restricted the abilities of web design. Scripting languages, which can be embedded within HTML, commonly are used to add functionality to a Web page, such as dierent menu styles or graphic displays or to serve dynamic advertisements. These types of languages are client-side scripting languages, aecting the data that the end user sees in a browser window. Other scripting languages areserver-side scripting languages that manipulate the data, usually in adatabase, on the server. Scripting languages came about largely because of the development of the Internet as a communications tool. JavaScript, ASP, JSP, PHP, Perl, Tcl andPython are examples of scripting languages.

19.jpg

Figure 3.1: Languages

PHP PHP (PHP: Hypertext Preprocessor) was created by Rasmus Lerdorf in 1994. It was initially developed for HTTP usage logging and server-side form generation in Unix.

PHP 2 (1995) transformed the language into a Server-side embedded scripting language. Added database support, le uploads, variables, arrays, recursive functions, conditionals, iteration, regular expressions, etc. PHP 3 (1998) added support for ODBC data sources, multiple platform support, email protocols (SNMP,IMAP), and new parser written by Zeev Suraski and Andi Gutmans . PHP 4 (2000) became an independent component of the web server for added eciency. The parser was renamed the Zend Engine. Many security features were added. PHP 5 (2004) adds Zend Engine II with object oriented programming, robust XML support using the libxml2 library, SOAP extension for interoperability with Web Services, SQLite has been bundled with PHP.

In an HTML document, PHP script (similar syntax to that of Perl or C ) is enclosed within special PHP tags. Because PHP is embedded within tags, the author can jump between HTML and PHP (similar to ASP and Cold Fusion) instead of having to rely on heavy amounts of code to output HTML. And, because PHP is executed on the server, the client cannot view the PHP code. A new major version has been under development alongside PHP 5 for several years. This version was originally planned to be released as PHP 6 as a result of its signicant changes, which included plans for full Unicode support. However, Unicode support took developers much longer to implement than originally thought, and the decision was made in to move the project to a branch, with features still under development moved to trunk. PHP includes free and open source libraries with the core build. PHP is a fundamentally Internetaware system with modules built in for accessing FTP servers, many database servers, embedded SQL libraries such as embedded PostgreSQL, MySQL and SQLite, LDAP servers, and others. Many functions familiar to C programmers such as those in the stdio family are available in the standard PHP build. PHP allows developers to write extensions in C to add functionality to the PHP language. These can then be compiled into PHP or loaded dynamically at runtime. Extensions have been written to add support for the Windows API, process management on Unix-like operating systems, multibyte strings (Unicode), cURL, and several popular compression formats. Some more unusual features include integration with Internet Relay Chat, dynamic generation of images and Adobe Flash content, and even speech synthesis. The PHP Extension Community Library (PECL) project is a repository for extensions to the PHP language.

10

Working of PHP PHP is a general-purpose scripting language that is especially suited to server-side web development where PHP generally runs on a web server. Any PHP code in a requested le is executed by the PHP runtime, usually to create dynamic web page content or dynamic images used on web sites or elsewhere. It can also be used for command-line scripting and client-side GUI applications. PHP can be deployed on most web servers, many operating systems and platforms, and can be used with many relational database management systems (RDBMS). It is available free of charge, and the PHP Group provides the complete source code for users to build, customize and extend for their own use. PHP acts primarily as a lter, taking input from a le or stream containing text and/or PHP instructions and outputting another stream of data; most commonly the output will be HTML. Since PHP 4, the PHP parser compiles input to produce bytecode for processing by the Zend Engine, giving improved performance over its interpreter predecessor. The LAMP architecture has become popular in the web industry as a way of deploying web applications. PHP is commonly used as the P in this bundle alongside Linux, Apache and MySQL, although the P may also refer to Python or Perl or some combination of the three. Similar packages are also available for Windows and Mac OS X, then called WAMP and MAMP, with the rst letter standing for the respective operating system. PHP stores whole numbers in a platform-dependent range, either a 64-bit or 32-bit signed integer equivalent to the C-language long type. Unsigned integers are converted to signed values in certain situations; this behavior is dierent from other programming languages. Integer variables can be assigned using decimal (positive and negative), octal, and hexadecimal notations. Floating point numbers are also stored in a platform-specic range. They can be specied using oating point notation, or two forms of scientic notation PHP has a native Boolean type that is similar to the native Boolean types in Java and C++. Using the Boolean type conversion rules, non-zero values are interpreted as true and zero as false, as in Perl and C++. The null data type represents a variable that has no value. The only value in the null data type is NULL. Variables of the resource type represent references to resources from external sources. Lets say you have a webpage with the words, My name is Fred on it. If you were to write that in HTML, your code would look exactly like this: My name is Fred PHP is similar to using HTML tags like the above example in that you can interject PHP into existing HTML. Its also a programming language. PHP always executes on the server, which means that it has nothing to do with your computer while youre sitting there surng the net. Some of you might be familiar with clicking on View then Source when youre looking at a web page in order to see the HTML that makes it happen. Well, youll never see any PHP there because its already been executed and only the end result is sent to you.

11

HTML HTML is the mother tongue of browser. HTML was invented in 1990 by a scientist called Tim Berners-Lee. HTML is a language, which makes it possible to present information (e.g. scientic research) on the Internet. What you see when you view a page on the Internet is your browsers interpretation of HTML. To see the HTML code of a page on the Internet, simply click View in the top menu of your browser and choose Source. If you want to make websites, there is no way around HTML. Even if youre using a program to create websites, such as Dreamweaver, a basic knowledge of HTML can make life a lot simpler and your website a lot better. The good news is that HTML is easy to learn and use. HyperText Markup Language (HTML) is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages. HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like html), within the web page content. HTML tags most commonly come in pairs like h1 and /h1, although some tags, known as empty elements, are unpaired, for example img. The rst tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tags, comments and other types of text-based content. The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page. HTML elements form the building blocks of all websites. HTML allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts in languages such as JavaScript which aect the behavior of HTML webpages. Web browsers can also refer to Cascading Style Sheets (CSS) to dene the appearance and layout of text and other material. The W3C, maintainer of both the HTML and the CSS standards, encourages the use of CSS over explicitly presentational HTML markup. Hypertext markup language is a markup language that web browsers use to interpret and compose text, images and other material into visual or audible web pages. Default characteristics for every item of HTML markup are dened in the browser, and these characteristics can be altered or enhanced by the web page designers additional use of CSS.

12

CSS CSS is an acronym for Cascading Style Sheets. CSS is a style language that denes layout of HTML documents. For example, CSS covers fonts, colours, margins, lines, height, width, background images, advanced positions and many other things. Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can also be applied to any kind of XML document, including plain XML, SVG and XUL. CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts. This separation can improve content accessibility, provide more exibility and control in the specication of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design). CSS can also allow the same markup page to be presented in dierent styles for dierent rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. While the author of a document typically links that document to a CSS style sheet, readers can use a dierent style sheet, perhaps one on their own computer, to override the one the author has specied. CSS species a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable. Types OF CSS STYLES Inline styles: - Inline styles are styles that are written directly in the tag on the document. Inline styles aect only the tag they are applied to. Embedded styles: - Embedded styles are styles that are embedded in the head of the document. Embedded styles aect only the tags on the page they are embedded in. External styles: - External styles are styles that are written in a separate document and then attached to various Web documents. External style sheets can aect any document they are attached to. Prior to CSS, nearly all of the presentational attributes of HTML documents were contained within the HTML markup; all font colors, background styles, element alignments, borders and sizes had to be explicitly described, often repeatedly, within the HTML. CSS allows authors to move much of that information to a separate style sheet resulting in considerably simpler HTML markup

13

MYSQL MySQL is the most popular open-source database system. -Developer(s):- MySql AB ( a subsidiary of Oracle) -Initial release:- May 23, 1995 -Stable release:- 5.5.9 (feb 7, 2011) -Written in:- C, C++ -Operating system:- Cross-platform -Available in:- English -Type:- RDBMS -Website:- www.mysql.com, dev.mysql.com The data in MySQL is stored in database objects called tables. A table is a collection of related data entries and it consists of columns and rows. Databases are useful when storing information categorically. A company may have a database with the following tables: Employees, Products, Customers and Orders. MySQL is primarily an RDBMS and therefore ships with no GUI tools to administer MySQL databases or manage data contained within. Users may use the included command-line tools, or download MySQL frontends from various parties that have developed desktop software and web applications to manage MySQL databases, build database structure, and work with data records. The ocial MySQL Workbench is a free integrated environment developed by MySQL AB, that enables users to graphically administer MySQL databases and visually design database structure. MySQL Workbench replaces the previous package of software, MySQL GUI Tools. Similar to other third-party packages, but still considered the authoritative MySQL frontend, MySQL Workbench lets users manage the following: 1. Database design modeling. 2. SQL development replacing MySQL Query Browser. 3. Database administration replacing MySQL Administrator. MySQL Workbench is available in two editions, the regular free and open source Community Edition which may be downloaded from the MySQL website, and the proprietary Standard Edition which extends and improves the feature set of the Community Edition.

14

WEB SERVER Web servers are computers that deliver (serves up) Web pages. Every Web server has an IP address and possibly a domain name. For example, if you enter the URL http://www.google.com/index.html in your browser, this sends a request to the Web server whose domain name is google.com. The server then fetches the page named index.html and sends it to your browser. Any computer can be turned into a Web server by installing server software and connecting the machine to the Internet. There are many Web server software applications, including public domain software from NCSA and Apache, and commercial packages from Microsoft, Netscape and others. APACHE Apache, otherwise known as Apache HTTP Server, is an established standard in the online distribution of website services, which gave the initial boost for the expansion of the World Wide Web. It is an open-source web server platform, which guarantees the online availability of the majority of the websites active today. The server is aimed at serving a great deal of widely popular modern web platforms/operating systems such as Unix, Windows, Linux, Solaris, Novell NetWare, FreeBSD, Mac OS X, Microsoft Windows, OS/2, etc. The Apache server has been developed by an open source community - Apache Software Foundation, whose members are constantly adding new useful functionalities, with the sole purpose of providing a secure and extensible server platform that ensures HTTP service delivery in accordance with the current HTTP standards. Apache Server Versions

Since its initial launch the web server has undergone a number of improvements, which led to the release of several versions. All of the versions are accompanied by comprehensive documentation archives. Apache 1.3 Apache 1.3 boasts a great deal of improvements over 1.2, the most noteworthy of them being useful congurable les, Windows and Novell NetWare support, DSO support, APXS tool and others. Apache 2.0 Apache 2.0 diers from the previous versions by the much re-written code, which has considerably simplied its conguration and boosted its eciency. It supports Ipv6, Unix threading, other protocols such as mode cho.T hisversionalsoof f ersanewcompilationsystemandmultilanguageerrormessaging.

15

Apache 2.2 Apache 2.2 came out in 2006 and oers new and more exible modules for user authentication and proxy caching, support for les exceeding 2 GB, as well as SQL support.

Suppose You decide to visit Google by typing its URL http://www.google.com into your Web browser. Through an Internet connection, your browser initiates a connection to the Web server that is storing the Google les by rst converting the domain name into an IP address (through a domain name service) and then locating the server that is storing the information for that IP address (also see Understanding IP Addressing). The Web server stores all of the les necessary to display Webopedias pages on your computer typically all the individual pages that comprise the entirety of a Web site, any images/graphic les and any scripts that make dynamic elements of the site function. Once contact has been made, the browser requests the data from the Web server, and using HTTP, the server delivers the data back to your browser. The browser in turn converts, or formats, the computer languages that the les are made up of into what you see displayed in your browser. In the same way the server can send the les to many client computers at the same time, allowing multiple clients to view the same page simultaneously.

AJAX AJAX is an acronym for Asynchronous JavaScript And XML.

AJAX can be used for interactive communication with a database. AJAX is not a programming language. but simply a development technique for creating interactive web applications. The technology uses JavaScript to send and receive data between a web browser and a web server. The AJAX technique makes web pages more responsive by exchanging data with a server behind the scenes, instead of reloading an entire web page each time a user makes a change. With AJAX, web applications can be faster, more interactive, and more user friendly.

JAVA Scripts JavaScript was designed to add interactivity to HTML pages .

16

JavaScript is a client- side scripting language . A JavaScript consists of lines of executable computer code.

A JavaScript is usually embedded directly into HTML pages. Everyone can use JavaScript without purchasing a license. Are Java and JavaScript the Same?

NO!

Java and JavaScript are two completely dierent languages in both concept and design!

Java (developed by Sun Microsystems) is a powerful and much more complex programming language - in the same category as C and C++.

XAMPP It is a free and open source cross-platform web server solution stack package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages. The program is released under the terms of the GNU General Public License and acts as a free web server capable of serving dynamic pages. XAMPP is available for Microsoft Windows, Linux, Solaris, and Mac OS X, and is mainly used for web development projects. This software is useful while you are creating dynamic webpages using programming languages like PHP, JSP, Servlets. XAMPP requires only one zip, tar, 7z, or exe le to be downloaded and run, and little or no conguration of the various components that make up the web server is required. XAMPP is regularly updated to incorporate the latest releases of Apache/MySQL/PHP and Perl. It also comes with a number of other modules including OpenSSL and phpMyAdmin. Installing XAMPP takes less time than installing each of its components separately. Self-contained, multiple instances of XAMPP can exist on a single computer, and any given instance can be copied from one computer to another. It is oered in both a full, standard version and a smaller version.

17

Chapter 4 Systems/Project Development

ONLINE SHOPPING CART

The online shop were makin here is a basic one without any sophisticated features and stu. The shop has admin pages ( where the shop admin can create categories, add products, etc ) and the shopper pages ( a.k.a the shop itself ) where all the shopping process takes placethis is what our shopping cart willl look like. After you browse around you will see that the basic ow of our shop is : 1. A customer visit the site 2. He/She browse the pages, clicking her way between categories 3. View the product details that she found interesting 4. Add products to shopping cart 5. Checkout ( entering the shipping address, payment info ) 6. Leave ( hopefully to return another time ) The customer doesnt need to register for an account.He/She just buy then leave. The online shopping is an easy to maintain, ready to run, scalable, aordable and reliable cost saving tool from Software Associates suited for small, medium, and large shopping complex and shopping malls. Features and Benets: 1. 2. 3. 4. 5. 6. Can reduce stationary bill as there is no need for paper work. Possibility for eective marketing. Low investment high payback . Available for 24 x 7. Expose your products and services globally. No need for a sophisticated physical store

18

DATA FLOW DIAGRAMS: Data ow diagrams (DFD) was rst developed by LARRY CONSTANTINE as way representing system requirements in a graphical form; this lead to modular design. A DFD describes what data ow (logical) rather than how they are processed, so it does not depend on hardware, software, data structure or le organization. It is also known as bubble chart. A Data Flow Diagrams is a structured analysis and design tool that can be used for owcharting in place of, or in association with, information-oriented and process-oriented systems owcharts. A DFD is a network that describes the ow of data and the processes that change, or transform, data throughout a system. This network is constructed by using a set of symbols that do not imply a physical implementation. It has the purpose of clarifying system requirements and identifying major transformations that will become programs in system design. So it is the starting point of the design phase that functionality decomposes the requirement specications down to the lowest level of detail. The symbols used to prepare DFD do not imply a physical implementation, a DFD can be considered to an abstract of the logic of an information-oriented or a process-oriented system ow-chart. For these reasons DFDs are often referred to as logical data ow diagrams. The four basic symbols used to construct data ow diagrams are shown below:

1.jpg

Figure 4.1: DFDs Symbols

These are symbols that represent data ows, data sources, data transformations and data storage. The points at which data are transformed are represented by enclosed gures, usually circles, which are called nodes.

19

20

ENTITY RELATIONSHIP DIAGRAMS:

21

USE CASE DIAGRAMS:

ACTIVITY DIAGRAMS:

22

STATE TRANSITION DIAGRAM:

DATABASE SCHEMA:

23

SNAPSHOTS

24

2.jpg

Figure 4.2: Context Level Diagram 25

3.jpg

Figure 4.3: Add Item to Cart

4.jpg

Figure 4.4: Add Product/Brand/Item

26

5.jpg

Figure 4.5: Payement Details

6.JPG

Figure 4.6: E-R Diagram

27

7.jpg

Figure 4.7: Admin

28

8.jpg

Figure 4.8: Customer/User

29

9.jpg

Figure 4.9: Add to Cart

10.jpg

Figure 4.10: Submit Cart

30

11.jpg

Figure 4.11: Add Category

31

12.jpg

Figure 4.12: State Transition for Cart Object

32

13.jpg

Figure 4.13: Database Schema

33

14.jpg

Figure 4.14: Snapshot 1

34

15.jpg

35 Figure 4.15: Snapshot 2

16.jpg

36 Figure 4.16: Snapshot 3

17.jpg

37 Figure 4.17: Snapshot 4

18.jpg

38 Figure 4.18: Snapshot 5

Chapter 5 Supplement
LAMP is the SUPPLEMENT OF XAMPP. It is a free and open source Linux based-platform web server solution stack package, consist- ing mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages.

L for Linux. A for Apache. M for MYSQL. P for PHP

39

Chapter 6 Conclusion
1. The online shopping in php is very powerful technique to marketing products in the whole world. 2. PHP doesnt use a lot of the systems resources so it runs fast and doesnt tend to slow other processes down. 3. PHP language has its roots in C and C++. PHP syntax is most similar to C and C++ language syntax. So, programmers nd it easy to learn and manipulate. 4. MySQL is used with PHP as back-end tool. MySQL is the popular online database and can be interfaced very well with PHP. Therefore, PHP and MySQL are excellent choice for webmasters looking to automate their web sites. 5. PHP can run on both UNIX and Windows servers. 6. PHP is dynamic. PHP works in combination of HTML to display dynamic elements on the page. PHP only parses code within its delimiters, such as. Anything outside its delimiters is sent directly to the output and not parsed by PHP. 7. PHP can be used with a large number of relational database management systems, runs on all of the most popular web servers and is available for many dierent operating systems.

40

References
http://en.wikipedia.org/wiki/Online shopping Date accessed-29/09/2011 http:///www.astra-design.com/web design history.html Date accessed-11/08/2011 Book Refered- PHP IN NUTSHELL by MICHAEL HORRIDS

41

You might also like