You are on page 1of 36

Chapter-1

Introduction to Company
Solitaire Infosys Pvt. Ltd.

Solitaire Infosys Pvt. Ltd. is an acclaimed IT service provider contributing its part in the
development of many businesses around the globe. We socialize with our clients to get a
superior cognizance of their business and requirements and help them in fabricating websites
and applications for their business. Founded in 2011 by a dynamic duo with the same aim and
zeal, we have come a long way in satisfying our clients. Infosys Technologies has been
ranked as the tenth best company in terms of leadership. Infosys is the only Indian Company
to be ranked among the Top 20 Companies in the world in this category. Infosys has a global
footprints with 63 offices and development centres around the world. With 11,822
employees. It operates in different sectors such as:- Industries, IT services, Engineering
services, consulting services, BPO services, an Product and Platforms. Solitaire company has
three main offices in the world- In Canada, US, India.

Directors: Mr. Rajesh Sharma & Mr. Jogvinder Singh

Address: C-110, Industrial Area, Phase 7, Sahibzada Ajit Singh Nagar, Punjab 160055

1
Chapter-2

Inroduction to Project

2.1 Overview:

“GOLD JEWELLERY ” is an online fashion that allows users to check for various products
available at the online store and purchase online. The project provides a list of products
displayed online in various models and designs. The user may browse through these products
as per categories. If the user likes a product, he may add it to his shopping cart. User needs to
register on the site before checking out so that he can login using same id and password next
time. User can select any payment option that he wish to like cash on delivery. User receives
a copy of the shopping receipt on his email id once the transaction is successful. Here, I have
use PHP to make the entire frontend of the website. In addition, MYSQL serves as a backend
to store products lists and inventory data. Thus, the online fashion products project brings an
entire products shop online and makes it easy for both buyer and seller to make fashion
products deals.

2.2 Existing System:


When buying any fashion product from any local shop, we pay the retail price with taxes
included. But while buying from an online store, no tax is applicable, as the products is
directly delivered from the manufacturer. So there is no middle cost. Whenever it is necessary
to buy jewellery, one must go from one shop to another. As a result, a good amount of money
is wasted on transportation. When buying products from market, dealing with annoying
salesmen. As a result, sometimes customer is not comfortable while dealing with annoying
salesmen.

2.3 User Requirement Analysis:

2.4 Feasibility Study:


From the inception of ideas for software system, until it is implemented and delivered to
customer and even after that the system undergoes gradual developments and evaluations, the
software is said to have life cycle composed of several phases.

2
At the feasibility stage, it is desirable that two or three different configuration will be pursed
that satisfy the key technical requirement which represent different level of ambition and
cost.

Feasibility is the determination of whether or not a project is worth doing. A feasibility study
is carried out select a best system that meet performance requirements. The data collected
during primary investigation examines system feasibilities that is likelihood that the system
will be beneficial to the organization. Four tests for feasibility study are as follows:-

Technical Feasibility: This is concerned with specifying equipment and software that will
successfully satisfy the use considerably, but might include:-

 The feasibility to produce output in a given time because system is fast enough to
handle multiple users.
 Response time under certain circumstances and ability to process a certain volume of
transaction of a particular speed.
 Feasibility to communicate data to distant location.

Economical Feasibility: Economic analysis is the most frequently used technique used for
evaluating the effectiveness of a proposed system. More commonly known as cost/benefit
analysis, the procedure is to determine the benefits and savings that are expected from a
proposed system and compared them with cost. Though the cost of installing the system may
appear high, it is one time investment. The resulting benefits is that automation results in
turnaround time. The resulting cost/benefit ratio is favourable.

Operational Feasibility: It is mainly related to human organizational as social aspects. The


points to be considered are - The system interface is standard, user friendly and provides
extensive help. Hence, no special training is required.

Social Feasibility: Social feasibility is determination of whether a proposed project will be


acceptable to people or not, so this project is totally socially feasible.

2.5 Objective of the Project:

The objective of online shopping website is to provide a website which control the
selling of items through online. The user will consume less amount of time through

online shopping rather visiting and shop directly.

3
The user can buy products by sitting anywhere anytime around the world. It’s a 365/24
service. The transactions will be taken care by the website all the time. Storing of data is
easy .This website is user friendly and easy to use .All the important data will be stored
in the database and it avoids miscalculation. The ordered products will be delivered
directly to their address specified while shopping.

The online shopping website “Gold Jewellery” does not have items in their warehouse.
They order it from the distributor and dispatched to the customer. Admin provide a
unique username and password to each customer through which she can login. Only

admin has the authority to add, delete and update the items from the database .

It also helps the customer to buy all kind of fashion products by sitting at home as well as
at reasonable prices. Along with the customer, this website also help the admin of the
website, to easily keep the record of products that are provided by this website like
different kinds of nackles , earrings , rings , nosepin , bracelet, armlet, head-locket and
anklet etc.

4
Chapter-3
Product Design
3.1 Product Perspective

3.3 Product Functions


3.3 User Characteristics: There are 3 types of users of this website:
 General Public
 Customers
 Administrator

General Public: General public can use the system to see the product, their prices and
quantity available. General user cannot buy the products.

Customers: Customers use this website for viewing and buying the products. Customers
can also write feedback for product and services.

Administrator: Administrator can add, update, delete and provide services to the
customer. Administrator can also see the feedback given by the customer.

3.4 Constraints
The following constraints are necessary to be followed:
 The interface will be in English only.
 The system is working for single server.
 There is no maintainability or backup so availability will get affected.
 The system is a single user system.
 GUI features available.
3.5 DFD
A Data Flow Diagram ( DFD ) is a graphical technique which allows effectively model and
analyze the information processes and systems. DFD visualizes the flow of data and neatly
represents the information processing in a process depending on the inputs and outputs. DFDs
display where the data are stored, from where they are come and where they go to. Often the
DFD is created as a detailed plan for the further creation of a system. DFDs are ideal tool for
modeling processes, describing business events, interactions and functional requirements, for

5
demonstration and explaining the course and passage of information in a process, and also for
structured design and displaying physical systems involving data storage and transfer.

When designing the DFDs, use the following major objects:

 Process object - represents a task which processes the data within application or performs
actions on their base.
 Multiple Process object - represents the set of sub-processes.
 Data Flow object - represents the data movement within the application, the arrows depict
direction of this movement.
 Data Store object - represents where the data are stored.
 External Entity object - represents the entity outside the application which interacts with
this application via entry point.

This example shows the Data Flow Diagram for online store and interactions between the
Visitors, Customers and Administrator:

Fig:

6
3.6Table Structure

3.6.1 Admin Login Table:

Fig:

3.6.2 Add Category Table:

7
Fig:

3.6.3 Add Subcategory Table

3.6.4 Add Product Table:

8
Fig:

3.6.5 User Login/Signup Table:

3.6.6 Add to Cart Table:

9
3.7 ER Diagrams
An entity relationship diagram (ERD), also known as an entity relationship model, is a
graphical representation of an information system that depicts the relationships among
people, objects, places, concepts or events within that system. An ERD is a data
modelling technique that can help define business processes and be used as the foundation for
a relationaldatabase.

Main components of an ERD:


ERDs are generally depicted in one or more of the following models:
 A conceptual data model, which lacks specific detail but provides an overview of the
scope of the project and how datasets relate to one another.
 A logical data model, which is more detailed than a conceptual data model,
illustrating specific attributes and relationships among datapoints. While a conceptual
data model does not need to be designed before a logical data model, a physical data
model is based on a logical data model.

10
 A physical data model, which provides the blueprint for a physical manifestation --
such as a relational database of the logical data model. One or more physical data
models can be developed based on a logical data model.
There are three basic components of an entity relationship diagram:
 Entities: which are objects or concepts that can have data stored about them.
 Attributes: which are properties or characteristics of entities. An ERD attribute can
be denoted as a primary key, which identifies a unique attribute, or a foreign key,
which can be assigned to multiple attributes.
 Relationship: The relationships between and among those entities.

3.8 Assumption and Dependencies


The product does require back-end database server MySQL for storing the username and
password for different types of user of the system as well as various databases regarding
various insurance information.

Assumptions:

 User must be trained for basic computer functionalities.


 User must have the basic knowledge of English.
 The system must be able to respond to database software within reasonable time.

3.9 Specific Requirements

3.9.1 Hardware Required

 Micro-processor
 RAM(Random Access Memory)
 Hard Disk
 Internet Enabled Computer

3.9.2 Software Required

 Operating System: Windows 7


 PHP7, XAMPP, Notepad++
 Web browser: Google Chrome

11
Chapter-4
Development and Implementation
4.1 Introduction to Languages
4.1.1 Front end:

The front end is designed with help of PHP, HTML and CSS:

PHP: Hypertext Preprocessor (or simply PHP) is a server-side scripting language


designed for web development but also used as a general-purpose programming language. It
was originally created by Rasmus Lerdorf in 1994, the PHP reference implementation is now
produced by The PHP Group. PHP originally stood for Personal home page, but now its
stands for the recursive acronym PHP: Hypertext Preprocessor.

 PHP is a server side scripting language that is embedded in HTML. It is used to


manage dynamic content, databases, session tracking, even build entire e-commerce
sites.

12
 It is integrated with a number of popular databases, including MySQL, PostgreSQL,
Oracle, Sybase, Informix, and Microsoft SQL Server.
 PHP Syntax is C-Like.
 Using PHP, you can restrict users to access some pages of your website.
 PHP is pleasingly zippy in its execution, especially when compiled as an Apache
module on the Unix side. The MySQL server, once started, executes even very
complex queries with huge result sets in record-setting time.

Charcteristics of PHP

Five important characteristics make PHP's practical nature possible −

 Simplicity

 Efficiency

 Security

 Flexibility

 Familiarity

HTML: HTML stands for Hyper Text Markup Language. It is used to create web pages with
the help of different tags available. It is the most simple and easy language to create attractive
web pages. In HTML, each tag describes different content of document. All HTML work is
shown in web browsers, that shows layout of the web page designed.HTML is widely used
by designers as it is simple and efficient language.

CSS: Cascading Style Sheet is used for designing. It is used to style web pages developed in
HTML and XHTML, but the language can be used to develop any type of XML document,
including plain XML, SVG and XUL. CSS separates document content from document
presentation. It also includes elements such as the colours, layout, and fonts. This separation
improves accessibility, providing control and flexibility in the specification of presentation

13
characteristics, enabling multiple pages to reduce complexity, share formatting and repetition
in the content.

4.1.2 Back End

The back end is designed using MySQL:

MySQL: MySQL is used to design the databases. In MySQL, the SQL stands for Structured
Query Language. It is most popular open source Relational Database or Sql database
management system. It is one of the best RDBMS used for developing web based software
application MySQL Database. MySQL is very fast, simple and easy to use RDBMS used by
many small and big businesses. It is marketed, developed, and supported by MySQL AB,
which is a Swedish organization. The reasons why MySQL is soo popular are as follows:

 MySQL is easy to use and is a open-source license and thus it is free of cost. It is
very powerful program and have its own right.
 Apart from this it handles a large subset of the functionality of almost all expensive
and powerful database packages. MySQL works on several operating systems.
 It includes many languages such as C, C++, PERL, JAVA, PHP, etc. MySQL has a
quick working ability and still works well with large data sets. MySQL is very
friendly to PHP.
 MySQL is customizable. The open-source license allows programmers to modify
MySQL software to fit their own specific environment.

4.2 Any other Supporting Languages


JAVASCRIPT: This programming language is mainly designed for developing of network
centered applications. It is complimentary to JAVA and integrated with HTML, that’s why it
is easy to use. It is open and cross platform. A developer must learn java script to program

14
behavior of web pages. As a multi-paradigm language, JavaScript supports event-driven,
functions, and imperative (including object-oriented and prototype-based) programming
styles. It has an API for working with text, arrays, dates, regular expressions, and basic
manipulation of the DOM, but the language itself does not include any I/O, such as
networking, storage, or graphics facilities, relying for these upon the host environment in
which it is embedded.

J-QUERY: jQuery is not a language, but it is a well written JavaScript code. As quoted on
official jQuery website, "it is a fast and concise handling, animating, and Ajax interactions
for rapid web JavaScript Library that simplifies HTML document traversing, event
development". jQuery is the most popular library for JavaScript. In this course, you will learn
how to use jQuery to add additional power and interactivity to your web pages. You’ll see
how to take advantage of jQuery in your web pages, how to work with the HTML document,
and even make server-side calls.

Using jQuery, the JavaScript programmer has access to many of the powerful tools common
to desktop and mobile developers use, like building event handlers and using effects for a
responsive UI, the ability to manipulate your user interface without having to refresh the
entire page, and creating asynchronous calls to keep your web application responsive. With
jQuery, you’ll be able to take your web pages to the next level!

AJAX: AJAX stands for Asynchronous JavaScript and XML. It is a complete game


changer when it comes to user experience. Normally, web pages are loaded one at a time.
When a user wants more content, they click a link. With AJAX, a user can click something
and content can be loaded into the page, using JavaScript, without reloading the entire
page. Essentially, the user does some event that fires off an AJAX HttpRequest after an
XMLHttpRequest object has been created. The server then processes the HttpRequest, and
returns the data back to the browser. Now without JavaScript, it would be entirely worthless
unless you were posting data to a database. We will set up our AJAX so it calls a JavaScript
function, known as a Callback Function, to use our returned data from the server in the next
tutorial.

15
4.3 Screen Shots

4.3.1 Admin Module

4.3.1.1 Login Page:

Admin Login

16
:

4.3.1.2 Dashboard:

17
4.3.1.3 Category:

4.3.1.4 View Category:

18
4.3.1.5subcategory:

4.3.1.6view subcategory:

19
4.3.1.7 Product Detail:

20
4.3.1.8 product view:

21
22
4.3.2UserModule:

4.3.2.1 Login/Signup:

23
4.3.2.2 Nackles:

4.3.2.3 Earrings:

24
4.3.2.4 Rings:

4.3.2.5 Bangles:

25
4.3.2.6 Nosepin:

4.3.2.7 Bracelet :

26
4.3.2.8 Armlet:

4.3.2.9 Head-Locket:

27
4.3.2.10 Anklet :

28
4.3.3 Database:

4.3.3.1 shopvilla Database Structure:

Fig:

29
4.3.3.2 Admin Login:

Fig

4.3.3.3 Add Category:

Fig:

4.3.3.4 Add subcategory:

30
Fig:

4.3.3.5 User Login/Signup:

Fig:

31
4.3.3.6 Add to Cart:

4.4 Testing
Software testing is process used to assess the quality of computer software. It is a technical
investigation performed to provide information about the quality of the product or service
under test, with respect to the context in which it is developed to operate.

4.4.1 Testing Methods

There are 2 types of testing done in a broader category via white box testing and black box
testing. These two methods are used by a test engineer while designing the Test cases.

32
 Black Box Testing: Black box testing works with the software as a black box without
any information about the internal behaviour. Its objective is to test the functionality
corresponding to the requirements. Hence the testing engineer work is only to input
data and afterwards he sees the output from the test object. This kind of testing
requires through test cases to be provided to the tester who verifies the given input,
the output value is the same as the expected value specified in the test cases.
 White Box Testing: Unlike Black Box testing, in white box testing internal parts are
tested, once the tester has the access to the structure and coding area of the system.
White box testing is done to check whether code correctly implemented or not,
because that’s how system will work if it is internally correct.

4.4.2 Levels in Testing

Testing levels are given below

1. Unit Testing In unit testing, each unit is tested to verify in detail the designing of the
product developed, whether correctly implemented or not, unit testing generally includes
constructors and destructors. These testing tests the smallest modules of the software
component in the system developed

2. Integrating Testing Integrating Testing exposes the defects in interfaces and interaction
between components that are integrated Large modules of the system are tested in a way so
that they can work together as a system and are tested until whole software works as a
system.

3. System Testing Before delivering of the final version of the system, alpha and beta testing
are also done additionally.

 Alpha Testing: This testing is done at server side or we can say at the developer’s end,
this is an actual testing done with potential users or as an independent testing process at
server end. Alpha testing is done to internally acceptance of software before beta testing is
done.

 Beta Testing: Beta testing is done after performing alpha testing, versions of a system or
software known as beta versions are given to a specific audience outside the programming
team. This is done to further test the minor bugs and faults of the system that can come while
using the system, sometimes these versions are made available to open public to see the

33
feedback to see the future scope of the system. Finally at the end acceptance testing is done
by the end user that whether to accept the system or not.

4.4.3 Test Data Cases:

Case 1: In login module, various validations have been introduced so there are no
possibilities for errors.

 Username and Password must be entered i.e. they can’t be kept null or empty.
 Username and Password must be matched with the values stored in the database.

Case 2: In registration module, there are some important fields that cannot be kept empty

 Important fields are marked with “*” so user can know that these fields can’t be left
empty or null.

Chapter-5
Conclusion and Future Scope
5.1 Conclusion
I have successfully implemented the site ‘shopvilla’. With the help of various links and tools,
we have been able to provide a site which is live and running on the web. I have been
successful in my attempt to take care of the needs of both the customers as well as the
administrator. The whole system activities are divided into two parts like Admin and
customer. Each one has their own role to perform and system respond accordingly.
34
PhpMyadmin is used for storing data of admin, and customer. For implementing the system
PHP and HTML programming is used.

5.2 Future Scope

REFERENCES
 www.coratlane.com
 www.candare.com
 www.amazon.com

35
APPENDIX

36

You might also like