Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
6.1. Introduction
In the analysis phase we describe the purpose of the system this result in the identification of
application objects that represent user concepts but in design phase the main concern is to
determine how we are going to build our system and obtain the information needed to drive the
actual implementation of our system. Design focuses on four major areas of concern: data,
The data and architectural level design focuses on patterns as they apply to the application to be
built. At the interface level human ergonomics is the main concern. At component level a
This chapter deals with design of credit and saving of AdSCI. The design includes identification and
description of class type architecture, class modeling, state chart modeling, collaboration modeling,
component modeling, deployment modeling, and persistence modeling and user interface design.
Class type architecture defines the relationship between major classes in the system and gives us
the design pattern that can be used to model the requirements that have been defined for the
system and the constraints that affect the way in which architectural design can be applied.
Class type architecture provides a strategy for layering the classes of the system, to distribute the
functionality of our software among classes. Furthermore, class-type architectures provide guidance
as to what other types of classes a given type of class will interact with, and how that interaction
will occur. This increases the extensibility, maintainability, and portability of the systems we like to
create.
functionality that fulfill a common purpose, such as implementing our user interface or the
It is possible to categorize the layers based on class type. The following are classes
Controller/Process classes
Business/Domain Classes
Persistence Classes
System Classes
A user interface Class contains the major user interfaces found in the system we are going to
develop.
User interface classes are identified during UI prototyping as well as during sequence modeling.
The following are major user interfaces identified in the new system.
1. Login UI
3. Customers UI
4. Credit UI
5. Compulsory saving UI
6. Voluntary Saving UI
7. Generate Report UI
8. Manage User UI
9. Prompt UI
10. Confirm UI
The purpose of a controller/process class is to implement business logic that involves collaborating
Controller classes destroy themselves at the end because they are no longer needed. They
complete their job and then remove themselves from memory when they finished.
Login controller collaborate with Login UI, MDI UI, confirmation UI and Prompt UI when user log in
to the system.
Manage user controller collaborate with Mange user UI, confirmation UI, and prompt UI when
Loan limit controller collaborate with Credit UI, Confirmation UI and prompt UI when cashier
Loan interest controller collaborate with Credit UI, Confirm UI and prompt UI when clerk checks,
Saving interest controller collaborate with compulsory saving UI, voluntary saving UI, Prompt UI
and confirm UI when clerk checks, calculate, update and display saving interest information
Service interest controller collaborate with credit UI, confirm UI and prompt UI when clerk checks,
Insurance interest controller collaborate with credit UI, confirm UI and prompt UI when clerk
Penalty interest controller collaborate with credit UI, confirm UI and prompt UI when clerk checks,
Generate report controller collaborate with report UI when manager views report
It enables us to encapsulate the basic business functionality without having to concern about user
User: this is a general class that includes first name, last name, user id, password, privilege are
some of the attributes of this class. Where as verify user() and search user() are functions of the
class
Customer: is a general class that includes all customer information like customer id, customer
name soon and has create (), delete (), update () functions. It has an association with account
class.
Account: has a general attributes for all account classes and has functions like create (), delete (),
update ()
Credit: inherits the attributes of account class and has createAccount (), deleteAccount (),
updateAccount () functions.
The persistence layer provides the infrastructure for the storage and retrieval of objects. This helps
to isolate our application from changes to permanent storage approach. Regardless of how are
persistence strategy changes our applications should not be affected. By encapsulating data
management functionality; the persistence layer increases the maintainability extensibility and
Another essential concept here is that the persistence layer only provides access to permanent
storage; it is not a permanent storage mechanism itself. The goal of the persistence layer is to
reduce the maintenance effort that is required whenever changes are made in our system.
Every operating system offer functionality that we want to be able to access in our applications, file
Class modeling is to model the static structure of how our software will be built. The purpose of
design is to model how the software will be built; the only difference with the techniques we used in
the analysis class modeling is that here in design class modeling we focus on the solution domain
rather than on the problem domain. In fact our analysis class model evolves in to our design class