Final Project Proposal
Final Project Proposal
: : :
Course Code
TABLE
:
OF
CONTENTS
Input to the project.............................................................8 Output of The Project..........................................................10 Analysis...............................................................................11 Process Logic 11 Data Flow Diagrams 13 Entity-Relationship Diagram 24 Database Tables 26 Testing 28 Limitations of Project..........................................................29 Tools/Platform, Languages To Be Used...............................30 Are you doing this Project for any Industry.........................35 Scope Of Future Application...............................................36
OBJECTIVE
There are following objectives of doing this project. To make Global To facilities product search To facilitate User Products available so that it can search for best
To help visitors to fetch a right product User can search for different products available User can search for different options available User can do online request posting etc User can search engine to look for different products available User can buy products on-line To increase bank transactions User can down load different forms etc
INTRODUCTION
Our vision is an Online Shopping System and enables all customers to customize the merchandize or service that they want. This vision that we bring to Online Shopping System. As the name implies, we would like to deliver unprecedented value products to you, be it in terms of price, or delivery or post-sales service or tailored products to suit your specific needs. We value your business and deem it a great privilege to serve you. We promise you the best, and more to come along the same lines. In this shopping site a user can log in and can register him and can search for products. Online Shopping System is a well-known company serving Indians and others, with a variety of electronic products which include laptop, hard disk, Pen drive, Cabinets and switches. For us, customer service is not just a credo, but a success strategy, since we have found our satisfied customers bringing us new customers, helping us grow without conventional promotional and advertising activity. It is this strategy and credo that we offer to you. Besides customer service, what drives us is our conviction, that the internet can transform the way we shop - save us time and money, and most importantly, help us get exactly what we want. Only you, our customer know what you want. Our business is to help you share that with us, so that we can increasingly find a closer match to it. Eventually, we would like to proactively notify you of what you may be interested in. In any event, our stores should be increasingly able to reflect the ability to fulfill your needs, uniquely and completely. We could call that our mission. Our vision is an Online Shopping System experience that is highly intuitive and interactive and enables all customers to customize the merchandize or service that they want. It is this vision that we bring to eshopping.com. As the name implies, we would like to deliver unprecedented value products to you, be it in terms of price, or delivery or post-sales service or tailored products to suit your specific needs. We value your business and deem it a great privilege to serve you. We promise you the best, and more to come along the same lines. 6
Project Category
OOP (OBJECT ORIENTED PROGRAMMING)
Object Oriented Programming is at the core of Java. All the Java programs are to at least some extent object oriented programming.
MODULE 5: PRODUCT
Every Product will have Product ID, Name, Model Number, Market Price, Own Price, Warranty and Image.
ONLINE SHOPPING SYSTEM Channel wise report a film All the film running on a channel Films made between particular date
PROJECT INPUT
The input to project can be classified in two different ways which are explained as below:-
In this the user gives all the relevant details for registering him to the site by filling up the user registration form. This form includes user name, user ID, user age, user address, user bank account details, user contact number etc are inputs provided by the user. These details are reviewed permanently in the database. and stored
10
ONLINE SHOPPING SYSTEM CATEGORIES : A store contains different categories, in this the administrator gives all the relevant details required for create/delete or modification on any category to a store by filling up the category form. This form includes category name, category ID, total number of Products/items it can handle, store name etc are inputs provided by the administrator. These details are reviewed and stored permanently in the database.
PRODUCTS: In this the administrator gives all the relevant details required for create/delete or modification on any Product to respective category by filling up the Product form. This form includes Product name, Product ID, category, Product price etc are inputs provided by the administrator. These details are reviewed and stored permanently in the database.
11
PROJECT OUTPUT
This project process all the input provided to it i.e. the user details, store details category details and Product details. After processing the business logic this project generates various reports such as follows: The main view contains the list of various stores available and a space for a registered user to login for finalizing the Product. As the store chosen by the visitor, a view containing the list of various categories is appeared in front of the user. A view containing list of various Product available for the user in a particular category. A view containing the complete details about any Product, on the basis of which a visitor makes a decision weather to finalize the Product or not. A view containing the details about the finalized Product by the user.
12
ANALYSIS
PROCESS LOGIC
ONLINE SHOPPING SYSTEMs main function is to manage and provide best Products available on the internet to a visitor of the site. ONLINE SHOPPING SYSTEM helps a visitor to browse through the available Products on the website. The whole process of the Product Management project goes as follows: The visitor visits the site and searches for required Product or item he can search for any Product according to price, expiry date, Store or category. The project maintains all the relevant details about any Product to attract the visitor. Visitor can select any Product by searching or surfing the site. If the visitor selects any Product then he is authenticated for his validity. The control now flows to the login page where only a valid user can login. If a user is already registered then he gives his user name and password. Then this password is verified by the user data source. If it founds a match in the data source then the welcome screen appears In front of user. If a user is not registered then he must first register himself before finalizing any Product. Any user can register him just by giving some essential details. These details are stored in the user database. If a Product is finalized by the user then the systems asks for the users bank account details for his/her payments. Now for the process followed by the administrator: The administrator performs the controlling functions for the project. He adds various stores to the database. Stores are just like departments it contains various categories. Administrator can add, delete or modify any store details. The store contains various categories; these categories are also added by the administrator. Categories i.e garments, electronic goods, books etc contains the actual Products for 13
ONLINE SHOPPING SYSTEM the visitors. These categories are added by the administrator. Administrator can add, delete or modify these categories as per the requirements. The main purpose of the administrator is to manage the various Products/items. The administrator assigns various Products available to their respective category. At any time he can add, delete or modify the details of any Product/item. Administrator can also view the details of various users, if he need to. If some Products are not available to the visitor due to some reason then the administrator can block that particular Product. The visitor can only view the details of unblock Products. If some Product is blocked then the visitor cannot view their details. Administrator generates various reports on the Products made by the users. This helps the higher authorities to evaluate the total revenue earned by the firm. The administrator can view the details about Products made by any user. This contains Product_ID, Product_price etc.
14
Administrator
Visitor
Registered User
Fig . DF D Le vel 0
15
Administrato r
3. Add/Edit Product
Fi g. DF D Ad mi n Ta sk Le ve l1
16
Administrato r
Fi g. DF D Ad d St or e Le ve l2
17
Administrator
Fi g. DF D Ed it St or e Le ve l2
18
Administrat or
Fi g. DF D Ad d Ca te go ry Le ve l2
19
Fi g. DF D Ad d Ca te go ry Le ve l3
20
Administrato r
Fi g. DF D Ed it Ca te go ry Le ve l2
21
Fi g. DF D Ad d Pr od uc t Le ve l2
22
Administrator
Fi g. DF D Ad d Pr od uc t Le ve l3
23
Fi g. DF D Ed it Pr od uc t Le ve l2
24
2. Block Product
Visitor
25
E-R DIAGRAM
Nam e
Password
Nam e
Id
Addres s
Administrator
Create s
Client
Password
Contact no.
Nam e
Password
Nam e
Id
Addres s
Administrator
Create s
Visitor
Password
Contact no.
26
Nam e
Password
Nam e
Id
Password
Administrator
Instruct
Operator
Addres s
Contact no.
Id
Passwor d
Name
Descriptio n
Operator
Interacts
Client
Name
Contact no.
Duration
27
Database Tables
User Table
Field
User_Name Password First_Name Mid_Name Last_Name Address City State Pin_code Email Phone no Account no
DATA
TYPE
DEPENDENCIES
PRIMARY NOT NULL NOT NULL NOT NOT NOT NOT NOT NOT
VARCHAR2(30) VARCHAR2 (15) VARCHAR2 (20) VARCHAR2 (10) VARCHAR2 (20) VARCHAR2 VARCHAR2 VARCHAR2 NUMBER VARCHAR2 NUMBER NUMBER
NULL
DATA TYPE
NUMBER(5) VARCHAR2(50)
DEPENDENCIES
PRIMARY NOT NULL
Category
FIELD
Category_ID Category_name Store_ID
DATA
TYPE
DEPENDENCIES
PRIMARY NOT NULL FOREIGN KEY
28
Product
Field
Product_ID Category_ID Name Description Price Quantity
DATA TYPE
NUMBER(10) NUMBER(5) VARCHAR2 VARCHAR2 NUMBER NUMBER
DEPENDENCIES
PRIMARY KEY FOREIGN KEY NOT NULL NOT NOT
NULL NULL
Order Table
Field
Order_ID Contact_Name Delivery_Address Name Quantity Expiry Date Product ID Category ID Price Total_Amount
DATA
TYPE
DEPENDENCIES
PRIMARY NOT NULL NOT NULL NOT NULL NOT NULL
NUMBER VARCHAR2(100) VARCHAR2 VARCHAR2 NUMBER DATE NUMBER NUMBER NUMBER NUMBER
NOT NOT
NULL NULL
29
TESTING
Testing is the filter to catch defects before they are discovered by the customer or end user. Every time a user runs the program, he/she generates a Test-case. We tried the test cases to find the defects first since software development is a human activity and there may be potential error. So testing before the product is delivered helped us to assure the quantity and saved resources. Objective of testing is to find errors, demonstrate the software functions that satisfy the specification, reduce the number of error detected by costumer, and have confidence in the software system. A good test always tries to discover undetected errors and is successful when errors are found since zero defects is not possible. There is always a condition or usage that can lead to an incorrect behavior. Using the test data following test run are carried out: 1) Unit test 2) System test
UNIT
When the programs have been coded and compiled and brought to working conditions, they must be individually tested with the prepared test data. Any undesirable happening must be noted and debugged (error corrections).
TEST:
SYSTEM TEST: After carrying out the unit test for each of the programs of
the system and when errors are removed, then system test is done. At this stage the test is done on actual data. The complete system is executed on the actual data. At each stage of the execution, the results or output of the system is analyzed. During the result analysis, it may be found that the outputs are not matching the expected out of the system. In such case, the errors in the particular programs are identified and are fixed and further tested for the expected output.
30
LIMITATIONS OF PROJECT
For ONLINE SHOPPING SYSTEM system must be web based The System requires persistent data. The System can only be deployed on server operating system. An IBM zSeries or equivalent or higher configuration server is required. The System uses HTTP 1.1 protocols. IE 6.0 or compatible browser is required to access the system.
31
32
ONLINE SHOPPING SYSTEM ENTERPRISE JAVABEANS (EJB) CONTAINER 1) Manages the execution of enterprise beans for J2EE applications. Enterprise. 2) Beans and their container run on the J2EE server. WEB CONTAINER It manages the execution of JSP page and servlet components for J2EE applications. Web components and their container run on the J2EE server.
SOFTWARE SPECIFICATIONS
1. 2. 3. 4. 5. OPERATING SYSTEM ENVIRONMENT FRONT-END TECHNOLOGY BACK-END
Windows 2000, NT, XP prof., Vista, Windows 7 Java Java HTML-Web Browser (Internet Explorer, Google chrome etc.) JSP, Servlets MySQL
33
HARDWARE SPECIFICATIONS
CLIENT SERVER Recommend Minimum Recommended ed 850MHz 400MHz 1 GHZ 2000pro 1024Mb 10.3Gb Extra disk Win9X 256Mb 4.3Gb hard Tape drive Win2000ServerEdition 1Gb 40Gb Dat drive
DEVELOPMENT LANGUAGES
JAVA
Java language was developed by Sun Microsystems in 1991. Java is a platform independent object oriented programming language. When you are writing programs, you always consider where this program is finally going to be executed. For instance, if the program is going to be executed on windows platform, you use the Microsoft Foundation Classes or if it is a Mac machine, then you use the Mac OS Toolbox. Also, while finally implementing the programs you insure that along with the source code the compiler has also been sent as every machine uses some or other kind of processor, and it becomes necessary to compile your program according to the destination machines processor. It would be virtually impossible to implement the applications on the internet, if we imagine the same scenario there because you dont know where your program is finally going to be downloaded and run. In order to counteract this problem java has an inbuilt mechanism called JVM (Java Virtual Machine) which makes your application compatible to the clients machine and your program can run on any machine on the internet. Java apart from being object oriented, and providing various features for the internet programming has many more features which makes it distinctively an appealing language.
1) Architecture Neutral
34
HTML
Short for Hyper Text Markup Language, the authoring language used to create documents on the World Wide Web. HTML defines the structure and layout of a Web document by using a variety of tags and attributes. HTML is used to define the content and sketch of the page. Its tags is used inside the codes of Java server pages(JSP) directly in this project.HTML is a client-side technology, it means an HTML document is processed entirely by the client or browser. Using HTML tag we can pass the parameters or query-string variables directly from one page of jsp to another page. Actually HTML is not a programming language, but it is used in jsp for all the above reasons.
JAVA SERVER PAGES (JSP) Java Server Pages is a technology for developing web pages that include dynamic content. Unlike a plain HTML page, which contains static content that always remains the same, a JSP page can change its content based on any number of variables items, including the identity of the user, the users browser type, information provide by the user, and selection made by the users browser type, information provide by the user, and selection made by the user. A JSP page contains standard markup language elements, such as html tags, just like a regular web page. However, a JSP page also contains special JSP elements that allow the server to insert dynamic content in the page. JSP elements are widely used for variety of purposes, such as retrieving information from a database or registering user preferences. When a user ask for a JSP page, the server executes the JSP elements merges the results with the static parts of the page, and sends the dynamically composed page back to the browser.
35
ONLINE SHOPPING SYSTEM driver. JDBC classes and interfaces defined in the package java.sql constitute the JDBC API. The JDBC interface is a pure java API used to execute SQL statements. The JDBC provides a set of classes and interfaces that can be used by developers to write database applications. Basic JDBC interaction, in its simplest form, can be broken down into four steps: Open a connection to the database Execute a SQL statement Process the results Close the connection to the database
36
37