1 A PROJECT REPORT ON ONLINE SHOPPING PORTAL AKS UNIVERSITY,SATNA(M.P.) Submitted By: PRINCE SINGH Student code: B1992R13600024 5Bsc(IT) Under the Guidance: H.O. D Mr. Shankar Bera Dr. Akhilesh A. Waoo Submitted To AKS UNIVERSITY,SATNA(M.P.) Prince Singh B1992R13600024 Online Shopping Portal 2 CERTIFICATE This is to certify that group bearing have developed Software project titled Shoping MANAGEMENT for A.K.S University, Satna as a Academic Project for the Bsc IT sem-5th. HEAD OF DEPARTMENT C.S & I.T. Prince Singh B1992R13600024 Online Shopping Portal 3 PROJECT EVALUATION SHEET • Candidates Roll No.………………………………………………………… • Candidates Name…………………………………………………………… • E-mail ………..…………………………………………………………… ……………………………………………………………………………… • Project Title………………………………………………………………… • Software Base……………………………………………………………… • Sponsoring Institute & address……………………………………………… • Submitted for course & Year: • Detail Evolution Roll No. Prince Singh Enrollment No. B1992R13600024 Marks Awarded Out Of Signature of External Examiner Online Shopping Portal 4 1. 2. 3. 4. DECLARATION We affirm here project SHOPING MANAGEMENT Submitted by us in AKS UNIVERSITY,Satna (M.P.).For consideration of award of “BACHELOR OF COMPUTER SCIENCE” embodies our own works, accept guidence and suggestion received during the work, which has been duly acknowledge. Prince Singh B1992R13600024 Online Shopping Portal 5 CERTIFICATE This is to certify that this project entitled “SHOPING MANAGEMENT” Submitted in Academic Project of the requirement For the BSC IT sem-5 in Computer Science AKS UNIVERSITY, SATNA(M.P.). Done by me is an is an authentic work carried out by them at A.K.S University,Satna under the my guidance. The matter embodied in this project work has not been submitted earlier for award of any degree or diploma to the best of my knowledge and belief. Signature of the student Prince Singh Signature of Guide B1992R13600024 Online Shopping Portal 6 ……………….. …………………. ACKNOWLEDGEMENT We take this opportunity to express our profound sense of gratitude and respect to all those who have helped us throughout the duration of this project. This has been very special project brought to fruition through the enthusiasm of our guides and those who supported us. We express our heartfelt thanks to:To Dr. Akhilesh A. Waoo, head of the department and co coordinator Mr.SHANKAR BERA ,AKS UNIVERSITY for giving us opportunity to undertake this project in his highly reputed organization. To our revered teacher and guide Mr.Sankar Bera for their personal interest in the activities of project right from its beginning. Prince Singh B1992R13600024 Online Shopping Portal 7 ABSTRACT The central concept of the application is to allow the customer to shop virtually using the Internet and allow customers to buy the items and articles of their desire from the store. The information pertaining to the products are stores on an RDBMS at the server side (store). The Server process the customers and the items are shipped to the address submitted by them. The application was designed into two modules first Os for the customers who wish to buy the articles.Second is for the storekeepers who maintains and updates the information pertaining to the articles and those of the customers? The end user of this product is a departmental store where the application is hosted on the web and the administrator maintains the database. The application which is deployed at the customer database, the details of the items are brought forward from the database for the customer view based on the selection through the menu and the database of all the products are updated at the end of each transaction. Data entry into the application can be done through various screens designed for various levels of users. Once the authorized personnel feed the relevant data into the system, several reports could be generated as per the security. Prince Singh B1992R13600024 Online Shopping Portal 8 CONTENTS • INTRODUCTION • INTRODUCTION TO PROJECT • ORGANIZATION PROFILE • PURPOSE OF THE PROJECT • PROBLEM IN EXISTING SYSTEM • PROBLEM DEFINITION • PROJECT OBJECTIVE • SOLUTION OF THESE PROBLEMS • ABOUT NETBEANS • WHAT IS PHP • USE OF PHP • ADVANTAGES AND DISADVANTAGES OF PHP • PROJECT ANALYSIS • STUDY OF THE SYSTEM • HARDWARE & SOFTWARE SPECIFICATIONS • INPUT & OUTPUT • PROCESS MODELS USED WITH JUSTIFICATION • FEASIBILITY REPORT Prince Singh • FEASIBILITY • TECHNICAL FEASIBILITY • OPERATIONAL FEASIBILITY • ECONOMIC FEASIBILITY • ANALYSIS MODEL B1992R13600024 Online Shopping Portal 9 • DETAILS OF EXISTING SYSTEM • SOFTWARE REQUIRMENT SPECIFICATION • FUNCIONAL REQUIREMENTS • PERFORMANCE REQUIREMENTS • • TECHNICAL ARCHITECTURE AND ENVIRONMENT NEW APPLICATION MODEL • STRUCTURE OF PHP PAGE • CODE BLOCKS • SUPPORTED LANGUAGES • EARLY BINDING • CLIENT SIDE SCRIPTING • SERVER SIDE SCRIPTING . • SELECTED SOFTWARE • PROJECT DESIGN • • • • INTRODUCTION SYSTEM WORKFLOW DATA FLOW DIAGRAM DATA DICTIONARY • DESIGNING DATABASE • OUTPUT SCREENS Prince Singh • OVERVIEW • SCREEN SNAPSHOTS B1992R13600024 Online Shopping Portal 10 • PROJECT TESTING • INTRODUCTION • STRATEGIC APPROACH OF SOFTWARE TESTING • UNIT TESTING • WHITE BOX TESTING • BASIC PATH TESTING • CONDITIONAL TESTING • DATA FLOW TESTING • CONCLUSION • FUTURE ENHANCEMENT • BIBLOGRAPHY Prince Singh B1992R13600024 Online Shopping Portal 11 INTRODUCTION 1.1 INTRODUCTION The Project entitled "e-Shopping" is a web-based application Software developed in PHP LANGUAGE using PHP as front end on Pentium machine. The main aim of "e- Shopping" is to improve the services of Customers and vendors. It maintains the details of customer payments, product receipts, addition of new customers, products and also updating, deletion for the same. It also stores the details of invoices generated by customer and payments made by them with all Payments details like credit card. The primary features of the project entitled "ONLINE SHOPPING" are high accuracy, design flexibility and easy availability. And also it uses database tables Representing entities and relationships between entities. Online shopping is a form of electronic commerce where the buyer is directly online to the seller's computer usually via the internet. There is no intermediary service. The sale and purchase transaction is completed electronically and interactively in realtime such as Amazon.com for new books. If an intermediary is present, then the sale and purchase transaction is called electronic commerce such as eBay.com. Proposed System: The development of this new system contains the following activities, which try to develop on-line application by keeping the entire process in the view of database integration approach. • Secure registration and profile management facilities for Customers. • Browsing through the e-Mall to see the items that are there in each category of products like Apparel, Kitchen accessories, Bath accessories, Food items etc. • Creating a Shopping cart so that customer can Shoppe ‘n’ no. of items and checkout finally with the entire shopping cart • Customers should be able to mail the Shop about the items they would like to see in the Shop • Secured mechanism for checking out from the Shop( Credit card verification mechanism ) Prince Singh B1992R13600024 Online Shopping Portal 12 • Updates to customers about the Recent Items in the Shop. • Uploading ‘Most Purchased’ Items in each category of products in the Shop like Apparel, Kitchen accessories, Bath accessories, Food items etc. Number of Modules The system after careful analysis has been identified to be presented with the following modules: • Customer. • Admin Module. • Security and Authentication TECHNOLOGY TO BE USED FRONT END Prince Singh B1992R13600024 Online Shopping Portal 13 What is NetBeans IDE 8.0.2? NetBeans IDE 6.0 introduced support for developing IDE modules and rich client applications based on the NetBeans platform, a Java Swing GUI builder (formerly known as "Project Matisse"), improved CVS support, WebLogic 9 and JBoss 4 support, and many editor enhancements. NetBeans 6 is available in official repositories of major Linux distributions. NetBeans IDE 6.5, released in November 2008, extended the existing Java EE features (including Java Persistence support, EJB 3 and JAX-WS). Additionally, the NetBeans Enterprise Pack supports the development of Java EE 5 enterprise applications, including SOA visual design tools, XML schema tools, web services orchestration (for BPEL), and UML modeling. The NetBeans IDE Bundle for C/C++ supports C/C++ and FORTRAN development. NetBeans IDE 6.8 is the first IDE to provide complete support of Java EE 6 and the GlassFish Enterprise Server v3. Developers hosting their open-source projects on kenai.com additionally benefit from instant messaging and issue tracking integration and navigation right in the IDE, support for web application development with PHP 5.3 and the Symfony framework, and improved code completion, layouts, hints and navigation in JavaFX projects. NetBeans IDE 6.9, released in June 2010, added support for OSGi, Spring Framework 3.0, Java EE dependency injection (JSR-299), Zend Framework for PHP, and easier code navigation (such as "Is Overridden/Implemented" annotations), formatting, hints, and refactoring across several languages. NetBeans IDE 7.0 was released in April 2011. On August 1, 2011, the NetBeans Team released NetBeans IDE 7.0.1, which has full support for the official release of the Java SE 7 platform.[12] NetBeans IDE 7.3 was released in February 2013 which added support for HTML5 and web technologies.[13] NetBeans IDE 7.4 was released on 15 October 2013. NetBeans IDE 8.0 was released on 18 March 2014. NetBeans IDE 8.1 was released on 4 November 2015. Prince Singh B1992R13600024 Online Shopping Portal 14 NetBeans IDE 8.2 was released on 3 October 2016. Netbeans 9.0, which adds support for Java 9 and 10, was released on 29 July 2018, by the Apache Incubator project.[10][11][14][15] NetBeans 10.0 was released on 27 December 2018. It brings support for Java 11 and improved support for PHP (7.0–7.3). NetBeans 11.0 was released on 4 April 2019. NetBeans platform The NetBeans Platform is a framework for simplifying the development of Java Swing desktop applications. The NetBeans IDE bundle for Java SE contains what is needed to start developing NetBeans plugins and NetBeans Platform based applications; no additional SDK is required. Applications can install modules dynamically. Any application can include the Update Center module to allow users of the application to download digitally signed upgrades and new features directly into the running application. Reinstalling an upgrade or a new release does not force users to download the entire application again. The platform offers reusable services common to desktop applications, allowing developers to focus on the logic specific to their application. Among the features of the platform are: • User interface management (e.g. menus and toolbars) • User settings management • Storage management (carries out efficient storage) • Window management • Wizard framework (supports step-by-step dialogs) • NetBeans Visual Library • Integrated development tools Prince Singh B1992R13600024 Online Shopping Portal 15 NetBeans IDE NetBeans IDE is an open-source integrated development environment. NetBeans IDE supports development of all Java application types (Java SE (including JavaFX), Java ME, web, EJB and mobile applications) out of the box. Among other features are an Ant-based project system, Maven support, refactorings, version control (supporting CVS, Subversion, Git, Mercurial and Clearcase). Modularity: All the functions of the IDE are provided by modules. Each module provides a well-defined function, such as support for the Java language, editing, or support for the CVS versioning system, and SVN. NetBeans contains all the modules needed for Java development in a single download, allowing the user to start working immediately. Modules also allow NetBeans to be extended. New features, such as support for other programming languages, can be added by installing additional modules. For instance, Sun Studio, Sun Java Studio Enterprise, and Sun Java Studio Creator from Sun Microsystemsare all based on the NetBeans IDE. License: From July 2006 through 2007, NetBeans IDE was licensed under Sun's Common Development and Distribution License (CDDL), a license based on the Mozilla Public License (MPL). In October 2007, Sun announced that NetBeans would henceforth be offered under a dual license of the CDDL and the GPL version 2 licenses, with the GPL linking exception for GNU Classpath The NetBeans Community blog has announced that Oracle is proposing to entrust the development of the NetBeans platform and IDE to the Apache Foundation to “open up the government model,” reaffirming its commitment to the project. NetBeans is currently submitted as a Proposal to Apache, and it will enter incubation if accepted. NetBeans IDE Bundle for PHP etBeans supports PHP since version 6.5. The bundle for PHP includes: • syntax highlighting, code completion, occurrence highlighting, error highlighting, CVS version control Prince Singh B1992R13600024 Online Shopping Portal 16 • semantic analysis with highlighting of parameters and unused local variables • PHP code debugging with xdebug • PHP Unit testing with PHPUnit and Selenium • Code coverage • Symfony framework support (since version 6.8) • Zend Framework support (since version 6.9) • Yii Framework support (since version 7.3) • PHP 5.3 namespace and closure support (since version 6.8) • Code Folding for Control Structures (since version 7.2 dev) Technology What is PHP? PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. Prince Singh B1992R13600024 Online Shopping Portal 17 • PHP is an acronym for "PHP: Hypertext Preprocessor" • PHP is a widely-used, open source scripting language • PHP scripts are executed on the server • PHP is free to download and use PHP was at first created as a simple scripting platform called "Personal Home Page". Nowadays PHP is an alternative of the Microsoft's Active Server Pages (ASP) technology. PHP is an open source server-side language which is used for creating dynamic web pages. It can be embedded into HTML. PHP is usually used in conjunction with a MySQL database on Linux/UNIX web servers. It is probably the most popular scripting language. PHP is a widely-used general-purpose scripting language and interpreter that is freely available. A full explanation of all the PHP functions, complete user manual and lots of tutorials can be found on the PHP's official page. One of the most important things about using PHP is to have a PHP specialized host. Here are some of the things we at SiteGround can offer: • We have long experience in providing technical support for PHP-based web sites. Thanks to it our servers are perfectly optimized to offer the best overall performance for most PHP applications. • We offer a lot of free PHP management tools including CMS systems, forums, galleries, blogs, shopping carts and more. • We provide multiple versions of PHP on a per-folder basis. • We are always one of the first to offer the newest PHP versions to our clients. Opting for PHP PHP may be compared to other scripting languages like Ruby or Perl (Learn about Perl) as well as to Microsoft’s ASP. You may find it much easier to learn than the PERL it was (in part) Prince Singh B1992R13600024 Online Shopping Portal 18 derived from. You may also find it easier to use. Your writing may be shorter, and you may find it less confounding to make sense of other's codes (and they yours). As a web designer, you’ll likely find that PHP gives you just what you need and no more. However, it does not have such wide application as PERL. Some designers prefer PHP over ASP because it’s open source and not licensed by a major corporation. It is extensible, and coders are encouraged to use it to develop new products. (There are some limitations, however, to using the PHP name.) PHP, moreover, is essentially platform independent, and a lot of web hosting companies are set up to allow you to use it to put up your site. (This isn’t necessarily the case with the other languages.) It is a server-sided language, though, and so some work-around may be necessary to combine it with Java. Are there any issues with using it to put up a website? You need to be aware of vulnerabilities -yes, it can be cracked, and often has. History of the Language Originally (it is believed) the letters stood for Personal Home Page. The first work was done by Rasmus Lerdorf and dates back to about 1994. Lerdorf originally used it for his personal page – specifically to track visitors. Soon, a lot of additional functions were added. It took a few years, though, for it to become a language and not just a set of tools. The code was released in the mid-1990s. Israel’s Andi Gutmans and Zeev Suraski did a major overhaul in 1997 with the goal of using PHP to run an eCommerce site. Their version, termed PHP 3.0, had more of the features we expect and see today. The same duo later created Version 4.0. 2004 saw another major revision, PHP 5.0. Although there has not yet been a 6.0, there have been significant improvements since 5.0, including the removal of several things that had caused instability or potential security breaches. Learning PHP Prince Singh B1992R13600024 Online Shopping Portal 19 You generally begin learning PHP after you’ve got a foundation in HTML. You can find a manual on the site of PHP.net. It’s divided into clickable sections, organized for easy reference, for example, installation and configuration and language reference. The basic guide also includes security issues, which may differ depending on the type of installation (whether it is a module of Apache or a CGI binary). You can also find a PHP tutorial at W3Schools. Other sites include Zend Developer Zone and PHPBuddy. (There’s a little bit of humor in the Zend Developer Zone articles; you’ll find chapter titles like “Down the Rabbit Hole” and “The Bear Necessities”.) There are also resources specifically for females. PHP Women has forums on programming as well as forums on development conferences, job opportunities (and life in general). You can also opt for a book like PHP for Beginners or Learning PHP and MySQL. BACK END What is MySQL? MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). SQL is the most popular language for adding, accessing and managing content in a database. It is most noted for its quick processing, proven reliability, ease and flexibility of use. MySQL is an essential part of almost every open source PHPapplication. Good examples for PHP & MySQLbased scripts are WordPress, Joomla, Magento and Drupal. One of the most important things about using MySQL is to have a MySQL specialized host. Here are some of the things SiteGround can offer: Prince Singh B1992R13600024 Online Shopping Portal 20 • We have long experience in providing technical support for MySQL-based web sites. Thanks to it our servers are perfectly optimized to offer the best overall performance for most MySQL applications. • We offer a lot of free MySQL tools including CMS systems, forums, galleries, blogs, shopping carts and more. • We support MySQL 5 and we provide unlimited MySQL databases on all our hosting plans. MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses. MySQL is developed, marketed and supported by MySQL AB, which is a Swedish company. MySQL is becoming so popular because of many good reasons − • MySQL is released under an open-source license. So you have nothing to pay to use it. • MySQL is a very powerful program in its own right. It handles a large subset of the functionality of the most expensive and powerful database packages. • MySQL uses a standard form of the well-known SQL data language. • MySQL works on many operating systems and with many languages including PHP, PERL, C, C++, JAVA, etc. • MySQL works very quickly and works well even with large data sets. • MySQL is very friendly to PHP, the most appreciated language for web development. • MySQL supports large databases, up to 50 million rows or more in a table. The default file size limit for a table is 4GB, but you can increase this (if your operating system can handle it) to a theoretical limit of 8 million terabytes (TB). • MySQL is customizable. The open-source GPL license allows programmers to modify the MySQL software to fit their own specific environments. Prince Singh B1992R13600024 Online Shopping Portal 21 Before You Begin Before you begin this tutorial, you should have a basic knowledge of the information covered in our PHP and HTML tutorials. This tutorial focuses heavily on using MySQL in a PHP environment. Many examples given in this tutorial will be useful for PHP Programmers. All downloads for MySQL are located at MySQL Downloads. Pick the version number of MySQL Community Server which is required along with the platform you will be running it on. Installing MySQL on Linux/UNIX The recommended way to install MySQL on a Linux system is via RPM. MySQL AB makes the following RPMs available for download on its website − • MySQL − The MySQL database server manages the databases and tables, controls user access and processes the SQL queries. • MySQL-client − MySQL client programs, which make it possible to connect to and interact with the server. • MySQL-devel − Libraries and header files that come in handy when compiling other programs that use MySQL. • MySQL-shared − Shared libraries for the MySQL client. • MySQL-bench − Benchmark and performance testing tools for the MySQL database server. The MySQL RPMs listed here are all built on a SuSE Linux system, but they will usually work on other Linux variants with no difficulty. Now, you will need to adhere to the steps given below, to proceed with the installation − • Prince Singh Login to the system using the root user. B1992R13600024 Online Shopping Portal 22 • Switch to the directory containing the RPMs. • Install the MySQL database server by executing the following command. Remember to replace the filename in italics with the file name of your RPM. • MySQL works very well in combination of various programming languages like PERL, C, C++, JAVA and PHP. Out of these languages, PHP is the most popular one because of its web application development capabilities. • This tutorial focuses heavily on using MySQL in a PHP environment. If you are interested in MySQL with PERL, then you can consider reading the PERLTutorial. • PHP provides various functions to access the MySQL database and to manipulate the data records inside the MySQL database. You would require to call the PHP functions in the same way you call any other PHP function. SDLC MODEL The Systems development life cycle (SDLC), or Software development process in systems engineering, information systems and software engineering, is a process of creating or altering information systems, and the models and methodologies that people use to develop these systems. In software engineering, the SDLC concept underpins many kinds of software development methodologies. These methodologies form the framework for planning and controlling the creation of an information system. the software development process Prince Singh B1992R13600024 Online Shopping Portal 23 Overview A Systems Development Life Cycle (SDLC) adheres to important phases that are essential for developers, such as planning, analysis, design, and implementation, and are explained in the section below. A number of system development life cycle (SDLC) models have been created: waterfall, fountain, spiral, build and fix, rapid prototyping, incremental, and synchronize and stabilize. The oldest of these, and the best known, is the waterfall model: a sequence of stages in which the output of each stage becomes the input for the next. These stages can be characterized and divided up in different ways, including the following SDLC (System Development Life Cycle):System flow is a process consisting of the life cycle Evaluation Maintenance Design Analysis Testing Implementation Feasibility study Prince Singh B1992R13600024 Online Shopping Portal 24 1. RECOGNIZATION OF NEED’S: The requirement gathering process is Intensified and focused especially on s/w. To understand the nature of the programs to be built, the s/w engineer must understand the information domain as well as required function, behaviors, performance and interface after the user requirements are fulfilled and stabilized. 2. FEASIBILITY STUDY: Feasibility study is high level version of the entire system analysis and design a process. The purpose of feasibility is a not to solve the problem, but to determine if the problem is a not to solve the problem is worth solving. It is conduct performance is defined by the identification of specific system object and descriptive of output. Three key consideration that are consideration that are involved in feasibility analysis are• Economic feasibility • Technical feasibility • Operational feasibility Prince Singh B1992R13600024 Online Shopping Portal 25 ECONOMIC FEASIBILITY:Economic feasibility is the most frequently used method for evaluating the effectiveness of the proposed system. This is an on going effort that improves in accuracy at each phase of the system life cycle. As the necessary software and hardware is nil. The proposed system is minimizes the time and effort of the data collection, answering queries and generate reports which results significant saving of the operating cost. Thus, the proposed system is economically feasible. TECHNICAL FEASIBILITY:It centers around the existing computer system (h/w, s/w…) and to what extent it can support the proposed system. The necessary H/W and S/W tools available in the organization and the software recommended support the system objects. Thus, it is technically feasible to and develop the proposed system. Our project is technically feasible, as we have taken PHP as our front end. Advantages of language are achieved as:• Good interface for user. • Allow changes as when required. • It is Rapid Action development tool, which makes processing fast. • Coding make technical processing easy. OPERATIONAL FEASIBILTY:- Users are inherently resistant to change and computers have been known to facilitate change. An estimate should be made of how strong a reaction the user is likely to words the Prince Singh B1992R13600024 Online Shopping Portal 26 development of a new system. As the proposed system is user is almost negligible. Therefore, resistance to the proposed system is nil. Based on the above analysis the recommended system is feasible. 3. ANALYSIS: It is detailed study of various operations performed by a system and their Relation Ship within and outside of system. It is the logical model of the system as data dictionary, data flow diagram etc. Also identifies the boundaries of the system and also determines whether or not a candidate system should considered other related system. COST AND BENEFIT ANALYSIS In the early days of computing, software costs computed small percentage of the overall computer based system cost. An order of magnitude error in estimates of software costs had relatively impact. Today, software is the most expensive element of virtually all computer- based system. For complex custom systems a large cost estimation error can make the difference between profit and loss. Cost overrun can be disastrous for the developer. To achieve reliable cost and effort estimates a number of options arise. 1. Delay estimation until late in the project. 2. Base estimate on similar projects that have already been completed. 3. Use relatively simple decomposition technique to generate project cost and efforts estimates. 4. Use one or more empirical models for software costs and efforts estimation Prince Singh B1992R13600024 Online Shopping Portal 27 RISK ANALYSIS Risk analysis and management are a series of steps that help a software team to Understand and manage uncertainty. Many problems can infected a software project. A risk is a potential problem- it might happen , it might not. But regardless of the outcome, it’s a really good idea of identity it, assess its probability of occurrence , estimate its impact, and establish a possibility plan should the problem actually occur For Risk Analysis firstly recognizing what can go wrong that is established , risks Are ranked, by probability and impact. Finally a plan is developed to manage Those risks with high probability and high impact 4. Design The design must be translated into a machine readable form. The code generation step perform this task. 5.TESTING and DEUGGING :“It is said that nothing is complete in itself. " After programming, we find many logical errors in the program. We test our system program when our system does not run successfully and we dose not find our system up to the user's requirements. Thus we can say that testing is must. If the user's requirements cannot fulfill, we use the Debugging Tools in our project and debug our project statement by statements, found our error and correct it. The testing process focuses on logic internal of the s/w, ensuring that all statements have been tested ,Dummy accounts can be used with varying access levels to make sure everyone has access to the right function and information and cannot access what they should not. Prince Singh B1992R13600024 Online Shopping Portal 28 In our project we too have gone through some problems but after testing and debugging, we found them and made them correct. Here we are mentioning some of our problems and the way we solve them. We were facing difficulty in connecting server, as we were not aware of the exact port of server. If port can correct Thus at last we start the server & client. We can say that testing & debugging is must because it improves the quality of our work and if same problem arise in future one can easily be guided rough these " TESTING AND DEBUGGING " PROJECT SCHEDULING PROJECT DEC JAN JAN FEB FEB /////////////////// INFORMATION COLLECTION FORM DESIGNING //////////////////////// //////////////////////// CODING Prince Singh B1992R13600024 Online Shopping Portal 29 ////////////////// ////// DOCUMENTATION ////////////////// ////// HARDCOPY PREPARATION Prince Singh B1992R13600024 Online Shopping Portal 30 HARDWARE CONFIGURATION: CPU Intel Core2Dual Processor RAM 256 MB 80 GB HDD SOFTWARE CONFIGURATION: OPERATING SYSTEM FRONT END WINDOWS-XP,7,8 NetBeans IDE 8.0.2 BACK END MYSQL PACKAGE MS-Word RECQUIREMENT ANALYSIS:- Prince Singh B1992R13600024 Online Shopping Portal 31 DATA FLOW DIAGRAM Prince Singh B1992R13600024 Online Shopping Portal 32 ER-DIAGRAM ADMIN Customer Prince Singh B1992R13600024 VENDOR Customer Online Shopping Portal 33 VENDOR Prince Singh B1992R13600024 Online Shopping Portal 34 Prince Singh B1992R13600024 Online Shopping Portal 35 Prince Singh B1992R13600024 Online Shopping Portal 36 Prince Singh B1992R13600024 Online Shopping Portal 37 Prince Singh B1992R13600024 Online Shopping Portal 38 Prince Singh B1992R13600024 Online Shopping Portal 39 Prince Singh B1992R13600024 Online Shopping Portal 40 Prince Singh B1992R13600024 Online Shopping Portal 41 Prince Singh B1992R13600024 Online Shopping Portal 42 Prince Singh B1992R13600024 Online Shopping Portal 43 Prince Singh B1992R13600024 Online Shopping Portal 44 Prince Singh B1992R13600024 Online Shopping Portal 45 Prince Singh B1992R13600024 Online Shopping Portal 46 Prince Singh B1992R13600024 Online Shopping Portal 47 Prince Singh B1992R13600024 Online Shopping Portal 48 Prince Singh B1992R13600024 Online Shopping Portal 49 Prince Singh B1992R13600024 Online Shopping Portal 50 Prince Singh B1992R13600024 Online Shopping Portal 51 Prince Singh B1992R13600024 Online Shopping Portal 52 Prince Singh B1992R13600024 Online Shopping Portal 53 Prince Singh B1992R13600024 Online Shopping Portal 54 Prince Singh B1992R13600024 Online Shopping Portal 55 Prince Singh B1992R13600024 Online Shopping Portal 56 Prince Singh B1992R13600024 Online Shopping Portal 57 TESTING Testability:Software testability is simply how easily a computer program can be tested. Since testing is so profoundly difficult, it pays to know can be done to streamline it. Sometimes programs are willing to do things that will help the testing process, and a checklist of possible design points, features, and so on can be useful in negotiating with them. The checklist provides a set of characteristics that leads to testable software are: • Operability. • Operability. • Controllability. • Decomposability. • Simplicity. • Stability. • Understandability. White Box Testing:White box testing sometimes called glass-box testing is a test case design method that uses the control structure of the procedural design to drive test cases. Using whitebox testing methods, The software engineer can drive test cases that: • Guarantee that all independent paths within a module have been exercised at least once. • Exercise all logical decisions on there true and false sides • Execute all loops at their boundaries and within their operational bounds. • Exercise internal data structure to assure their validity. Prince Singh B1992R13600024 Online Shopping Portal 58 Basic Path Testing:Basic path testing is a white box testing technique. The basic path method enables the test case designer to device a logical complexity measure of a procedural design and uses this measure as a guide for defining a basic set of execution paths. Test cases derived to exercise the basis set are guaranteed to execute every state in the program at least one time during testing. Some points about which some information is necessary before basis path testing are: • Flow graph notation. • Cycloramic complexity • Deriving test cases • Graph matrices. Black Box Testing:Black box testing, focus on the functional requirements of the software. That is, black box testing enables the software engineer to drive sets of input condition that will fully exercise all functional requirements for a program. Black box testing is not an alternative to white-box techniques. Rather, it is complementary approach that is likely to uncover a different class of errors than white-box methods. Black box testing attempts to finds errors in the following categories: • Incorrect or missing function. • Interface errors. • Errors in data structures or external data-base access Prince Singh B1992R13600024 Online Shopping Portal 59 • Performance errors. • Initialization and termination errors. Unlike white box testing, which is performed early in the testing process, black box testing tends to be applied during later stages of testing. Validation Testing:Validation succeed when software function in a manner that can be reasonably expected by the customer. The software has been validation to successfully the requirements. TESTING MEDHODOLOGY We follow linear sequential model: the linear sequential model suggest a systematic , sequential approach to S/W development that been at the system level and progresses through analysis , design, coding ,testing and support. Test Prince Singh B1992R13600024 Online Shopping Portal 60 Code Analysis Design Once code has been generated, program testing begins. The testing process focused on the logical internals of the software’s, ensuring that all statements have been tested ,and on the functional externals, that is conducting tests to uncover error and ensure that a define input will produce actual results that agree with required result. TESTING TECHNOLOGIES USED . LOOP TESTING: Loop testing is a technique that focuses exclusively on the validity of loop construct. TESTING GUIs: Graphical user interface present interesting challenges for S/W engineers because of reusable components provided as part of GUI development environment. UNIT TESTING: The module interface is testing to ensure at information properly follows into an out of the program unit under test. INTEGRATION TESTING: Once all modules have been unit tested “if they all work individually, why do you doubt that they ll work, when they we put them together?” Prince Singh B1992R13600024 Online Shopping Portal 61 VALIDATION TESTING: A final series a S/W tests validation testing may being . validation can be defined in many ways , but a simple definition is that validation succeeds when S/W in a manner that can be reasonably expected by the customer FUTURE WORK • This system will be available on an online plateform for 24 * 7 access to the people (users) and the administrator. • this system will suggets for search real esate accomodation . this system will support online search plot . Prince Singh B1992R13600024 Online Shopping Portal 62 CONCLUSION The central concept of the application is to allow the customer to shop virtually using the Internet and allow customers to buy the items and articles of their desire from the store. The information pertaining to the products are stores on an RDBMS at the server side (store).The Server process the customers and the items are shipped to the address submitted by them. The application was designed into two modules first Os for the customers who wish to buy the articles. Second is for the storekeepers who maintains and updates the information pertaining to the articles and those of the customers. The end user of this product is a departmental store where the application is hosted on the web and the administrator maintains the database. The application which is deployed at the customer database, the details of the items are brought forward from the database for the customer view based on the selection through the menu and the database of all the products are updated at the end of each transaction. Prince Singh B1992R13600024 Online Shopping Portal 63 References • References Books:Programing PHP…………….. Rasmus Lerdorf • Other Documentation and Resources:• Prince Singh www.Google.com B1992R13600024 Online Shopping Portal