Professional Documents
Culture Documents
Lecture 1.2.3
Lecture 1.2.3
Lecture 1.2.3
IDENTIFY ENTITIES
We first consider raw data into different sets, each modeled separately.
Each set has some business objects or entities. The first step is to
identify these entities.
All clear about the what, why, and how? Then let’s discuss some pros
and cons of using a data model.
PROS
LOWER COSTS
Data models help in lowering the cost of development. Generally,
companies spend a lot of funds on coding and testing. Data modeling
reduces the company’s coding budget. Not only that, the best part is that
data models don’t use a lot from the budget. A data model also catches
errors at an earlier stage. Don’t you think that’s a lot better than
correcting mistakes when coding is complete? Or worse, imagine if the
customers use your app only to find unfixed errors! How would that
affect your business’s reputation?
BETTER MANAGEMENT OF DATA AS A RESOURCE
You can normalize your data with data modeling. You can also define
the data in terms of what it is. Not only that, you can even define data in
terms of the properties it can have. Querying the database and generating
reports are important processes of any business. Data modeling provides
the tools for the same. As a result, you can manage the data as a resource
in a better way. Just think of it this way—suppose you hire a developer
to create your database. What will the developer find easier: developing
from an Excel sheet with multiple entities, or from a diagram that
explains how all the entities connect with each other?
ACCURATE REPRESENTATION OF OBJECTS
Data modeling provides an accurate description of data objects by
creating a flow or diagram. This diagram shows how the entities and
their properties connect with each other or with other elements in the
database. You can use the information to define the relationship between
tables, primary, and foreign keys.
BETTER PERFORMANCE
Most people think that a database runs slow because of some problem in
the database design. But in reality, without a data model, the database
development is poor. Also, data modeling ensures better performance by
easing the database tuning. When the concepts in a data model are clear,
the developer can design a database that runs faster.
CONS
Like all other new technologies, with so many pros, there’s bound to be
some cons as well.
You can’t perform data modeling without knowing the features of
the physical data stored.
Even if you make only a minor change in the structure later, you’ll
need to modify the entire structure.
Functional Modeling
In the Functional Model, software converts information. and to
accomplish this, it must perform at least three common tasks- input,
processing and output. When functional models of an application are
created, the software engineer emphasizes problem specific tasks. The
functional model begins with a single reference level model (i.e., be
manufactured). In a series of iterations, more and more functional detail
is given, until all system functionality is fully represented.
Information is converted because it flows from a computer-based
system. The system takes input in various forms; Hardware, software,
and human elements are applied to replace it; And produces in various
forms. The transformation (s) or function may be composed of a single
logical comparison, a complex numerical method, or a rule- the
invention approach of an expert system. The output can light an LED or
provide a 200 page report. Instead, we can create a model or flow model
for any computer- based system, regardless of size and complexity.
Structural analysis started as an Information Flow Modeling technique.
A computer-based system can be modeled as an information transform
function as shown in figure.
A rectangle represents an external unit. That is, a system element, such
as a hardware, a person or another system that provides information for
transformation by the software or receives information provided by the
software. A circle is used to represent a process or transform or a
function that is applied to data and changes it in some way. An arrow is
used to represent one or more data items.