Beruflich Dokumente
Kultur Dokumente
INTRODUCTION
1.1 Introduction
This chapter begins with the discussions of the historical or background of the area of foam
factory management system theoretically , conceptually and contextually around the world,
then the problem statement of this project , also presents the purpose of it . In this chapter
includes the objectives of this project , where it is used , what is used and the technology that
is used the developing of this project. At the end of the chapter presents the benefits of the
study for this project and how it is organized its contents.
1
Ventura, Oxnard, Orange County, Riverside and San Bernardino. It provides foam to
corporations, individuals and non-profit organizations.
Before 1991, most of the industries were State-owned and managed and their
productivity had collapsed years before. Problems faced by this sector were
numerous. First of all, many industries worked thanks to Russian experts (costing very
little) who were expelled in 1977 since the Soviet Union was not eager to support the
war against Ethiopia.
After the collapse of the Somali government in 1990, industries and business were
totally neglected. While many of the Somali business men fled the country, those who
remained found themselves in extremely difficult conditions where they could not be
start a new business or build new industries because of the civil war and clannish feuds.
Situations are however improving in many parts of the country and consequently many
business men started to invent new Industries
Somali Foam Industry is the first foam factory built in Somalia. A private industry
established by local businessmen Ibrahim Salah and partners in 1977. It supplied foam
to all the regions in Somalia . Shakirbros started their business journey as local traders
in 1982. Since its inception Shakir has made consistent growth & also diversified itself
into new products and business lines. Whereby they turned to a representative &
2
supplier of quality products sourced from various countries worldwide in 1991. The
principal products being tyres (Tires) batteries & Tubes from China, Korea and India. It
was 2003 when they brought to a foam factory to Mogadishu and named after Shakir
Foam Factory, and it is now the leading foam producer in Somalia. (Maxamed Sheekh
Yuusuf and Yaxya Amiir Ibraahim , August 2002)
Anshuur Co. produces mattresses. The plant started operating in February 2001. The
company has 5 shareholders of which two are managing it. The equipment comes from
Taipei and one Somali engineer was sent there to be trained. Raw material comes from
Dubai. The capacity of production is 300 mattresses (185cm X85 cm X 30cm) a day but
at the time of the survey only 170 were produced daily. Average price for an imported
mattress is US$ 13-15, while the locally produced one is sold US$ 10-11. An agent within
Bakara provides the marketing intelligence.
3
1.4 Purpose of Study
The aim of this study is to develop a desktop-based Shakir Foam Factory Management system
that will help the process of servicing customers in SHAAKIR.
The project will help from the customer to make the customer services process easily and to
retrieve the customer’s information in good manner, it will also increase the performance and
reduces size of space needed in the services process.
The project will implement for Shakir foam factory in Mogadishu Somalia. Time scope this
study will be conducting in between In March 2015 August 2015.
The Elements of or tasks which this project will be completed are followings:
4
1.7 Research Questions
Questions that highlight or serve as point scenario to proceed the study is here with the
relevant answer
✓ What is purpose for development of this system?
✓ How do we use for this system?
✓ What is the benefit of this system?
✓ Why do we need this system?
✓ What is the difference between this system and old system?
The content of this project has been arranged to be read chapter by chapter as follows:
Chapter 1: Gives an introduction and background about the problem of the Foam factory
management system , In addition to that, this chapter will cover the objectives, scope,
significance of this project, expected outcome and how the project is organized.
Chapter 2: Presents an overview of the project in details (i.e. Components and Factors),
furthermore, this chapter cover and discusses the relevant literature of the Foam factory
management system.
Chapter 3: Describes how the data collected, analyzed, how the questionnaire has been done
and the finding of the analyzed data.
5
Chapter 4: Proposes the design of the project (Foam factory management system) in details
using Data Flow Diagram(DFD) and Deployment Diagram to make easy the implementation
of this project .
This chapter also covers or displays the Entity Relationship Diagram (ERD) , Database
design, table design and form design.
Chapter 5: is the last phase of the project and describes the implementation of this project
and testing it to produce complete functioning system.
Chapter 6: Finally this chapter provides conclusion and recommendations by describing the
strengths and achievements of the projects. This chapter also gives the weaknesses of this
project (Foam factory management system) and its future enhancements.
6
CHAPTER TWO
LITERATURE REVIEW
2.1 Introduction
The literature review deals with the issue and the researches that would help to understand
foam factory management system and the existing systems that are similar to it. The
objective of this literature review is to analyze the related work to this research and method
used in previous studies, and to evaluate their area (Egan, B. A.; Heinold, D. W.)
2.2 Foam factory and related environments
In the following section we briefly illustrate the concepts and ideas related to the online
foam factory systems used today in the world
2.2.1 Overview of Foam mattresses
A mattress is a large pad for supporting the reclining body, used as or on a bed. Mattresses
may consist of a quilted or similarly fastened case, usually of heavy cloth, that contains hair,
straw, cotton, foam rubber, etc.; a framework of metal springs; or they may be inflatable.
The word mattress derives from the Arabic matrah, which means "something thrown down"
or "place where something is thrown down" and hence "mat, cushion". During
the Crusades Europeans adopted the Arabic method of sleeping on cushions on the floor,
and the word mater as eventually descended into Middle English through the Romance
languages.( Nutt, A.R. and D.W. Skidmore, 1987)
7
Mattresses are usually placed on top of a bed base which may be solid, as in the case of
a platform bed, or elastic, e.g. with an upholstered wood and wire box spring or a slatted
foundation. Flexible bed bases can prolong the life of the mattress( CalRecycle (2012) )
Popular in Europe, a divan[3] incorporates both mattress and foundation in a single
upholstered, footed unit. Divans have at least one innerspring layer as well as cushioning
materials. They may be supplied with a secondary mattress and/or a removable "topper."(
Wayne, NJ, 1998.)
Early mattresses contained a variety of natural materials including straw, feathers or horse
hair. In the first half of the 20th century, a typical mattress sold in North America had an
innerspring core and cotton batting or fiberfill. Modern mattresses usually contain either
an inner spring core or materials such as latex, viscoelastic or other
flexible polyurethane foams. Other fill components include insulator pads over the coils
that prevent the bed's upholstery layers from cupping down into the innerspring, as well as
polyester fiberfill in the bed's top upholstery layers. Mattresses may also be filled with air
or water, or a variety of natural fibers, such as infutons. In Southeast Asia, bedding is
made with kapok. In 1900 English-born engineer, James Marshall introduced the first
individually wrapped pocketed spring coil mattress now commonly known as marshall
coils and founded Marshall Mattress,[4] a company that bears his name and is still in
operation in Toronto, Canada. He allowed VI-Spring patent rights in England where they
were known as Marshall Mattress of England until the 1930s.( Odell, R.T.; J.C. Dijkerman
Dijkerman)
In North America the typical mattress sold today is an innerspring; however there is
increasing interest in all-foam beds and so-called hybrid beds, which include both an
innerspring and high-end foams such as visco-elastic or latex in the comfort layers. In
Europe, polyurethane foam cores and latex cores have long been popular and make up a
much larger proportion of the mattresses sold. In South Asia, coir is a common mattress
material(Wiley, Y. M. J. & Sons. (1997).
8
A mattress forms a considerably large part of the bed and it is responsible for providing
comfort and support to the body. Because a mattress can last for many years, buyers who
are searching for a mattress can benefit from investing time and effort in finding the right
one for their needs. There are different types of mattresses on the market, and the most
popular ones are the spring type and the foam varieties.
Mattresses are composed of three components: the core, the foundation, and the exterior
material. Originally, the core of the mattress consisted of natural materials such as straw,
feathers, and sometimes even paper or rice. Modern mattresses have an inner spring core -
coiled steel springs support the sleeper. Conversely, this technology also allows for
mattresses to be produced and sold for less depending on the use of certain materials. The
comfort and durability of innerspring mattresses depend largely on the number of coils in
addition to their gauge and thickness of the coils. Generally, a higher coil count is considered
a higher quality mattress. (Wayne, NJ, 1998.)Consumer Reports' June 2005 issue said a coil
count of 390 on a queen-sized mattress was plenty.
9
committed to finding applications for our products that satisfy your needs at the best
possible price.
A huge fire gutted down the main building of Mubarak Foam Factory, one of largest foam
production factories operating in Somalia capital, Mogadishu, destroying property worth
hundreds of thousands of US dollars.
Witnesses told that the a mysterious fire blaze started at 12: 00 pm local time on Saturday
night in Huriwa district, north of Mogadishu after a sudden fire erupted inside the factory
before spreading to nearby stalls.
Mahad Abdukadir, the chief executive officer (CEO) of Mubarak Foam Factory, said
Sunday that the overnight fire did not cause any human casualties, but they lost a large and
bulk of property.
“The building of the factory was also severely damaged as electric and production machines
went up with flames” he said, adding that the cause of the fire was not immediately
identified.” ( Steve J. Lautze of the City of Oakland)
The situation was worsened by the strong winds making it difficult for the fire fighters from
the local residents to put it off or prevent the spread of the fire into the whole building.
Mubarak foam factory is a private industry established by local Somali businessmen in
Mogadishu, the capital of Somalia.( Cabdulqaader Maxamed Xasan,2002)
10
2.5 Advantages of Foam mattress
Advantage of foam mattress is already quite mature , it has a good air permeability and
impact resistance. its softness and strength to support body are more responsible, and most
cost-effective . Relatively speaking the chain early spring can force average and thereby
increasing the life of the mattress . the late independent spring can fully reflect body curve
engineering.
11
generation and generation of new machineries. Now, we are proud that our
machineries have sold to all parts of the world: South-East Asia, America,
Europe, Africa, Middle East, etc. We have also appointed agents in many
of these countries to provide better service and support for all our customers.
Our company with our responsible, honest and always-improving attitude,
strives to achieve better service and support for all old and also new
customers.
Foshan City Maxdon furniture Co., Ltd. mainly produces mattresses, sofas, sofa-beds
(fabric and leather) series and office chairs with high quanlity and competitive price. And
the products we produce are sold very well in the world wide, such as Japan, America,
Europe, and the Middle East, ect. We warmly welcome all of you!
A comparison on few similar existing systems is conducted in order to find out the
similarities and the differences among them . this will assist in identifying the strength and
weakness of the proposed system foam factory management system . the comparison was
done based the following criteria login , search , comment , symptom , consultation and
report as shown in the above table . the weaknesses of the proposed system (Foam factory
management system). The comparison was done based on the following criteria: Login,
Search , Comments, Symptom
Esun International Co., Ltd. ESUN is a specialized mattress machine manufacture and
mattress accessories supplier. It was established in the beginning of 2000 and has over 10
years experience of manufacturing and distribution. Main mattress machine includes:
Mattress machinery, quilting machinery, foaming cutting machinery, foaming machinery
and other mattress accessory machines.
In the meantime, ESUN also specialize in offering mattress materials, including: All kinds
of mattress fabric, felt(pad), non-woven fabric, plastic nets, mattress tape, mattress clips,
staples, ventilated air hole, matterss handles, sewing threads, semi-finished quilted ticking,
12
and steel wire for spring, mattress springs, mattress spats, mattress labels, mattress legs,
mattress packing film, mattress packing bags and so on.
This chapter is about the literature review that discusses the researches of existing
systems, which gives a better understanding of Online Foam factory management system.
It also shows the similarities and the differences that the existing systems have by
comparing them and discusses related things of the current system. It will represent the
border or limitation of the current system.
13
CHAPTER THREE
REQUIREMENT ANALYSIS
3.1 Introduction
In this chapter , Requirement analysis we will present the requirement analysis used in
this project, and will defined how the project problem has been solved. It starts with the
project approaches and followed by a presentation of the project design, the data
collection tools and furthermore a description of how the data is analyze. So it also
presents the user requirement analysis process of the study. It outlines user requirement
specification; data gathering techniques and procedures which were used , feasibility
study and etc.
A data flow diagram (DFD) is a graphic representation of the ‘flow’ of data through
business function or processes. More generally, a data flow diagram is used for the
visualization of data processing. It illustrates the process, data, and external entities.
Note that: A data flow diagram (DFD) show how data moves through an information
system but doesn’t show program logic or processing steps.
14
1. Process
2. Data Flow
3. Data Store
4. External entity
Context Diagram
15
1
Retrieving CreateInformation
and Retrieving Create and Create and Create and Report
Create and
General retrieve Employee retrieve retrieve retrieve Capability
retrieve
Transaction Customer Transaction General Customer Supplier
Employee
Transaction Information Capability
Transaction Transaction Transaction Transaction
Employee Report
Employee
transaction Customer transaction
Transaction
Transaction
16
Level 1 (GENERAL TRANSACTION)
USER ADMIN
Checking
Application
17
LEVEL 2 (CUSTOMER TRANSACTION)
USER
Authenti
cating
User
REGISTER
CUSTOMER
CUSTOMER REGISTRATION
UPDATE
CUSTOMER
18
LEVEL 3 (CUSTOMER ORDER)
CUSTOMER
ORDERING
PROCESS
CUSTOMER REGS
CHECKING
CUSTOMER
CREATE DELIVERY
INVOICE ORDER
CUSTOMER INFO
19
After long time o investigation current system we proposed to develop a new system of
foam factory management system (FFMS) which services as documentation as the
name of information needs to record.
The current system which Shakir works now, depends on these parts;-
The marketing and selling department of the industry is meant for to produce filterized
mattresses from the industry so as to take to the customers generally .The office of this
department also manages the employees and the structure of the work they are
doing...This office use file system for the daily work routine especially they use
Ms excel and Shakir packages which is especial software they use
➢ Cash department
Cash department of the industry maintain its role to record the list of the money that make
the department and the outgoing money of the industry, and also it manages and gives
the employees' salaries. The cash department office uses software like:
Ms word and excel. Shakir packages which is especial software that uses to cover
customer balance and deposits.
Some techniques were used to collect data from the Shakir foam Industry, including
Interview
The interview is the primary techniques for information gathering during the systems
analysis phases of project development phases. It is a skill which must be done by
every analyst in order to know what information you have gathered, the quality and in-
20
depth of that information. Interviewing, observation, questionnaire and research are the
primary tools in the data gathering of the project. When we were collecting the data, we
met the director of Shakir foam Industry (SFI). We have asked about twenty five
questions. Some of them are:-
Observation
After we observed how the industry works , we saw that the industry uses software
like :- MS word , Excel , and especial software which the industry implements its
services . According to our observation, we also saw that the industry uses automatic
machine using for its production . And also saw how the industry manages its
employees.
21
3.5 Feasibility Study
Depending on the results of the initial investigation the survey is now expanded to a
more detailed feasibility study. “feasibility study” is a test of system proposal according
to its workability, impact of the organization, ability to meet needs and effective use of
the resources. Feasibility study is more important and it’s the high level study of a
system that clarifies the objectives of the proposed system it provides a better
understanding of organization problems it access and recommend what courses of
action should be taken for its solution. Feasibility study is divided into four main areas:
The new proposed system will be developed with expert personnel, software technology
and the current equipment. According to feasibility analysis procedure; the technical
feasibility of the system is analyzed and the technical requirements such as software,
hardware facilities, procedures, and inputs are identified. It is also one of the important
phases of the system development activities. What kind of hardware and software will be
required? We have just mentioned above that technical requirements we will be needed to
develop the new system. But before that, it’s a good scheme to propose or designed what
to do (this means what category of software and hardware we need and their minimum and
maximum quantity). So the table below illustrates the hardware requirements with its
maximum and minimum quantity.
22
No Name Description QTY Unit Total
Price
1 Computer 80 GB HDD, 1GB 1 $500 $500
RAM, core i3 : 2.3
GHZ
2 Printer HP Laser Jet 1320 1 $100 $100
(any other laser printer )
3 Software 1 WIN7/8, 1Anti- 1 $20 $20
Packages Virus , Visual Studio ,
SQL server and
Microsoft office
Total $620
The system is operationally feasible as it is very easy for the end users to operate it. It
only needs basic information about Windows platform. Furthermore, compared to the
existing system; the proposed system will provide a better working environment in which
there will be ease of work and the effort required will be comparatively less than the
existing system. Also the time required generating a report or for doing any other work
will be comparatively very less than in the existing system. Record finding and updating
will take less time than the existing system. The new system is a user friendly system but
in order to implement the new system, the current employee should upgraded and give
some training. This training will take no longer than 2 weeks. The users will have an
ability to work and manage the new system by using documentation guidelines. They
also should have general idea and good concept about PC’s, this helps the operators to
manage and work efficiently their data and retrieve everything related for manipulating
the data. The cost that spend for training users is maximum $300 but there is cost that is
used for maintainace of the project that is $ 1100 because of the importance of it.
23
3.5.3 Economical feasibility
Economically feasibility is the most important part of the feasibility study of this project.
This involves questions such as whether Shakir foam factory can afford to build the
system, whether its benefits should substantially exceed its costs, and whether the project
has higher priority than other projects that might use the same resources. New budget
requirement of the new system is shown in the following table:
Name Cost
Technical $620
Operational $1400
Development $1500
Cost
Total: $3520
Time evaluation is the most important consideration in the development of project. The
time schedule required for the developed of this project is very important since more
development time effect machine time, cost and cause delay in the development of other
systems. Since this project is intended for academic purpose specially undergraduate
degree ,it is developed for six months or one semester.
24
3.5.5 Feasibility Study Report
After we find the needs to build this new system according to the Technological,
economical, and operational modal, we illustrated that if we get all these needs we will
develop this new System accurately, we will install it to your computers and it will able
to fulfill all requirements specifications needed by the proposed system which intends to
be developed.
In this investigation phase we use feasibility report to explain overall the new system;
especially feasibility study is to evaluate the conclusion products of the investigation
phase. It is, in addition, estimated the objectives of completing the whole project to prove
it with possible time into a report that will be feasible to the control of the employee
management system. The idea behind the feasibility study is to weigh up the outcome
products of the investigation phase and the investigation made to the existing manual
system. It also estimates both goal accomplishment processes and to confirm it with a
short report that will be possible to the power of the organization. Estimate the feasibility
report. Finally we sure this project will Facilitate a lot of existing problems rapidly and
support for enhancement in the near Future.
Now it comes to the development of a new system, that’s able to convince and solve all
drawbacks with the old system in terms of security, reliability, and accuracy. The new
system will not need to be hired for a new employee; it will require only upgrading the
skills of the current employees. New system will satisfy Managers and Employees
25
3.6.1 Goals of proposed system
3.6.3 Constraints
• GUI is only in English.
• Login and password is used for identification of users.
26
3.7 Solution Strategy
After we had discovered the current system’s problems, we decided to develop a new
system, which stands the needs of the Shakir foam factory . This solution is associated
with implementing sufficient reliable and wiping out the current existing problems;
therefore, we considered the solutions and strategies proposed by experts to reach this-
like goal and program high quality system
Option 1 Java with Netbeans & SQL server 2008 Best option
Option 2 PHP and MYSQL server Second option
. Table 3.3 : Solution strategy and option
Option One
In our group discussion; we decided to take JAVA with Netbeans as front-end and SQL
server 2008 as back-end since all projects are subject to limited resources and time; we
determined Our work within the following economic, technical and operational
boundaries.
Front end selection is Java with Netbeans which has the following advantages:
• Security
• User Friendly
• Flexibility
• Easy to debug and maintain.
27
Back end selection is SQL server 2008 and the following advantage
:
• Multiple users
• Operating System compatibility
• High performance and processing
Application would be a self-contained system. It will not access data of any other
application nor will other application have access to its data.
Server Client
500 GB HDD or above and NIC 240 GB HDD or above and NIC
28
3.10 Chapter Summary
In this Chapter, we have discussed important points on the User Requirement Analysis
of the system starting form introduction of the chapter then the User Requirements after
that we discussed the Preliminary Investigation, Organizational Profile, Data Gathering,
DFD Diagrams, Feasibility Study and User Requirements Specifications. Finally, we
have covered all that now we are going to step the Design step of the project.
29
CHAPTER FOUR
SYSTEM DESIGN
4.0. Introduction
Design is one of the system design life cycle steps, during the system design, we contract a
physical model of the information system based on the logical model We developed in the system
analysis phase .
In this chapter, we will focus on how to design the user interface , input , Procedures, and output
required to support business requirements, a key design Element is user interface , which
describes how users interact with the System and often the user interface mainly consisted of
process-control screens that allowed the user to send commands to the system and user interface
design requires an understanding the human computer interaction which Describes relationship
between the computer and people who use them to Perform business-related task
4.1. Design goals
The flowing goals were kept in mind while designing the system:
Make system easy and flexible for users:
End users who aren’t programmers should be apple to have an extreme amount of control over
their purposes, this could be used efficiently and system could act as catalyst in achieving
objectives.
Make the system compatible:
I.e. it should fit in the total integrated system, future maintenance an enhancement must less.
Make the system reliable, understandable, coast effective.
30
4.2. Database Design
Designing a Database Like most tasks, building a database starts with a design. After all, you
wouldn’t try to build a house without a blueprint, and most people wouldn’t attempt to prepare a
new dish without a recipe. Like these other tasks, having a good design for your database is a major
first step in creating a successful project.
In designing a database application, you must set up not only the program’s routines for
maximum performance, but you must pay attention also to the physical and logical layout of the
data storage. A good database design does the following:
Provides minimum search times when locating specific records
Stores data in the most efficient manner possible to keep the database from growing too
large.
Makes data updates as easy as possible
Is flexible enough to allow inclusion of new functions required of the program
Design methodologies deal with how a company goes about designing a database. A design
methodology is the approach taken toward the design of a database. It is the process of designing
a database with a sound plan from the beginning.
31
For individuals lacking the proper knowledge and experience, designing a database probably
involves a great deal of trial and error. If an individual understands database fundamentals and
design concepts, the basic steps of the database design process, and has a structured plan (has
selected a design methodology), the design process should produce a quality product to the
customer.
Some of the advantages of using a design methodology include:
It provides a step by step guide toward database design.
Little or no trial and error is involved.
It is easy to document the database and application with the availability of design
plans, drawings depicting the organization’s needs, and other deliverables specified.
It is easy to modify the database in the future as organization and planning eases the
tasks of managing changes.
Entity relationship diagram (ERD) is a model that identifies the concepts or entities that exist
in a system and relationships between those entities.
ERD is often used as a way to visualize relational database; each entity represents a database
table, and the relationship lines represent the keys in one table that points to specific records
in related table.
32
Entities
An entity is a business object that represents a group, or category of data. For example, a
category of information associated with an online book shopping is book titles. Another category
is authors because an author might have written many books.
Entities are objects that are used to logically separate data.
Attributes
An attribute is a sub-group of information within an entity. For example, suppose you have an
entity for book titles. Within the book titles’ entity, several attributes are found, such as the
Actual title of the book, the publisher of the book, the author, the date the book was published, and
so on. Attributes are used to organize specific data within an entity.
Relationship
Relationships are associations between entities, and they are shown by lines that connect the
entities together. Every relationship has a parent entity and a child entity, the parent being the first
entity in the relationship, and the child being the second.
ERD Symbols
ER diagram is used to represent database schema.
A rectangle represents an entity set.
A Diamond represents Relationship
An ellipse represents an attributes.
Lines represent linking of attributes to entity sets & of entity sets to relationship sets.
Attribute Line
Entity Set Relationship
Figure 4.1:
Entity Relationship Diagram Basic Symbols
33
Types of Relationship
Relationship is an association among one or more entities. This relationship can be broadly
classified into the following sections: -
One-to-one
One-to-many
Many-to-many
Many-to-one
One-to-one:
A one-to-one relationship represents a relation between entities in which one occurrence of data
in one entity might have one occurrence of data in the related entity. Entity A might have only one
occurrence of related data in entity B, and entity B might have only one occurrence of
related data in entity A.
A B
One-to-many
In most relational databases that we have seen, the one-to-many relationship seems to be the
most common relationship that exists. A one-to-many relationship represents a relation between
entities in which one occurrence of data in one entity might have one or more occurrences
of data in the related entity. For example, entity A might have several occurrences of related data
in entity B.
34
A B
Many-to-many
A B
Many-to-one
The relationship between customer and order details is an example of many to one relationship,
because customer may have several order occurrences order details.
A B
35
Customer
Item Store
Order request
Add Item
Item manager
Deliver
Get Items
36
4.7. De-normalization
De-normalization is the process of taking a normalized database and modifying table structures
to allow controlled redundancy for increased database performance. However. Data redundancy
is increased in a de-normalized database, which might improve performance but requires more
extraneous efforts in order to keep track of related data. When de-normalization is employed, it’s
usually a derivative of normalized data, so that even if an atomic unit of data exists in several
places, it is derived form one source. De-normalizing a database: Why would you ever want to do
that? Attempting to improve performance is the only reason to ever de-normalize a database. A
de-normalized database is not the same as a database that has not been normalized. De-normalizing
a database is the process of taking the level of normalization within the database down a notch or
two. Remember, normalization might actually slow performance with its frequently occurring
table join operations.
De-normalization might involve recombining separate tables, or creating duplicate data within
tables. This will reduce the number of tables that need to be joined in order to retrieve the requested
data, which results in less I/O and CPU time.
Regards to our previous analysis, we came up with four entities, they are customer, item store,
deliver and item manager so that we will need to change the names of two entities like item store
as books and item manager as
4.8. Normalization
37
address of the same customer in another table. Which table is correct? Do you have documentation
to verify the customer’s current address? As if data management is not difficult enough,
redundancy of data could prove to be a disaster. On the other hand, there are also
benefits to databases that have not been normalized, mainly related to increased database
performance.
Thus, we focus on the process that a developers might take to normalize a database during design.
Many issues must be confronted during database design that might have an impact on
normalization. In this project, the following topics are discussed in detail:
Overview of normalization, including the advantages and disadvantages of normalization
Discussion of the NORMAL FORMS, or levels of normalization
Normalization is the application of a set of simple rules called FIRST, SECOND, and THIRD
NORMAL FORM to assign attributes to entities in the ERD. Although there are additional levels
of normalization beyond THIRD NORMAL FORM such as Boyce-Coded, FOURTH, and FIFTH
levels of NORMAL FORM (which we will discuss), normalization of a production
Relational database generally stops at the THIRD NORMAL FORM.
Its purpose is to eliminate data redundancy, avoid data update anomalies that can occur in un
normalized databases (databases that have not been normalized), and to simplify enforcement of
integrity constraints.
A database that is not normalized can include data that is contained in one or more different tables
for no apparent reason. This is not optimal design with regard to security reasons, disk space usage,
query retrieval speed, efficiency of database updates, and most importantly, data integrity. A
database before normalization is one that has not been broken down logically into smaller, more
manageable tables.
38
4.8.3: Levels of Normalizations
NORMAL FORM is a way of measuring the levels, or depth, to which a database has been
normalized. A database’s level of normalization is determined by the NORMAL FORM. The three
common NORMAL FORMS are as follows:
1. The first normal form
2. The second normal form
3. The third normal form
39
Example of First Normal Form (1NF):
This data is un normalized one: `
This table contains repeating columns, and un normalized data for example: if you want to delete
or to update one column of this table there will be update problems.
In order to achieve the First Normal Form, data has to be broken into logical units, each having a
primary key, and moving data to the related primary key, and ensuring that there are no repeated
groups in any of the tables.
First Normal form
40
Table 4.3. Oder detail table First Normal Form
Item Table
Isbn Item_Name Deliver_id Cat_id Qty Price description Deliver
408 Jodari 4 4 1 30 New Salim
version
Customer Table
Category table
6 2dabaq
Table 4.6 Category table first Normal form
Deliver Table
41
2. SECOND NORMAL FORM (2FN) : The Whole Key
The objective of the SECOND NORMAL FORM is to take data that is only partly dependent
on the primary key and enter it into another table.
The entity is in FIRST NORMAL FORM and if an entity has a composite UID (that is, it takes
more than one attribute to make an instance of the entity unique), all the non-UID attributes must
be dependent on all the UID attributes—not just one or some of them.
Item Table
Isbn Item_Name Deliver_id Cat_id Qty Price Description Fk
Pk
408 Joodari 4 4 1 30 New version
Customer Table
42
Oder_details table
Order_id(pk) Cus_id ISBN Quantity Fk
1 1 002 87
2 2 887 23
Table 4.10. Oder_details, Second Normal Form
The second normal form , the order_details table has been split into five tables, item table and
deliver table, order_details table and customers table.
The THIRD NORMAL Form’s objective is to remove data in a table that is not dependent on the
primary key. The entity is in SECOND NORMAL FORM and a non-UID attribute can’t depend
on another non-UID attribute. All non-UID attributes should depend directly on the whole UID
and not on each other. Put another way, attributes don’t have attributes of their
own. If attributes do have attributes, they’re really entities.
An attribute dependency on the UID—which is not direct but only passes through another
attribute that is dependent on the UID—is called a transitive dependency. Transitive dependencies
are unacceptable in Third Normal Form.
Category need to be moved from the Books entity to their own category entity as a violator of
43
THIRD NORMAL FORM.
The second normal form , again, the books table has been split into two tables, books table and
category table .
Item table
Customer Table Order table
Un-normalized
(UDF)
Remove repeating
groups
First Normal Form
(1NF)
Remove partial
dependencies
Second Normal Form
(2NF)
Remove transitive
deficiencies
Third Normal Form
(3NF)
44
The following figure shows how all tables in the database design are connected together:
45
4.9. Data Dictionary
Data dictionary, or data repository, is central store house of information about System’s data.
We will use it to collect, document, and organize specific facts about system include the data flows,
data stores, external entities, and processes. The data dictionary also defines and describes all data
elements and meaningful combinations of data elements.
46
Table 4.13: Store Table
47
Table 4.20:: Production
The most effective method of data entry is a form filling, in which a blank form that duplicates
or resembles the source document is completed on the screen. The user enters the data and then
moves to the next field. The form can have many control features such as menu navigations, labels,
text boxes, command buttons, drop-down, check boxes, Radio buttons and
more others the design of data entry forms shall consist of the following forms:
User Login form
User Creation form
Store Form
Production Form
Customer Registration form
Customer Services Form
Customer Receipt Amount Form
Return Form
48
Before designing these forms, we would prefer to explain the controls of the forms
Text Box
Label Label
Drop-down list
Button
User Name
Password
Log in Cancel
49
User creation Form
User_Id
name
Password
Confirm
Date
Create Cancel
50
4.11. Report Design
Although many organizations strive to reduce the flow of paper and printed reports and even
necessary .reports, like other elements of the user-computer, interface, should be attractive and
must include the information that user needs.
From a user’s point of view, a report with too little information is off no value. The essential goal
is to much the report to user’s specific information needs.
In this we have discussed important points on the Design of the system starting form introduction
of the chapter then the goals of system such as security reliability and others goals after that we
discussed the database Design, ERD, Data Dictionary, Table Design, Form design, and Report
Design although we have covered majority of the project still we are going to the coding step of
the project.
51
CHAPTER FIVE
SYSTEM DEVELOPMENT
5.0 Introduction
The goal of coding phase is to translate the design of the new Shaakir Foam Factory
Management System, in chapter four Design phase was discussed that is translated into code
written in one of the most powerful programming language which JAVA The aim of the phase
is to implement the design in the best possible manner. The coding phase affects both testing
and maintenance profoundly. A well written code reduces the testing and maintenance effort.
The remaining of this chapter discusses the followings in section I will discuss the coding
phase which makes the system easy understandable for coding; in section II will also be
highlighted at Types of Testing, and the User Documentation will be discuss in section III, and
in section IV an Implementation will be highlighted
Testing and debugging is next phase once the coding phase is completed. Testing phase is the
process of executing a program or system with the intent of finding errors. Or, it involves any
activity aimed at evaluating an attribute or capability of a program or system and determining
that it meets its required results. Although crucial to software quality and widely deployed by
programmers and testers, software testing still remains an art, due to limited understanding of
52
the principles of software. The difficulty in software testing stems from the complexity of
software: we cannot completely test a program with moderate complexity
The purpose of testing can be quality assurance, verification and validation, or reliability
estimation. Testing can be used as a generic metric as well. Correctness testing and reliability
testing are two major areas of testing. Software testing is a trade-off between budget, time
and quality. The complete coding phase of the project can be achieved on the attached CD
Disk.
Testing phase is the process of executing a program or system with the intent of finding errors.
Or, it involves any activity aimed at evaluating an attribute or capability of a program or system
and determining that it meets its required results. Although crucial to software quality and
widely deployed by programmers and testers, software testing still remains an art, due to
limited understanding of the principles of software.
. The purpose of testing can be quality assurance, verification and validation, or reliability
estimation. Testing can be used as a generic metric as well. Correctness testing and reliability
testing are three major areas of testing.
The testing of individual program or module is called unit testing. The objective is to identify
and eliminate execution errors that could cause the program to terminate abnormally, and
errors that could have been missed during the checking. Test date should contain both correct
date and erroneous date and should test all possible situations that could occur. For
53
example, for a field that allows a range of numeric values outside that contain minimum values,
maximum values outside the acceptable range, and alphanumeric characters.
Integration testing is the phase in software testing in which individual software modules are
combined and tested as a group. It occurs after unit testing and before system testing.
Integration testing takes as its input modules that have been unit tested, groups them in larger
aggregates, applies tests defined in an integration test plan to those aggregates, Testing more
than one program that depend on each other is called integration testing, or link testing.
After completing integration testing, system testing will performed, which involves the entire
information. A system test includes all typical processing situations and is intended to assure
users, developers. During system testing, user enter data including samples of actual, or live,
data, perform queries, and produce report to simulate actual operating condition.
54
TEST CASE:
Instructor Main Form:
When the administrator wants to register new instructor the administrator will select instructor
menu and clicks registration and registration form will appear this form also allows the
administrator to update, delete and search any registered record, the form looks like this:
55
HOW TO LOGIN THE SYSTEMS;
TEST LOG:
Log In Form:
Here we are going to how the login page works and its validation because we are in test log,
so this project is a well-organized in fully mistake protected so we are not only mention the
validation rules but we display as well.
Look here: if the user enters invalid account the system present message box which appears
like this:
If user enter incorrect user name or password will prompts this massage.
56
5.3. USER DOCUMENTATION
Documentation describes an information system and helps the users who must interact with it.
Accurate documentation can reduce system downtime, cut cost, and speed up maintenance
task. Documentation is essential for successful system operation and maintenance. In addition
to supporting a system’s users, accurate documentation is essential for developers
who must modify the system, add new features or perform maintenance. Documentation
includes program documentation and user documentation. Mostly of the documentations are
presented in project as help and users will get there. There are many types documentations
include: program documentation and system documentation.
57
Figure 5.2 User Form
58
Customer Services Form
Figure 5.3
59
5.3.2. System Documentation
System documentation describes the system’s functions and how they are implemented.
System documentation includes data dictionary entries, data flow diagrams, screen layout,
Figure 5.4
60
After the Customer Compelete the task must pays the amount of Services based on thier
Cashier
61
After make payment this page shows the Gustomer get report that displays all important
informations and visitor can’t print this report
62
5.4 IMPLEMETATION
The implementation phase takes the requirements and design phase products and
implements them using appropriate technologies. In the case of validation testing, it is during
this phase that test cases are completed and automated in preparation for validation testing.
Typically, a lot of testing on the early system versions is also performed during this phase, not
only to validate the system, but to validate that there are no problems with the test cases
themselves.
The goal of the implementation phase is to implement a system correctly, efficiently, and
quickly on a particular set or range of computers, using particular tools and programming
languages. The implementation stage is primarily environmental and works with the realities
of particular machines, system, language compilers, tools, developers, and clients necessary to
translate a design into working code. Just as the design phase may include some analysis efforts
approached from a computational standpoint.
In Shaakir Foam factory Management System, no person can login with out any user
account. has different users and different privilages (User, Adminstrator), so if you login the
the administrator role you see the previllages and do every thing in the system. While the others
can see only their privileged environments only.
As system developers want to strength and increase security of the new system, since it is
based on web application. As we know hackers and intruders are increasing day after and the
deployed software especially web based applications are continuously under attack.
63
5.5 Summary
discover faults a test are successful only when a fault is discovered. Documentation describes
an information system and helps the users who must interact with it. Accurate documentation
can reduce system down time, cut cost, and speed up maintenance task. Implementation is
where implement how the system works as the sequential flow of Forms
64
CHAPTER SIX
6.1 INTRODUCTION
This chapter includes the works that have been done during the previous
documentations of this project. In addition, this chapter will recover the objectives of the
project and illustrates how the work of this project meets the project’s objectives. Also, it
debates the experiences that have been gained during development of this project and it also
includes the future recommendation which will facilitate how to improve the functionality
and features of this shaakir foam factory management system for SHAKIR CO.
6.2 CONCLUSION
In this book, we discussed about how our system is working; we also provided some
guidelines of how the user will deal to this system and what strengths and weakness it has.
Strengths:
65
every project has some strenths and weaknesses ; so , we would like to identify some of
strenths and good features that Shaakir Foam Factory Management System will provide to
users :
this system is very friendly system and it has a good interface that can be usable by every
person who is computer literate.
More over , if the user make a mistake it generate an error message that easily
understandable by the user and it gives you the necessary utilities in your project , and
other tools that you may need while you are working with the project.
WEAKNESSES:
On the other hand , every project has its own weaknesses , so, in this project the only
problems that you might face is alerting messages that appear when ever you misuse to the
system , and if you are not familiar with this system you might find it difficult to manage it
, please don’t confuse, just read carefully what the message is carrying out and then click
on the appropriate button.
ENHANCEMENT:
This project was developed by using different types of software, so, If some one tries to
develop this project , or enhance some of its functionalities and features , he/she should be
able to know how to use Jave, SQL server 2008 Database, and iReport Application in JAVA.
Every application has its own merits and demerits. The project has covered almost all the
requirements. Further requirements and improvements can easily be done since the coding is
mainly structured or modular in nature.
Changing the existing modules or adding new modules can append improvements. Further
enhancements can be made to the application.
REFERENCES
66
A. Alkilani M. M., Sopian K., Mat Sohif, and Alghoul M.A., “Output Air Temperature
E. Hoshi Akira, Mills David R., Bittar Antoine, and Saitoh Takeo S., “Screening of
High Melting Point Phase Change Materials (PCM) in Solar Thermal
Concentrating Technology Based on CLFR”, Solar Energy, Vol. 79, pp. 332-339,
2005.
F. Prediction in a Solar Air Heater Integrated with Phase Change Material”, European
Journal of Scientific Research , ISSN 1450-216X Vol. 27, No. 3, pp. 334-341,
2009.
G. Regin A. Felix, Solanki S.C., and Saini J.S., “An Analysis of A Packed Bed Latent
Heat Thermal Energy Storage System Using PCM Capsules: Numerical
Investigation’’, Renewable Energy, Vol. 34, pp. 1765-1773, 2009.
H. Trp Anica, Lenic Kristian, and Frankovic Bernard, “Analysis of the Influence of
Operating Conditions and Geometric Parameters on Heat Transfer in Water-
67
Paraffiffiffiffin Shelland-Tube Latent Thermal Energy Storage Unit’’, Applied
Thermal Engineering, Vol. 26, pp. 1830-1839, 2006.
I. Veerappan M., Kalaiselvam S., Iniyan S., and Goic Ranko, “Phase Change
Characteristic Study of Spherical PCMs in Solar Energy Storage’’, Solar Energy,
Vol. 83, pp. 1245-1252, 2009.
68