Online Shopping Portal
Online Shopping Portal
Online Shopping Portal
PROJECT REPORT
ON
ONLINE SHOPPING PORTAL
IN
ORACLE DATABASE & PHP
Under the Guidance of
Mr. Amit Bhatia
Submitted to : Submitted By :
Mr. Vijay Choudhary Ankur Sharma
H.O.D.(Computer Engineering) IV Year VII Sem.
Dept. of Computer Engineering Computer
SMCET, Phagi, Jaipur Engineering
SMCET, Phagi, Jaipur
1. INTRODUCTION
2. SOFTWARE DEVELOPMENT LIFE CYCLE
3. ABOUT THE CURRENT SYSTEM
4. HARDWARE & SOFTWARE REQUIRMENTS
5. FRONT END DETAILS
6. BACK END DETAILS
7. DATA FLOW DIAGRAMS
8. E-R DIAGRAMS
9. USER REQUIRMENT
10. FORM LAYOUTS
11. DATABASE STRUCTURE FOR ONLINE SHOPPING PORTAL
12. LIMITATIONS
13. CONCLUSIONS
14. BIBLIOGRAPHY
INTRODUCTION
Objective:
The objective of project on Online Shopping Portal is to developing a GUI based
automated system, which will cover all the information Related to the all products which is
used in our daily life. For example – Mobiles Phones, Laptops, Clothes, Books, Electronic
Items and many more. So by this GUI based automated system a user want to purchase
something then it only a mouse click away to purchase these products.
Before Login
Login
Register
Forget Password
Administrator Login
About Us
Contact Us
After Administrator Login
Edit Website Details
Add Brands
Add Category
Add Items
Delete Brands
Delete Category
Delete Items
Manage User
• See Users
• Users Shopping
• Add Users
• Delete Users
Logout
After User Login
My Profile
The shopping portal that I have build for our store makes use of several advance
features that the cart contain all the selected products until checkout and My Shopping by
which user can track their previous shopping on this portal. For doing so shopping portal
uses a Database by which all these information stored in this database and when required
then it is fetched from it. So I use Oracle Database in this project.
So this shopping portal contains dynamic effects by using this database. Some parts
of this project which use database are following:
• Firstly when user Register an account on this website the user give their information
which are stored in database.
• Then when users want to login on this website then they give their username and
password as they choose at registration time, if both are matched with database’s
username and password then user can successfully logged in the website otherwise
Access Denied.
• The Objects which users can see on homepage, after login page, buy products page are
also come from database.
• Now After login user can modify their profile and password. The modified profile
details and password details altered in the database.
• In Buy Products Section Product and Their Prices also fetched from database’s table.
When user select a product and push Add to cart then items added to database’s cart
table.
• Then in My Cart section the products displayed which are in the cart table of the
database following by user.
• Checkout section takes the carts item and their total price and then payment details are
given by the user and these details store in separate database table. After Successful
entry in this table users cart empty automatically because all items purchased by him.
• In My Shopping section the products a user purchased are displayed.
The software development life cycle, as outlined by Edward Yourdon in his book
Modern Structured Analysis (1989) has been followed in this project with minor
modifications. The modified life cycle is shown overleaf:-
2) SYSTEMS ANALYSIS
The objective of the system analysis activity is to develop structured system
specification for the proposed system. The structured system specification should describe
what the proposed system would do; independent of the technology, which will be used to
implement these requirements. The structured system specification will be used to
implement these requirements. The structured system specification will be called the
essential model (also know as logical model).
The essential model may itself consist of multiple models, modeling different aspect
of the system. The data flow diagrams may model the data and there relationships and the
state transition diagram may model time dependent behavior of the system. The essential
model thus consists of the following.
• Context diagram
• Leveled data flow diagrams
• Process specification for elementary bubbles
• Data dictionary for the flow and stores on the DFDs.
3) PRELIMINARY DESIGN
The activity deals with certain design issues, which are to be finalized in
consultation with the user. The two most important design issues of relevance to the user are
the automation boundary and the human –machine interface. The output of the activity is
the user implementation model. The major part of the user implementation model is the
4) SYSTEM DESIGN
System design involves transformation of the user implementation model into
software design. The design specification of the proposed system consists of the following:
• Database scheme
• Structure charts
• Pseudo codes for the modules in structure charts
5) IMPLEMENTATION
This activity includes programming, testing and integration of modules into a
progressively more complete system. Implementation is the process of collect all the
required parts and assembles them into a major product.
6) TEST GENERATION
This activity generates a set of test data, which can be used to test the new system
before accepting it. In the test generation phase all the parts are come which are to be tested
to ensure that system does not produce any error. If there are some errors then we remove
them and further it goes for accepting.
The project Online Shopping Portal System is GUI based system so that it is easy to
handle. It also increases the efficiency of the end user, because it will reduce the redundant
job, which is tedious to complete. The Online System also has automated capability to
complete job, so it reduces the work manually.
4) Unplanned working
The manual system lacks the element of planned working. Records are not
properly maintained. This creates a lot of problems at times like during information retrieval
and storage.
6) Accuracy
The manual system lacks accuracy in working and a number of operations
may be performed incorrectly. The computations that are done in the organization may be
incorrect and whatever are generated in the system may be inaccurate.
7) Reliability
The reliability of a manual system is considered to be low because of the
above given reasons including the fact that ‘To error is human’. Any task that is performed
by men, always contain the risk of errors.
8) Redundancy of information
In manual system, particular information may be stored at a number of
places, lending to redundancy. Redundancy of data or information creates a number of
problems storage space is wasted; changes at one place are to be made at a number of places
and so on.
7) Accuracy
The level of accuracy in the new proposed system would be higher. All operations
and computations would be done correctly and this will ensure that whatever information is
coming from the center, it is accurate.
At Developer Side
During system development, i have to design both static and dynamic website
interfaces, create website functions and a database system, edit photos and pictures, so its
has a set of software and hardware requirements.
Hardware Used Software Used
• Intel Dual Core Processor • WAMP SERVER
• 160 GB Hard Disk Drive. • ORACLE 10g Database
• 1GB RAM. • NOTEPAD
• O.S. – Windows XP SP2 • MS PAINT
• O.S. – Windows XP
Front End tool is used for give a Graphical user interface to system. By this we can
make a system user friendly and more capable. I have chosen PHP as front end tool.
Because it is an Open Source Technology, freely available and more familiar with any type
of database.
ABOUT PHP:
PHP: Hypertext Preprocessor is a widely used, general-purpose scripting
language that was originally designed for web development to produce dynamic web pages.
For this purpose, PHP code is embedded into the HTML source document and interpreted
by a web server with a PHP processor module, which generates the web page document. As
a general-purpose programming language, PHP code is processed by an interpreter
application in command-line mode performing desired operating system operations and
producing program output on its standard output channel. It may also function as a
graphical application. PHP is available as a processor for most modern web servers and as
standalone interpreter on most operating systems and computing platforms.
PHP stores whole numbers in a platform-dependent range. This range is typically
that of 32-bit signed integers. Unsigned integers are converted to signed values in certain
situations; this behavior is different from other programming languages. Integer variables
can be assigned using decimal (positive and negative), octal,
and hexadecimal notations. Point numbers are also stored in a platform-specific range. They
can be specified using floating point notation, or two forms of scientific 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. These are typically created by functions from a particular
extension, and can only be processed by functions from the same extension; examples
include file, image, and database resources. Arrays can contain elements of any type that
PHP can handle, including resources, objects, and even other arrays. Order is preserved in
lists of values and in hashes with both keys and values, and the two can be
intermingled. PHP also supports strings, which can be used with single quotes, double
quotes, or heredoc syntax.
Back end part of a system is more important because it controls all the internal
process of a system. I have choose oracle database as back end. Because it is word’s Most
Capable relational database and provide more security than others.
ABOUT ORACLE:
The Oracle Database is a relational database management system (RDBMS). An
Oracle database system—identified by an alphanumeric system identifier or SID—
comprises at least one instance of the application, along with data storage. An instance—
identified persistently by an instantiation number (or activation id:
SYS.V_$DATABASE.ACTIVATION#)—comprises a set of operating-
system processes and memory-structures that interact with the storage. Typical processes
include PMON (the process monitor) and SMON (the system monitor).
Users of the Oracle databases refer to the server-side memory-structure as the SGA
(System Global Area). The SGA typically holds cache information such as data-
buffers, SQL commands, and user information. In addition to storage, the database consists
of online redo logs (or logs), which hold transactional history. Processes can in
turn archive the online redo logs into archive logs (offline redo logs), which provide the
basis (if necessary) for data recovery and for some forms of data replication.
The Oracle DBMS can store and execute stored procedures and functions within
itself. PL/SQL (Oracle Corporation's proprietary procedural extension to SQL), or the
object-oriented language Java can invoke such code objects and/or provide the
programming structures for writing them.
The Oracle RDBMS stores data logically in the form of tablespaces and physically
in the form of data files ("datafiles").[5] Tablespaces can contain various types of memory
segments, such as Data Segments, Index Segments, etc. Segments in turn comprise one or
more extents. Extents comprise groups of contiguous data blocks. Data blocks form the
basic units of data storage.
Registration
reply Reque
st
Operation/dat
a processing
Authenticati
onn
Online
Login / Shopping Products /
Index Portal Cart /
Shopping
Database
(Approved/Reject) (Acknowledgem
ent)
(Acknowledgem Payment
ent) /
Submissi
Payment /
Checkout
For Registration
User
Details
Register
Form
Username Exists
Databa
se
Sucess
Login
Form
User Access
Request Denied
Not Authenticate
Databa
se
Authenticate Buy
Products
User
Request
Databa
se
User’s
Checkout
Cart
Payment
Details
Note: These are some of the basic requirements, which the system should provide, but
Members Table:
Serial No. Field Name Data Type
1. FNAME Varchar2(25)
2. LNAME Varchar2(25)
3. EMAIL Varchar2(50)
4. CONTACT Varchar2(15)
5. USERNAME Varchar2(10)
6. PASSWORD Varchar2(45)
Although I have tried to do the best and try to do all the things that are possible in an
online System, but still the system contains some of the limitations.
The reason of these limitations is the time constraints. Time is the major problem. I
have to deliver the project in a particular time period. That’s way I have to leave
some of the topics that actually I want to cover, I am still working on this software
and my next goal is to remove these limitations and develop a more efficient and
elegant system.
1. This project does not give the information about the stock (quantity) present
within the shop.
2. This project does not create monthly, yearly Reports.
After removing these and other minor limitations I hope this project will very efficient and
effective.
CONCLUSION :
Neither the help nor the beautification of the problem says anything. It is the
common logic, which is applied with some common sense, which blends together to
develop the mental approach of person.
BIBLIOGRAPHY
5) Online at www.w3schools.org