You are on page 1of 71

Fish Mart

INTRODUCTION

Page 1
Fish Mart

1. INTRODUCTION
1.1 OBJECTIVE OF THE PROJECT

This project concerned with the development of Application for Fish Mart.
The objective of the project work is to develop effective software for availing fishes
online. This project is completely menu driven and user friendly. It is the details about
the availability of the fishes and their online purchases.

It is an online service for accurately forecasting the scope, cost and duration of
a getting the fishes. It helps in estimating the Basic Transportation Costs, Harbour
Activities, Labour Charges and setting price for the fishes which are necessary for the
online activity. It contains an interactive search option using, which users can search
for the required fishes which helps the user to plan according to his/her choice. It also
allows the administrator to add new authorities into it.

The system hosts information about the fishes stored in its database. It
provides information regarding the cost, image etc. of the corresponding fish and also
has the provision for the selection of variety of fish models available. Thereby the
user can forecast the cost and change the selections accordingly to reach at a rate at
which the user expects. The progress of the available fishes is also updated and
modification can also be made with respect to users need. It facilitates in tracking
actual costs as the purchases develops. The web page contains an option which helps
users to communicate with the administrator about any complaints or any other
feedbacks. Instant Cost Tabulator is flexible enough to make changes as per your
requirements, thus creating software customized for your individual
needs. Instant Cost Tabulator will make user interaction significantly more insightful.

Page 2
Fish Mart

MODULE DESCRIPTION

 Admin Module
 Add Authority
 Add Fish details
 Add Fish price
 Give Profit detail
 View report
 Processing stages & prices
 Manage Location

 Authority Module
 Add stock
 Manage staff
 View Orders
 Allot staff for processing
 View amount
 View daily income

 Staff Module
 View work allotted
 Update work status
 Update delivery

 User Module
 View products
 Purchase
 Track Orders
 Compliment

Page 3
Fish Mart

SYSTEM STUDY AND ANALYSIS

Page 4
Fish Mart

2. SYSTEM STUDY AND ANALYSIS


2.1 IDENTIFICATION NEED

In the existing system, all records are entered and stored manually. Hence, the
chances for wrong and duplicate data are very high. Also the chances for these records
to be destroyed are very high do to environmental factors or other reasons. The
problem we observed in the area of report is that, the user has to create all the reports
manually, by searching and analysing large amount of data, a miss-spelled digit or
character in any document may create many hours of extra work and complicated
corrections procedure.

2.2 PRILIMINARY INVESTIGATION

Since the existing process is done manually, there are many drawbacks on the data
retrieval processing and manipulations. The limitations of the existing system

 Lack of integrity: - storage maintainers are not integrated.


 Poor reliability: - since the data is handled manually, it is prone to data entry
error and manipulation errors making in the data less reliable.
 Lack of security:- the data stored in registers can be corrupted by
unauthorized users or authorized users.
 Time consuming:- since the system is maintained manually, it is a very
tedious job to generate reports by checking all the needed data.

In the existing system all requires a lot of registers to records all details.
Therefore it is more time consuming.it includes a lot of manual works. Therefore it
is less efficient. Therefore retrieval of data takes more time. It is to expensive.
Frequent updating is not possible. We need large volume of paper works. But the
computerisation of the overall processes of the users operations ingresses the
efficiency of the process. In the proposed system necessary data validation checks
are included to avoid mistakes. Data security is another advantage of the system.
Data redundancy is a problem existing in the manual system. To avoid this
drawback, we used a complete normalised database. Computerization improves
efficiency of office work.it helps to cope up with the problem of reduced number of
staff and to concentrate more to academic maters. This helps to keep data too many

Page 5
Fish Mart

years without damage and can be recollected as and when needed without much
time.

2.3 FEASIBILITY ANALYSIS

Feasibility study is done in my software development as a part of preliminary


investigation. Specific method used by the analysis for collecting data about
requirements are fact finding techniques. These include record review, observations,
interview and questionnaires. When the request is made, the first system activity, the
preliminary investigation begins. This activity has 3 steps among them feasibility
study is important. Feasibility study is an important outcome of the preliminary
investigation and is the determination that the system request is feasible. And my
software Fish Mart satisfies the different types of the feasibility studies. They are
listed below:

2.3.1 Technical Feasibility

This is related to the technicality of the project. This evaluation determines


whether the technology needed for the proposed system is available or not. It deals
with hardware as well as software requirements. That is, type of hardware, software
and the methods required for running the systems are analyzed. This involves
financial consideration to accommodate technical enhancement. If the budget is a
serious constraint, then the project is judged not feasible.

The software Fish Mart software supports the technical feasibility to a great
extends. That is, this software can be operated with the minimum technical support. It
uses ANDROID as front end, SQLite as database at windows platform and Mozilla
Firefox and Google Chrome as browser. And also it provides accuracy, reliability, ease
of access and data security.

2.3.2 Economic Feasibility

A system that can be developed technically and that will be used, if installed,
must be good always the financial benefits must be equal or exceed the cost.
Economic analysis is the most frequently used method for evaluating the effectiveness
of a candidate system or more commonly known as cost or benefits analysis.in

Page 6
Fish Mart

economic feasibility if check the cost to conduct a full system investigation, cost of
hardware and software.

The software Employment Exchange Management System software supports


the economic feasibility to a great extends. The cost of conducting the investigation,
development of the system and the cost of hardware and software are not high this
reduces effort and time of us. This makes software economically feasible.

2.3.3 Behavioural Feasibility

Estimation should be made of how a strong a reaction the user staff, is likely
to have towards the development of the computerized system. Therefore the
introduction of a candidate system requires special efforts to a educate, sell and
trained staff own new ways of conducting business. Since the new proposed system is
nothing to do with the current users, worker resistance to the system is very much
less. The proposed system helps to avoid the delay in processing the data thereby
reducing the amount of time consumed.

2.4 PROJECT PLANNING

Project planning is an aspect of project management that focuses a lot on


project integration. The project plan reflects the current status of all project activities
and is used to monitor and control the project. The project planning tasks ensure that
various elements of the project are coordinated and therefore guide the project
execution. The project planning helps in

 Facilitating communication
 Monitoring/measuring the project progress.

Page 7
Fish Mart

2.5 GANTT CHART

Dec 16, Dec 30, Jan 23, Feb 15, March


2018 2018 2019 2019 2019

Requirement
Analysis

Planning

Design

Development

Testing

Implementatio
n

Page 8
Fish Mart

REQUIREMENTS ANALYSIS AND


SPECIFICATIONS

Page 9
Fish Mart

3. REQUIREMENTS ANALYSIS AND SPECIFICATIONS

REQUIREMENTS ANALYSIS

Technical requirements are the technical issues that must be considered to


successfully complete a project. These are aspects such as performance, reliability,
and availability that your project must meet on in order to proceed with a project.

A. FUNCTIONAL AND NON-FUNCTIONAL REQUIREMENTS

Functional Requirements

 Conduct online test and interviews as per the requirements from the
Webmaster.
 Communicate with Webmaster and Freelancer through message boards.
 Select the best bid from the bidders list
 Assign projects to the Freelancer.
 Webmaster Rating based on the projects.
 Freelancer rating based on performance
 Payment operations

Non-Functional Requirements

 Safety Requirements
The database may get crashed at any certain time due to virus or operating
system failure. Therefore it is required to take the database backup.

 Security Requirements
Security is an important consideration .The first step in securing the
application is deciding where the security is needed and what it needs to
protect. Authentication is the process of determining a user’s identity and
forcing the users to prove they are who they claim to be; usually this involves
entering the credentials (user name and password) in some sort of login page
or windows .once the user is authenticated, authorization is the process of
determine whether the user has sufficient permission to perform a given
action, such as viewing a page or retrieving information from the database.

Page 10
Fish Mart

 Hardware Constraints
The system requires a database in order to store persistent data. The database
should have back up capabilities.

3.1 HARDWARE REQUIREMENT

The selection of hardware configuration is a very important task related to the


software development. Random access memory may affect adversely on the speed
and correspondingly on the efficiency of the entire system. The processor should be
powerful to handle all the operations. The hard disk should have sufficient capacity to
store the database and the application. The network should be efficient to handle the
communication fast.

Processor : 800 MHz

Random Access Memory : 2 GB RAM

Hard disk : 500 GB

Mobile Phone : Mobile Phone with Android OS

3.2 SOFTWARE REQUIREMENT

Operating System : Android, Windows XP

Front End : Android SDK, J2EE Technology & Android 2.1

Back End : SQLite, Mysql

Page 11
Fish Mart

3.3 SOFTWARE DESCRIPTION

Features of Language

The coding step is the process that transforms into programming language. It
translates a detail design representation of software into a programming language
realization. The translation process continues when a compiler accepts source code as
input and produces machine-dependent object code as output. Quality of source code
can be improved by the use of structures coding techniques; good coding style and
readable, consistent code format. During coding, some coding standards are to be
followed. This has two purposes; reducing the chance of making it easier for some
time, to modify the code later on. Coding phase affects both testing and maintenance
profoundly.

JAVA
Java is a language which is simpler to understand, easier to implement and yet
portable across different platforms, than any other OOPS language. It is currently
popular because it is compiled to machine independent byte code. This allows
programmers to write one kind of program code for all platforms. Not only it is a
powerful programming language built to secure, cross-platform and international, but
also java is being continually extended to provide language feature and libraries that
elegantly handle problems that are difficult in traditional programming languages.
Java based systems are easier to understand and express. Classes designed to fit the
problem tend to express it better. Java produces a maximum leverage with libraries.
This is accomplished by casting libraries into new data types (classes), so that
bringing a library means adding new types to the language. Another feature of java is
its efficient error handling system, which adds to the robustness to the system. Java
exception handling is a way to guarantee that an error is noticed, and that something
happens as a result.
The Android Restaurant is developed using java because of its security
features. Mainly java protects programs and data from harm to keep data shield and
private and to deploy new applications in security-aware run time environments.
JSP

Java Server Pages (JSP) is a technology for developing web pages that
support dynamic content which helps developers insert java code in HTML pages by
Page 12
Fish Mart

making use of special JSP tags, most of which start with <% and end with %>. A Java
Server Pages component is a type of Java servlet that is designed to fulfill the role of
a user interface for a Java web application. Web developers write JSPs as text files
that combine HTML or XHTML code, XML elements, and embedded JSP actions
and commands. Using JSP, you can collect input from users through web page forms,
present records from a database or another source, and create web pages dynamically.

JSP tags can be used for a variety of purposes, such as retrieving information
from a database or registering user preferences, accessing JavaBeans components,
passing control between pages and sharing information between requests, pages etc.
Java Server Pages (JSP) is a server-side programming technology that enables the
creation of dynamic, platform-independent method for building Web-based
applications. JSP have access to the entire family of Java APIs, including the JDBC
API to access enterprise databases. Java Server Pages often serve the same purpose as
programs implemented using the Common Gateway Interface (CGI). But JSP offer
several advantages in comparison with the CGI.

Performance is significantly better because JSP allows embedding Dynamic


Elements in HTML Pages itself instead of having a separate CGI files. JSP are always
compiled before it's processed by the server unlike CGI/Perl which requires the
server to load an interpreter and the target script each time the page is requested.JSP
pages can be used in combination with servlets that handle the business logic, the
model supported by Java servlet template engines. Finally, JSP is an integral part of
Java EE, a complete platform for enterprise class applications. This means that JSP
can play a part in the simplest applications to the most complex and demanding.

Net Beans IDE

The Net Beans IDE is a free, open source Integrated Development


Environment for software developers. You get all the tools you need to create
professional desktop, enterprise, web and mobile application, in Java, C/C++ and
even Ruby. The IDE runs on many platforms including Windows, Linux, Mac OS X
and Solaris; it is easy to install and use straight out of the box. The Net Beans
Platform provides an application common requirement such as menus document
management and settings right out of the box. The Net Beans API are the public

Page 13
Fish Mart

interfaces and classes which are available to module writers they are divided into
specific APIs for dealing with different types of functionality. The condense and
Behavior of the Java source packages and its sub packages as classifies in the Net
Beans API list are the Net Beans APIs.

Net Beans IDE 7.3 was released in February 2013 which added support for
HTML5 and web technologies. Net Beans IDE 7.3 empowers developers to create and
debug rich web and mobile applications using the latest HTML5, JavaScript, and
CSS3 standards. Developers can expect state of the art rich web development
experience with a page inspector and CSS style editor, completely revamped
JavaScript editor, new JavaScript debugger, and more.

MYSQL

MYSQL is an open-source relational database management system (RDBMS).


[6] In July 2013, it was the world's second most widely used RDBMS, and the most
widely used open-source client–server model RDBMS. "SQL" stands as the
abbreviation for Structured Query Language. The MYSQL development project has
made its source code available under the terms of the GNU General Public License, as
well as under a variety of proprietary agreements. MYSQL was owned and sponsored
by a single for-profit firm, the Swedish company MYSQL AB, now owned by Oracle
Corporation. For proprietary use, several paid editions are available, and offer
additional functionality.

MYSQL is a popular choice of database for use in web applications, and is a


central component of the widely used LAMP open-source web application software
stack (and other "AMP" stacks). LAMP is an acronym for " Linux, Apache, MYSQL,
Perl/PHP/Python". Free-software open-source projects that require a full-featured
database management system often use MYSQL. Applications that use the MYSQL
database include:TYPO3, Mod, Jooml-a, Word Press, hob, Mob, Drupal and other
software. MYSQL is also used in many high-profile, large-scale websites, including
Google(though not for searches),Facebook, Twitter, Flickr, and YouTube.

On all platforms except Windows, MYSQL ships with no GUI tools to


administer MYSQL databases or manage data contained within the databases. Users

Page 14
Fish Mart

may use the included line tools, or install MYSQL Workbench via a separate download.
Many third party GUI tools are also available.

SQL is a non-procedural language. Microsoft was able to demonstrate SQL,


which could be used to control relational databases. The SQL implemented by
Microsoft is 100% compatible with standard SQL data language. SQL database stores
and retrieves information. A table is a primary database object of SQL, is used to store
data. A table holds data in the form of rows & columns. Each column is given a
column name and data type and a width.

Using SQL we can perform calculation, list column definitions for any table and
can also format query results in the form of a report, SQL determines the best way to
carry out your request. To communicate with the database, SQL support the
commands like create, alter, drop, select, insert, update delete etc. MYSQL is a
relational database management system (RDBMS) that interacts with SQL (Structured
Query Language), a tool for editing, accessing and processing data within a database.

Android SDK

Android SDK is a software stack for mobile devices that includes an


Operating System, middleware and key application. Android SDK provides the tools
and application necessary to begin an application on the android platform. The
Android platform is made available under one of the most progressive, developer-
friendly open-source licenses, which gives mobile operators and device
manufacturer’s significant freedom and flexibility to design products. Android holds
the promise of unprecedented benefits for consumers, developers and manufacturers
of mobile services and devices. Handset manufacturers and wireless operators will be
free to customize Android in order to bring to market innovative new products faster
and at a much lower cost. Developers will have complete access to handset
capabilities and tools that will enable them to build more compelling and user-friendly
services, bringing the Internet developer model to the mobile space. And consumers
worldwide will have access to less expensive mobile devices that feature more
compelling services, rich Internet applications and easier to use interfaces ultimately
creating a superior mobile experience.

Page 15
Fish Mart

For developers, the Android 2.0 platform is available as a downloadable


component for the Android SDK. The downloadable platform includes a fully
compliant Android library and system image, as well as a set of emulator skins,
sample applications, and more. The downloadable platform is fully compliant and
includes no external libraries.

Android Studio

It’s an Android focused IDE, designed especially for the Android


development. It was launched on 16th May 2013, during Google I/O 2013 annual
event. Android studio contains all the Android SDK tools to design, test, debug and
profile your app. By looking at the development tools and environment, we can its
similar to eclipse with the ADT plug-in but as I have mentioned above its android
focused IDE, there are many cool features available in Android Studio which can
foster and increase your development productivity.

Features of Android Studio

1. Powerful code editing (smart editing, code re-factoring)


2. Rich layout Editor (As you soon as you drag and drop views on the layout,
it shows you preview in all the screens including Nexus 4, Nexus 7, Nexus
10 and many other resolutions. Layout designing can be done much faster
way as compared to eclipse.)

3. Gradle-based build support

4. Maven Support

5. Template based wizards

6. Lint toolanalysis (The Android lint tool is a static code analysis tool that
checks your Android project source files for potential bugs and
optimization improvements for correctness, security, performance,
usability, accessibility, and internationalization.

Introduction to Android

Page 16
Fish Mart

The Android platform is the product of the Open Handset Alliance, a group of
organizations collaborating to build a better mobile phone. The group, led by Google,
includes mobile operators, device handset manufacturers, component manufacturers,
software solution and platform providers, and marketing companies. From a software
development standpoint, Android sits smack in the middle of the open source world.

The first Android-capable handset on the market was the G1 device


manufactured by HTC and provisioned on T-Mobile. The device became available
after almost a year of speculation, where the only software development tools
available were some incrementally improving SDK releases. As the G1 release date
neared, the Android team released SDK V1.0 and applications began surfacing for the
new platform.

To spur innovation, Google sponsored two rounds of "Android Developer


Challenges," where millions of dollars were given to top contest submissions. A few
months after the G1, the Android Market was released, allowing users to browse and
download applications directly to their phones. Over about 18 months, a new mobile
platform entered the public arena.

The Android platform

With Android's breadth of capabilities, it would be easy to confuse it with a


desktop operating system. Android is a layered environment built upon a foundation
of the Linux kernel, and it includes rich functions.

The UI subsystem includes:

 Windows
 Views

 Widgets for displaying common elements such as edit boxes, lists, and drop-
down lists

Android includes an embeddable browser built upon WebKit, the same open
source browser engine powering the iPhone's Mobile Safari browser.

Page 17
Fish Mart

Android boasts a healthy array of connectivity options, including Wi-Fi,


Bluetooth, and wireless data over a cellular connection (for example, GPRS, EDGE,
and 3G). A popular technique in Android applications is to link to Google Maps to
display an address directly within an application. Support for location-based services
(such as GPS) and accelerometers is also available in the Android software stack,
though not all Android devices are equipped with the required hardware. There is also
camera support.

Historically, two areas where mobile applications have struggled to keep pace with
their desktop counterparts are graphics/media, and data storage methods. Android
addresses the graphics challenge with built-in support for 2-D and 3-D graphics,
including the OpenGL library. The data-storage burden is eased because the Android
platform includes the popular open source SQLite database. Figure 1 shows a
simplified view of the Android software layers.

Application Architecture

Page 18
Fish Mart

As mentioned, Android runs atop a Linux kernel. Android applications are


written in the Java programming language, and they run within a virtual machine
(VM). It's important to note that the VM is not a JVM as you might expect, but is the
Dalvik Virtual Machine, an open source technology. Each Android application runs
within an instance of the Dalvik VM, which in turn resides within a Linux-kernel
managed process, as shown below.

An Android application consists of one or more of the following classifications:

Activities
An application that has a visible UI is implemented with an activity. When a
user selects an application from the home screen or application launcher, an
activity is started.
Services
A service should be used for any application that needs to persist for a long
time, such as a network monitor or update-checking application.
Content providers
You can think of content providers as a database server. A content provider's
job is to manage access to persisted data, such as a SQLite database. If your
application is very simple, you might not necessarily create a content provider.
If you're building a larger application, or one that makes data available to

Page 19
Fish Mart

multiple activities or applications, a content provider is the means of accessing


your data.
Broadcast receivers
An Android application may be launched to process a element of data or
respond to an event, such as the receipt of a text message.

An Android application, along with a file called AndroidManifest.xml, is


deployed to a device. AndroidManifest.xml contains the necessary configuration
information to properly install it to the device. It includes the required class names
and types of events the application is able to process, and the required permissions the
application needs to run. For example, if an application requires access to the network
— to download a file, for example — this permission must be explicitly stated in the
manifest file. Many applications may have this specific permission enabled. Such
declarative security helps reduce the likelihood that a rogue application can cause
damage on your device.

Required tools

The easiest way to start developing Android applications is to download the Android
SDK and the Eclipse IDE. Android development can take place on Microsoft
Windows, Mac OS X, or Linux.

This article assumes you are using the Eclipse IDE and the Android Developer Tools
plug-in for Eclipse. Android applications are written in the Java language, but
compiled and executed in the Dalvik VM (a non-Java virtual machine). Coding in the
Java language within Eclipse is very intuitive; Eclipse provides a rich Java
environment, including context-sensitive help and code suggestion hints. Once your
Java code is compiled cleanly, the Android Developer Tools make sure the application
is packaged properly, including the AndroidManifest.xml file.

It's possible to develop Android applications without Eclipse and the Android
Developer Tools plug-in, but you would need to know your way around the Android
SDK.

Page 20
Fish Mart

The Android SDK is distributed as a ZIP file that unpacks to a directory on


your hard drive. Since there have been several SDK updates, it is recommended that
you keep your development environment well organized so you can easily switch
between SDK installations. The SDK includes:

android.jar
Java archive file containing all of the Android SDK classes necessary to build
your application.
Documention.html and docs directory
The SDK documentation is provided locally and on the Web. It's largely in the
form of JavaDocs, making it easy to navigate the many packages in the SDK.
The documentation also includes a high-level Development Guide and links to
the broader Android community.
Samples directory
The samples subdirectory contains full source code for a variety of
applications, including ApiDemo, which exercises many APIs. The sample
application is a great place to explore when starting Android application
development.
Tools directory
This directory contains all of the command-line tools to build Android
applications. The most commonly employed and useful tool is the adb utility
(Android Debug Bridge).
usb_driver
Directory containing the necessary drivers to connect the development
environment to an Android-enabled device, such as the G1 or the Android Dev
1 unlocked development phone. These files are only required for developers
using the Windows platform.

Android applications may be run on a real device or on the Android Emulator,


which ships with the Android SDK.

Java Server Page (JSP)

Page 21
Fish Mart

Java Server Page (JSP) is a technology that helps software developers create
dynamically generated web pages based on HTML,XML or other document
types.Released in 1999 by Sun Microsystems.Jsp is similar to PHP,but it uses the java
programming language.

To deploy and run javaserver pages,a compatible web server with a servlet
container,such as Apache Tomcat or Jetty,is required.

JSP pages use several delimiters for scripting functions. The most basic is <
% ... %>, which encloses a JSP scriptlet. A scriptlet is a fragment of Java code that is
run when the user requests the page. Other common delimiters include <
%= ... %> for expressions, where the value of the expression is placed into the page
delivered to the user, and directives, denoted with <%@ ... %>.

MYSQL Server

MySQL is an open source relational database management


system(RDBMS)that runs as a server providing multi-user access to a number of
databases.It is named after cofounder Michael Widenius daughter,My.The SQL phrase
stands for Structured Query Language.

The MySQL development project has made its source code available under the
terms of the GNU General Public License,as well as under a variety of proprietary
agreements.MySQL is a popular choice of database for use in web applications,and is
a central component of the widely used LAMP open source web application software
stack.

SQLite

Page 22
Fish Mart

SQLite is a relational base management system contained in a small C


programming library.In contrast to other database management systems,SQLite is not
a separate process that is accessed from the client applications,but an integral part of
it. SQLite is ACID-complaint and implements most of the SQL standard,using a
dynamically and weakly typed SQL syntax that doesnot guarantee the domain
integrity.

SQLite is a popular choice as embedded database for local/client storage in


application software such as web browsers.It is arguably the most widely deployed
database engine,as it is used today by several widespread browsers,operating
systems,and embedded systems,among others.SQLite has many bindings to
programming languages.The source code for SQLite is in the public domain.

Page 23
Fish Mart

SYSTEM DESIGN

Page 24
Fish Mart

4. SYSTEM DESIGN
Design is the second phase in the system development life cycle. Software
design is the first of the three technical activities in the software development process
such as design, code writing and testing.

During this phase, the analyst schedules design activities, works with the user
to determine the various data inputs to the system, plans how data will flow through
the system, designs required outputs and writes program specifications. Again the
analyst’s activities focus on solving a user’s problem in logical terms.

During this second step, analysts employ a variety of tools such as data flow
diagrams, entity-relationship diagrams, data dictionaries and Gantt chart.

The system’s design converts the theoretical solution introduced by the


feasibility study into a logical reality. During design the analyst:

 Draws a model of the new system, using data flow and entity-relationship
diagrams.
 Develop methods for collecting and inputting data.
 Defines the detailed data requirements with a data dictionary.
 Writes program specifications.
 Specifies control techniques for the system’s outputs, databases and inputs.
 Identifies and orders any hardware or software that the system will need.

In the physical design phase, necessary software is developed to accept input


from the user, to perform necessary calculations through the manipulation of data
stored in the databases to produce the appropriate result.

Page 25
Fish Mart

4.1 INPUT DESIGN

Input design is the process of converting user oriented input into a computer
based format. The data flow diagram indicates logical data flows, data stores source
and destinations. Input data are collected and organized into a group of numbered
data. Once identified appropriate input data media are selected for processing.

The goal of input design is to make data entry as easy and free from errors as
much as possible. Proper data validation checking is exercised to correct the mistakes
made during data entry.

The options for input data entry are as follows.

SUBMIT

The submit option in each of the forms helps in keying in data to the system.
Web based features like emailing of the keyed in data to the user etc. are included in
this. For commercial and security reasons some of the adding options are restricted to
the administrator of the site.

EDIT

The editing option helps in updating the user data.. For commercial and
security reasons some of the editing options are restricted to the administrators of the
site.

DELETE

The deletion option helps in removal of data from the system. For
commercial and security reasons some of the deletion options are restricted to the
administrators of the site.

4.2 OUTPUT DESIGN

Output design is an ongoing activity almost from the beginning of the project.
Computer output is the most important and direct source of information to the user.
Output design is a process that involves designing necessary outputs that have to be
given to various users according to their requirements. Efficient output design should

Page 26
Fish Mart

improve the system’s relationship with the user and help in decision making .The
system has got the capability to display standard screen layouts. These layouts should
be designed around the output requirements and they must be designed with utmost
care and details in the screen layouts must be simple, descriptive and clear to the user.

While designing a system’s output, the analyst must make several independent
decisions. Every system produces some kind of reports. No matter what is the content
of the report. The following guidelines can be applied to any report.

 The information should be clear, accurate, concise and


restricted to relevant data.
 Reports should have titles, date and descriptive headings for
columns of data, numbered pages and so on. If printed, they
should also appear on standard size of paper.
 The report’s contents should be in a logical arrangement so that
user can easily locate what they need.
 The report should come on an output medium that best suits the
user’s needs.
4.3 DATABASE DESIGN

Database design forms an important part of every project. The management of


data involves both the definition of structure for the storage of information and
provision of mechanisms for manipulation of information. The database system must
provide safety for the information stored; despite system crashes or attempts of
unauthorized access the database used in this project is MYSQL.

Database constructed using relation is termed as relational database. The


row of a table is referred as tuple. Each column in a table has column names. Column
or a field is called an attribute. The number of tuples in a relation is called cardinality
and the number of attribute is called degree. Every table must have some column or
combination of columns that uniquely identify each row in a table .It is called primary
key. A column in one table with a value that matches the primary key in some other
table is called a foreign key. Together a primary key and foreign key create a parent-
child relationship between tables.

Page 27
Fish Mart

The table has the following properties:

1. Each entry in a table represents one data item.


2. They are column homogeneous. i.e, in any column all items are of
same kind.
3. Each column is assigned a distinct name.
4. All rows are distinct.
The database design is made up of three levels

1. Conceptual level(High level)


2. Physical level(Low level)
3. View level(Representation level)

Conceptual Level

Conceptual level describes the essential features of the system data just like a
DFD for system. It uses symbols and is called Entity-Relationship analysis. An entity
is a conceptual representation of an object. Relationship between entities used to
make the database structure.

1. A one-to-one relationship is an association between two entities.

2. A one-to-many relationship describes an entity that may have two or more entities
related to it.

3. A many-to-many relationship describes entities that may have many relationships in


both directions.

Physical Level

In this level the data is stored physically. That is an internal schema describes
the physical storage structure of the database.

View Level

This level is used to describe how the user views the records or objects in the
database.

Page 28
Fish Mart

4.4 DATA NORMALIZATION

Normalization is a process of reducing redundancies of data in a database .It is


technique that is used when designing and redesigning a database. The first step
consists of transforming the data items so that a flat file is obtained.

First Normal Form

At the intersection of row and column, there is only one value in the tuple. Grouping
of values are not allowed. A database is said to be in 1NF,if all the relations of
database are in 1NF.

In our project each attributes have only atomic values and helpes to maintain
consistency of data that get stored in the data base.

Second Normal Form

The relation is said to be in second normal form, every non-key attribute is fully
functionally depend on primary key.

In order to get the data of another relation we may use the primary key of that relation
to get referenced and thus avoid redundancy of data as it prevent same data as it
prevent same data to get stored in more than relation.

There are 15 tables and all the tables are satisfied up to 2 NF.

In Remote Access Tool the tables are normalized in the second normal form.
According to the rule, non_key attribute must be dependent upon both and not on any
of the prime key attribute individually.

Page 29
Fish Mart

TABLE STRUCTURE

Page 30
Fish Mart

5. TABLE STRUCTURE

Table name: LOGIN

Fieldname DataType Constraints Description

logid Int(10) Primary key Log id

username varchar(20) Not null User name

password varchar(20) Not null Password

role varchar(20) Not null Role

Table name: AUTHORITY

Fieldname DataType Constraints Description

Auth_Id Int(10) Primary key Authority Id

Loc_Id varchar(20) Foreign Key Location Id

Auth_Name varchar(20) Not null Authority Name

role varchar(20) Not null Role

Status varchar(20) Not null Status

Log_id Int(10) Foreign Key Login id

Page 31
Fish Mart

Table name: STAFF

Fieldname DataType Constraints Description

Staff_Id Int(10) Primary key Staff Id

Auth_Id varchar(20) Foreign Key Authority Id

Staffe_Name varchar(20) Not null Staff Name

Status varchar(20) Not null Status

Log_id varchar(20) Foreign Key Login id

Table name: USER

Fieldname DataType Constraints Description

User_Id Int(10) Primary key User Id

Loc_Id int(20) Foreign Key Location Id

Name varchar(20) Not null Name

Status varchar(20) Not null Status

Log_id varchar(20) Foreign Key Login id

Page 32
Fish Mart

Table name: FISH

Fieldname DataType Constraints Description

Fish_id Int(10) Primary key Fish id

Fish_Name int(20) Not Null Fish Name

Fish_Price varchar(20) Not null Fish Price

Fish_Details varchar(50) Not null Fish Details

Table name: FISH_PRICE

Fieldname DataType Constraints Description

Price_Id Int(10) Primary key Fish id

Fish_Id int(20) Foreign Key Fish Name

Fish_Type varchar(20) Not null Fish Price

Price varchar(20) Not null Fish Details

Date datetime Not null Date

Page 33
Fish Mart

Table name: process

Fieldname DataType Constraints Description

Proces_Id Int(10) Primary key Processing Id

Process type int(20) Foreign Key Process type

Process details varchar(20) Not null Process details

Process price varchar(20) Not null Process price

Table name: STOCK

Fieldname DataType Constraints Description

Stock_Id Int(10) Primary key Fish id

Price_Id int(20) Foreign Key Fish Name

Qty varchar(20) Not null Fish Price

Date varchar(20) Not null Fish Details

Status varchar(20) Not Null Status

Table name: LOCATION

Fieldname DataType Constraints Description

Loc_Id Int(10) Primary key Fish id

Location int(20) Foreign Key Fish Name

Page 34
Fish Mart

Table name: PURCHASE

Fieldname DataType Constraints Description

Purchas_Id Int(10) Primary key Purchase Id

Order_id int(20) Foreign Key Order id

Stock_id Int(20) Foreign Key Stock id

Qty Int(5) Not Null Quantity

Date Date time Not Null Date

Process_id Int(10) Foreign Key Process id

Status Varchar(30) Not Null Status

Table name: WORKALLOT

Fieldname DataType Constraints Description

Allot_Id Int(10) Primary key Work Allotment id

Purchas_Id int(20) Foreign Key Purchase ID

Staff_Id Int(20) Foreign Key Staff Id

Status Int(5) Not Null Status

Page 35
Fish Mart

Table name: PAYMENT

Fieldname DataType Constraints Description

Purchas_Id Int(10) Primary key Purchase Id

Order_id int(20) Foreign Key Order id

Stock_id Int(20) Foreign Key Stock id

Qty Int(5) Not Null Quantity

Date Date time Not Null Date

Process_id Int(10) Foreign Key Process id

Status Varchar(30) Not Null Status

Table name: PAYMENT

Fieldname DataType Constraints Description

Pay_Id Int(10) Primary key Purchase Id

Order_id int(20) Foreign Key Order id

Stock_id Int(20) Foreign Key Stock id

amount Int(5) Not Null Quantity

Date Date time Not Null Date

Page 36
Fish Mart

Table name: COMPLIMENT

Fieldname DataType Constraints Description

Comp_id Int(10) Primary key Comp_id

Complimet_Type int(20) Not Null compliment Type

Compliment_details Int(20) Not Null Compliment details

Replay Int(5) Not Null Replay

User_Id Date time Foreign Key User_Id

Page 37
Fish Mart

UML DIAGRAM

Page 38
Fish Mart

6 UML DIAGRAM

6.1 DATA FLOW DIAGRAMS

A DFD, also known as a “bubble chart” has the purpose of clarifying system
requirements and identifying major transformations that will become programs in
system design. A DFD consists of a series of bubbles joined by lines. The bubbles
represent data transformations and the lines represent data flow in the system. A data
flow diagram may be used to represent a system or software at any level of
abstraction. DFD’s can be partitioned into levels that represent increasing information
flow and functional details. A Data Flow Diagram (DFD) is a diagram that describes
the flow of data and the processes that change or transform data throughout a system.
It is a structured analysis and design tool that can be used for flowcharting in place of,
or in association with, information oriented and process oriented system flowcharts.
When analysts prepare the DFD, they specify the user needs at a level of detail that
virtually determines the information flow into and out of the system and the required
data resources. This network is constructed by using a set of symbols that do not
imply a physical implementation. The DFD reviews the current physical system,
prepares input and output specification, specifies the implementation plan etc. Basic
data flow diagram symbols are:

• - A “Rectangle” defines a source (originator) or destination of

a system data.

• - - An “Arrow” identifies data flow. It is a pipeline through

which information flows.

• - A “Circle” represents a process that transforms incoming

data flow(s) into outgoing data flow(s).

- An “Open Rectangle” is a data store.

Page 39
Fish Mart

Steps to Construct Data Flow Diagrams:

Three steps are commonly used to construct a DFD

 Process should be named and numbered for easy reference. Each name should
be representative of the process.
 The direction of flow is from top to bottom and from left to right.
 When a process is exploded in to lower level details they are numbered.

DATA FLOW DIAGRAM

Level 0: Context Level

Authority
Response Request

Request

Request Response
Admin Response Request Staff
Fish Mart

Response Request

user

Page 40
Fish Mart

Level 1
Auth_id
Manage
Authority
Authority
logid
1.1
Login

Location_id
Manage
Location Location
Login
1.2 Location_id
Log_id

Admin Manage
product
Login service 1.3

Manage
Sales

1.4

View report_id
Report
Report

1.5

Page 41
Fish Mart

Level 1
price_id
Add daily
fishprice
stock
Stock_id
stock

Add staff staff_id


staff
Login
Log_id

Authority View order order_id


order
Login purchase
purchase_id

Allot & allot_id


verify Work_allot
work

Send daily report_id


Report
report

View daily Purchase_id


purchase
income
report_id
_id sale

View & Complement_id


purchase
report
_id
complement

Page 42
Fish Mart

Staff

View work

Allot_id
Login

logid
Allot_id Workallot
Update
Staff worksheet

Login
Allot_id

Update
delivery

Previous
Login
management
log_id

Profile login
staff_id Staff

Page 43
Fish Mart

User

View Stock_id Stock


user_id User product
Registration
Log_id

Login Stock_id
Purchase process
process_id

purchase_id Purchase
user
Payment
User_id Login payment_id
Track order
Workallot
allot_id

Add compliment_id
Compliment
compliment

Page 44
Fish Mart

Level 2

Add
Fish_id
Fish
fish
Money price_id
product &
service
Add fish price_id
process Fish price
price

Add cart to Process_id


login 1.2.4 Process

Page 45
Fish Mart

View
Order_id
Purchase Order

View _purchase_id
payment Purchase
Manage
Sales
_purchase_id

View
Payment
Monthly
payment_id
product

View

Daily
product

Page 46
Fish Mart

6.2 USECASE DIAGRAM

A use case is a set of sceneries then describing an interaction between user and
system. A use case diagram displays the relationship among the actors and use cases.
The two main components of a use case diagram are use cases and actors. A use case
defines the interaction between the external actors and the system under consideration
to accomplish a goal. Actors must be able to make decision, but need not be human:
“An actor might be a person, a company or organization, a computer program or a
computer system-hardware, software of both.

A use case represents a user or another system that will interact with the
system you are modeling. A use case is an external view of the system that represents
action the user my perform in order to complete the task. Use case is used in almost
every project. They are helpful in exposing requirements and planning the project-
during the initial stage of a project most use cases should be defined but as the project
continues more might become visible.

Page 47
Fish Mart

Admin Level

Manage
Authority
1.1

Manage
Location
1.2

Manage
product
service 1.3

Manage
Sales
1.4

Admin

View
Report
1.5

Page 48
Fish Mart

Authority Level

Add daily
stock

Add staff

View order

Allot &
verify
work

Send daily
report

Authority
View daily
income

View &
report
compleme
nt

Page 49
Fish Mart

Staff Level

View work

Update
worksheet

Update
delivery

Previous
manageme
nt

Staff

Profile
login

Page 50
Fish Mart

User Level

View
product

Purchase

Track order

User

Add
compliment

Page 51
Fish Mart

6.3 ER DIAGRAM

The ER model is a high level conceptual data model frequently used for
conceptual design of database applications. The ER diagram (ERD) was originally
proposed by Peter Chin for the design of relational database systems.

Page 52
Fish Mart

IMPLEMENTATION

Page 53
Fish Mart

7. IMPLEMENTATION

7.1 INTODUCTION TO IMPLEMENTATION

A crucial phase in the system life cycle is the successful implementation of


the new system design. Implementation involves creating computer compatible files,
training the operating staff, and installing hardware, terminals. A crucial factor in the
implementation is that, it should not disrupt the functioning of the organization.

Implementation is that state in the project plan where the theoretical design is
put into Real test. All the theoretical and practical works are now implemented as a
working system. This is the most crucial stage in the life cycle of a project. The
project may be accepted or Rejected depending on how it gathers confidence among
the users. If the users have achieved Satisfaction with the new project, then the project
can be termed as successful and then onwards its maintenance and other subsequent
work can be commenced. The system goes for implementation only after passing
through some rigorous testing, especially when it comes to operating system and other
system software, the testing and implementation phase greater significance.

7.2 IMPLEMENTAION OF PROPOSED SYSTEM

After having user acceptance for the system developed, the implementation phase
begins. Implementation is the stage of project during which theory is turned into
practice. During this phase, all the programs of the system are loaded into the user’s
computers. After loading the system software, training of the users starts. Such type of
training includes:

1. How to execute the package.


2. How to enter the data.
3. How to process the data(processing details).
4. How to take the reports.

The following two strategies are followed for running the system:

 Parallel Run: In such run for a certain defined period, both the systems
therefore computerised and manual are executed in parallel. This strategy is
helpful because of the following:

Page 54
Fish Mart

i. Manual result can be compared with the result of computerized system.


For the case of demonstration of the success of this system, it was
implemented with successfully running; manual systems results are
verified.
ii. Failure of a computerised system at an early stage, do not affect the
work of the organization, because the manual system continuous to
work as it used to do.
 Pilot Run: In this type of run, the new system is installed in parts. Some parts
of the new system is installed first and executed successfully for the
considerable time period. When the results are found satisfactory, only then
the other parts are implemented. This strategy builds the confidence and the
errors are traced easily.

7.3 SYSTEM INSTALLISATION PROCEDURE

To install the system, the primary need is web based environments without which
the system will not have proper utilization. To install the system, it is must to setup a
centralized server which can hold social networking website including the user’s
information database. The database is accessed through web pages using browser at
the client end. In order to have the server setup for the GRUMPLE CELL, the
following components are needed at the server end.

1. Before installing the software, make sure that the Adobe Dreamweaver has
installed in the system.
2. Apache HTTP Server 2.2 and Android must be installed.
3. MS SQL 2005 Server (with our user information database) or higher version is
installed before installation.
4. You have to make sure that all the application has to be closed before installation.
5. The database can be SQL Server 2005. The client side can have any operating
system capable of getting connected to internet.

Page 55
Fish Mart

SYSTEM TESTING

Page 56
Fish Mart

8. SYSTEM TESTING
8.1 TESTING

Testing is vital to success of the system. System testing makes logical


assumption that if all parts of the system are correct, the goal will be successfully achieved.
Another reason for system testing is its utility as a user- oriented vehicle before
implementation. System testing is aimed at ensuring that system works accurately and
efficiently before live operation commences. Testing is vital to success of the system. A
series of tests are performed for the proposed system before the system is ready for user
acceptance testing.

TEST CASES

A Software Test Plan is a document describing the testing scope and activities. It is
the basis for formally testing any software/product in a project

A test is a set of data that the system will process as normal input. However, the data
are created with the express intent of determining whether the system will process them
correctly. There are two general strategies for testing software. Code Testing have to test
cases that result in executing every instruction in the program or a module; but is every path
through the program is tested.

8.1.1 UNIT TESTING

In computer programming unit testing is a software verification and


validation method in which a programmer tests if individual unit of source code are
fit for use. A smallest testable part of an application in procedural programming in a
unit may be an individual functions or procedure. Unit testing focus on the smallest
unit of software design, the module. This is also known as “Module Testing”. The
modules are tested separately. This testing is carried out during the programming
stage itself. In this step each modules found to be working satisfactorily. The forms
in this project are tested one by one and errors are corrected.

8.1.2 INTEGRATION TESTING

Data can be lost across an interface. One module can have an adverse effect on
others. Sub-functions when combined may not produce the desired major functions.
The objective is to take unit tested modules and to combine them and test it as a
whole. In this step all errors encountered are corrected for next testing.

Page 57
Fish Mart

8.1.3 OUTPUT TESTING

After performing the validation testing, the next step is output testing of the
proposed system since no system could be useful if it does not produce the required
output in specific format. Asking the users about the format required by them tests
the outputs generated or displayed by the system under consideration.

The output format of the screen is found to be correct as the format


was designed in the system design phase according to the user needs. For the hard
copy also, output comes out as the specified requirements by the user.

8.1.4 USER ACCEPTANCE TESTING

User acceptance of a system is the key factor for the success of any system.
The system under consideration is tested for user acceptance. Since the user
interface of the system is very much user friendly the acceptance of the users were
gained very easily.

8.2 TEST RESULTS

Test results emphasize how the actual results differed from the expected
results. This suggests the need for retesting and to discover the source of differences.
The test face of systems development process involves the defining of the criteria by
which the system will be tested and measuring the criteria against the acceptable
failure rate. Individual modules are tested during the development itself. Errors
detected are connected and retested, and the project leader has verified the
compliance. Each input, output and processes are tested to verify that it performs as
specified in the design. The test data included illegal as well as out of range data. It
is found that the system is able to handle all the possibilities.

The unit in the system are re-compiled and errors found are corrected as
indicated by the compiler. The tests are repeated until all known errors are
eliminated and the program matched the design specifications. Separate tests are
performed to ensure that program units are properly interfaced with each other to
form a complete system.

Page 58
Fish Mart

8.3 FUNCTIONAL TEST CASES


Expected Actual
Sl.No, Procedure Condition Remark
Result Result
User must Correct User
1 Register User Pass
added data entered added
2
3
4

8.4 VALIDATION TEST CASES 1

Expected Actual
Sl.No, Procedure Condition Remark
Result Result
1
2
3
4

8.5 VALIDATION TEST CASES 2

Condition being
Sl.No, Test case (File) Expected output
checked

Page 59
Fish Mart

MAINTENANCE

Page 60
Fish Mart

9. MAINTENANCE

INTRODUCTION TO MAINTENANCE

The maintenance process makes the system capable of doing its activity in
production efficiently. System maintenance is the process of maintain the system with
its efficiency in its long run. It is considered in the production environment rather than
in the development environment. The intended task should be performed by the
system for the intended period.

Maintenance covers a wide range of activities, including correcting, coding


and design errors. Many activities classified as maintenance were actually
enhancement. Maintenance means restoring something to its original condition. In
contrast, enhancement means adding, modifying or redeveloping the code to support
changes in the specification.

Maintenance demands more orientation and training than any other


programming activities. To put maintenance in its proper perspective requires
considerable skill and experience and is an important and ongoing aspect of system
development.

TYPES OF SYSTEM MAINTENANCE

Corrective maintenance : Corrective maintenance of a system becomes s necessary


to rectify the bugs while the system is in use.

Adaptive maintenance : A system might need maintenance when the customers need
the product to run on new platforms, on new operating system, or when they need the
product to be interfaced with new hardware or software.

Perfective maintenance : A system needs maintenance to support the new features


that users want it to support to change different functionalities of the system
according to customer demands, or to enhance the performance of the system.

Preventive maintenance : This occurs when software is changed to improve future


maintainability or reliability or to provide a better basis for future enhancements.

Page 61
Fish Mart

CONCLUSION

10. CONCLUSION

The project was successfully completed within the time span allotted. Every
effort has been made to present the system in more users-friendly manner. All the

Page 62
Fish Mart

activities provides a feeling likes an easy walk over to the user who is interfacing with
the system. A trial run of the system has been made and is giving good results.

The software has been developed in Android. All the modules are tested
separately and put together to form the main system. The system has been developed
in an attractive dialogue fashion. So users with minimum knowledge about the
computers operate the system easily. This project proved good for us it provided
practical knowledge of not only programming in Android ,JSP,SQL and SQLite
server, but also about all handling procedure related with “Fish Mart”. It also provides
knowledge about the latest technology used in developing application and that will be
great demand in future. This will provide better opportunities and guidance in future
in developing projects independently

Page 63
Fish Mart

CODING

Page 64
Fish Mart

CODING

Page 65
Fish Mart

SCREEN SHOT

Page 66
Fish Mart

SCREEN SHOT
Admin login

Page 67
Fish Mart

FUTURE ENHANCEMENT

Page 68
Fish Mart

FUTURE ENHANCEMENT

In real life situations, we may face some sort of difficulties while making
food orders in a hotel. Waiting for the waiter to arrive is itself a time consuming
process. Also the menu card may lack details like the chef who prepared it and its
recipes. Updating the printed rates and details in the menu card is also an expensive
work. As software is used, the customer/user will recognize additional functions that
will provide benefit. Perceptive maintenance extends the software beyond its original
functional requirements. For example we can add the directions to cook. Also an
online shopping of the recipes of the food item along with directions to prepare can
also be included.

Page 69
Fish Mart

BIBLIOGRAPHY

Page 70
Fish Mart

BIBLIOGRAPHY

[1.]Ed, Burnette (13 July 2010). Hello, Android: Introducing Google's Mobile
Development Platform (3rd ed.). Pragmatic Bookshelf. ISBN 978-1-934356-56-2.

[2.]Ableson, Frank; Sen, Robi; King, Chris (January 2011). Android in Action,
Second Edition (2nd ed.). Manning. ISBN 978-1-935182-72-6.

[3.]Conder, Shane; Darcey, Lauren (July 24, 2012). Android Wireless Application
Development Volume II: Advanced Topics (3rd ed.). Addison-Wesley
Professional. ISBN 0-321-81384-7.

[4.]Murphy, Mark (June 26, 2009). Beginning Android (1st ed.). Apress. ISBN 1-
4302-2419-3.

[5.]Meier, Reto (March 2010). Professional Android 2 Application Development (1st


ed.). Wrox Press. ISBN 978-0-470-56552-0.

[6.]Haseman, Chris (July 21, 2008). Android Essentials (1st ed.). Apress. ISBN 1-
4302-1064-8.

[7.]Clifton, Ian (August 3, 2012). The Essentials of Android Application Development


LiveLessons (Video Training) (1st ed.).Addison-Wesley Professional. ISBN 0-13-
299658-8.

Page 71

You might also like