V | ||
E | ||
R | ||
Y | ||
Y | ||
M | ||
P | ||
A | ||
T | ||
H | ||
E | ||
T | ||
I | ||
C | ||
O | ||
M | ||
O | ||
V | ||
I | ||
N | ||
G | ||
I | ||
F | ||
E | ||
L | ||
W | ||
A | ||
Y | ||
S | ||
A | ||
C | ||
K | ||
U | ||
P | ||
H | ||
I | ||
E | ||
R | ||
O | ||
N | ||
U | ||
S | ||
B | ||
A | ||
N | ||
D | ||
O | ||
A | ||
K | ||
E | ||
H | ||
E | ||
M | ||
F | ||
F | ||
I | ||
C | ||
I | ||
E | ||
N | ||
T | ||
N | ||
H | ||
I | ||
E | ||
R | ||
R | ||
O | ||
F | ||
E | ||
S | ||
S | ||
I | ||
O | ||
N | ||
O | ||
H | ||
E | ||
O | ||
M | ||
P | ||
E | ||
T | ||
I | ||
T | ||
I | ||
V | ||
E | ||
A | ||
C | ||
K | ||
E | ||
N | ||
D | ||
A | ||
N | ||
A | ||
K | ||
E | ||
H | ||
E | ||
O | ||
F | ||
T | ||
W | ||
A | ||
R | ||
E | ||
F | ||
F | ||
I | ||
C | ||
I | ||
E | ||
N | ||
T | ||
O | ||
R | ||
H | ||
E | ||
E | ||
V | ||
E | ||
L | ||
O | ||
P | ||
E | ||
R | ||
H | ||
E | ||
N | ||
D | ||
S | ||
E | ||
R | ||
S | ||
S | ||
E | ||
L | ||
L | ||
V | ||
E | ||
R | ||
Y | ||
Y | ||
M | ||
P | ||
A | ||
T | ||
H | ||
E | ||
T | ||
I | ||
C | ||
O | ||
M | ||
O | ||
V | ||
I | ||
N | ||
G | ||
I | ||
F | ||
E | ||
L | ||
W | ||
A | ||
Y | ||
S | ||
A | ||
C | ||
K | ||
U | ||
P | ||
H | ||
I | ||
E | ||
R | ||
O | ||
N | ||
U | ||
S | ||
B | ||
A | ||
N | ||
D | ||
O | ||
A | ||
K | ||
E | ||
H | ||
E | ||
M | ||
F | ||
F | ||
I | ||
C | ||
I | ||
E | ||
N | ||
T | ||
N | ||
H | ||
I | ||
E | ||
R | ||
R | ||
O | ||
F | ||
E | ||
S | ||
S | ||
I | ||
O | ||
N | ||
O | ||
H | ||
E | ||
O | ||
M | ||
P | ||
E | ||
T | ||
I | ||
T | ||
I | ||
V | ||
E | ||
A | ||
C | ||
K | ||
E | ||
N | ||
D | ||
A | ||
N | ||
A | ||
K | ||
E | ||
H | ||
E | ||
O | ||
F | ||
T | ||
W | ||
A | ||
R | ||
E | ||
F | ||
F | ||
I | ||
C | ||
I | ||
E | ||
N | ||
T | ||
O | ||
R | ||
H | ||
E | ||
E | ||
V | ||
E | ||
L | ||
O | ||
P | ||
E | ||
R | ||
H | ||
E | ||
N | ||
D | ||
S | ||
E | ||
R | ||
S | ||
S | ||
E | ||
L | ||
L | ||
|
|||||||||||||||||||
It is a very critical part of software or even we can say that it is the foundation of the whole software. A lay man don't bother about the efficiency of the backend but he wants the accuracy of outputs, a developer wants the efficiency of backend that he can easily avoid the problems or if they occour they can be handled effectively. When we give any input, it goes in the backend to find its output. The quality of the software is measured mostly from its backend if it is a database software. An efficient backend can save your time, code, cost and load on your hardware but in the other case it might be opposite. A professional
programmer always emphasis on a strong backend because he knows the hurdles that can be faced with a single dirty module of your software. In this phase the nature of the problem is completely understood. Constraints or checks and outline feasible solutions are made by using some methodologies. These methodologies are; i) - SSADM (Structured System Analysis and Design methods). ii) - IEO (information Engineering Overlap). . ER Diagrams These are detailed logical representation of data. In this phase entity relational diagrams are drawn to make relationship in between data items. Primary and foreign keys are defined in it. Up till now our is become in a modified form. . Normalization Normally it is the conversion of ER diagrams into entity tables. It is used to check entity relationship models. Recombination of entity types may result from normalization and results from normalization should be consistent. . Set of tables In this phase the analysis of tables is made that which tables are required. Number and types of tables are estimated here. . Create tables Tables are created by using any compatible or required tool. Normally tables are created in DBA but mostly in SQL. At small level databases tables are created in Microsoft Access. In this stage the rules of primary and foreign keys are specified. . File organization Having design the logical schema, it is desirable to be able to specify the physical scheme, that is the way the database relations are to be stored on the storage media. This is called the file organization. There are essentially two factors to consider. . Firstly, how the records (rows) are to be physically mapped onto the storage medium. . Secondly, which indexes (if any) are to be used and if so, which fields (attributes, columns) are to be indexed. Indexes are designed to increase the speed of access to required records. The deciding factor in this is the access method (or access methods) which will be used to retrieve and update data on the database. The file organization should be decided on the basis of maximum speed of access, the type of access required and storage space considerations. . Query design In query design, the database commands are prepared. Normally it is done in SQL, DBA or oracle. Queries are designed according to the database requirements and the designer should have at least a good idea of main types of query commands. . Screen design It is the overall appearance of your database. These are the inputs, partially determined by the data items. Normally it is determined by HCI ( Human Computer Interface) which include the color, fonts, quality of data items per screen, prompts etc. . Report design It is generated in result of our inputs to watch out and analyze the results. Several reports can be generated on the requirements of the customer. In this phase format of reports are designed. Format include the number of columns, rows, date and time, report style, font size and color, from which portion of data it is to be generated, comments etc. . Testing After completion of the database, there is need to test the whole database for achieving maximum quality and efficiency. Testing is done for ultimate correctness of SQL commands, data items, feeded data, generated tables, reports, file organization, screen design etc. Careful testing will minimize the expense of later modifications. . Handover The last phase of the life cycle of relational database is the handover of complete data base. It is done after complete checking and modifications, testing all applications and facilities provided in the software. How ER diagrams are created An ER model is a detailed logical representation of data of an organization. It shows the association of different entities, attributes of an organization and the graphical representation of ER model is called ER diagram. Important terms .Primary Key A key which helps to access any record uniquely. This key should be unique, not null and can't be duplicated. .Composite Key When more than one keys combinely acts as a primary key is called composite key. .Foreign Key A non key which acts as a primary key in an other report. .Non Key A key which is not primary in table is called a non key. .Candidate Key A key which has the ability to be the primary or foreign key. .Existence Dependency An instance of one entity can not exists without the existence of an instance of some other related entity. .Weak Entity An entity having existence dependency is called weak entity. The graphical shapes that are used in ER diagrams.
Relationship It is the association between the instances of one or more entity type that is of interest to the organization. Degree of Relationship It is the number of entity type that take part in an association or relationship. Types of Relationship . Unary relationship. . Binary relationship. . Ternary relationship. . IS A relationship. . Unary relationship. The relationship that exists between the instances of single entity type. The relationship that exists between the instance of two entity types. The relationship between the instances of three entities. It is the relationship between supper type and sub type.
The number of instances of entity B that can be associated with each instance of entity A. Types of Cardinality . Mandatory cardinality . Optional cardinality . Many cardinality . Optional Many or Zero cardinality . Mandatory cardinality . Optional cardinality . Many cardinality . Optional many or zero cardinality Maximum Cardinality Maximum cardinality of a relationship is the maximum number of instances that can be associated with each instance of entity A. Minimum Cardinality Minimum cardinality of a relationship is the minimum number of instances that can be associated with each instance of entity A. How normalization is made |
Backend| Frontend| Software Docs| Software Features| Soft Web Links| Refreshment| About| |