Project
Project
AIM
To develop a project of Book bank management system using Rational Rose
Software and to implement the software in Visual Basic.
PROBLEM STATEMENT
The main objective of the system are was to design an online book-bank system to
enable a central monitoring mechanism of the book-bank be more faster and less error prone.
Apart from this,
To help the students acquire the right books for the syllabus at the right time.
To ensure availability of basic textbooks to students against limited funds and To
develop students ability to handle property loaned to them
ALGORITHM
The process of members registering and purchasing books from the book bank
are described sequentially through following steps:
1. First the member registers himself if he was new to the book bank.
2. Old members will directly select old member button..
3. They select their corresponding year.
4. After selecting the year they fill the necessary details and select the book and he
will be directed towards administrator
5. The administrator will verify the status and issue the book.
HARDWARE REQUIREMENTS:
SOFTWARE REQUIREMENTS:
ANALYSIS PHASE
MODULE OF PROJECT:
The software development analysis describes the modules present in the project.
The following modules are present in the project
1. Registration
2. Authentication
3. Year Selection
4. Book Selection
5. DB Updation
GLOSSARY
USER Member
Workflow
Member login:
Brief description:
This use case allows the members to register onto the system and purchase books from the bank.
Basic workflow:
Member registers himself and provided with the member ID and password to login in to the system.
Alternative workflow:
Member enters the wrong username or password then the he is asked to register to the system.
Pre condition:
Member must have username and password allotted for him to access the system.
Post condition:
The Member is allowed to search for books and submit a request for the available books.
Administrator login:
Brief description:
This use case allows the admin to log onto the system to verify the availability of book and issue the same.
Basic workflow:
Administrator is provided with the login ID and password to login in to the system.
Alternative workflow:
Nil
Pre condition:
Administrator must have Login ID and password allotted for him to access the system.
Post condition:
The Administrator is allowed to search verify the availability of book and issue.
DESIGN PHASE
UML DIAGRAMS
The following UML diagrams describe the process involved in the online recruitment
system
• Use case diagram
• Class diagram
• Sequence diagram
• State chart diagram
• Component diagram
• Deployment diagram
Actor is any external entity that makes use of the system being modeled. It is
represented using stick figure.
registration
student1
year selection
select books
updation
issues
CLASS DIAGRAM
A class diagram in the unified modeling language (UML) is a type of static structure diagram
that describes the structure of a system by showing the system's classes, their attributes, and
the relationships between the classes. It is represented using a rectangle with three
compartments. Top compartment have the class name, middle compartments the attributes
and the bottom compartment with operations.
http://csetube.tk
/
Issue for 2nd year-is the class name. Its attributes are member code, member name,
book code, book name, and quantity. Its operation is issue
Issue for 3rd year-is the class name. Its attributes are member code, member name,
book code, book name, and quantity. Its operation is issue
SEQUENCE DIAGRAM
A sequence diagram in Unified Modeling Language (UML) is a kind of interaction
diagram that shows how processes operate with one another and in what order. It is a
construct of a Message Sequence Chart. There are two dimensions.
1. Veritcal dimension-represent time.
2. Horizontal dimension-represent different objects.
http://csetube.tk
student
/ database
database administrators
administrators
year
updation
authentication
verification
COMPONENT DIAGRAM
The component diagram's main purpose is to show the structural relationships between the
components of a system. It is represented by boxed figure. Dependencies are represented by
communication association
details
member
1st year
issue for
http://csetube.tk
/
DOCUMENTATION OF COMPONENT DIAGRAM
The main component in this component diagram is online book bank management systems.
And member details, issue for first year, issue for second year issue for third year and issue
for fourth year are components comes under the main component
DEPLOYMENT DIAGRAM
A deployment diagram in the unified modeling language serves to model the physical
deployment of artifacts on deployment targets. Deployment diagrams show "the allocation of
artifacts to nodes according to the Deployments defined between them. It is represented by 3-
dimentional box. Dependencies are represented by communication association.
BOOK BANK
http://csetube.tk
DOCUMENTATION OF DEPLOYMENT DIAGRAM
The processor in this deployment diagram is the book bank which is the main part and which
/
are the some of the main activities performed in the system. And issue for first year, issue for
second year issue for third year and issue for fourth year are some activities performed in this
system.
FORMS
FORM 1
http://csetube.tk
/
FORM 2
FORM 3
tk/
FORM 4
FORM 5
tk/
FORM 6
FORM 7
tk/
FORM 8
FORM 9
tk/
FORM 10
FORM 11
tk/
SOURCE CODE:
Administrator. class
Option Explicit
'##Model Id=4D5A2FC4038A
Private name As Variant
'##Model Id=4D6CB83B006D
Private address As Variant
'##Model Id=4D6CB84902DE
Private phone As Variant
'##Model Id=4D6CB8510000
Private mail id As Variant
'##Model Id=4D5A34780280
Public New Property As year
'##Model Id=4D5A348B0290
Public NewProperty2 As database
'##Model Id=4D5A31B30119
Public Sub authentication ()
On Error Go To Error Handler
'## your code goes here...
http://csetube.tk
If Form10.Text1.Text = "admin" And Form10.Text2.Text = "1234" Then
MsgBox "login successfully"
Form9.Show
Else /
MsgBox "invalid password"
End If
Exit Sub
ErrorHandler:
Call Raise Error (My Unhandled Error, "authentication Sub")
End Sub
'##Model Id=4D5A31E402BF
Public Sub verification ()
On Error Go To Error Handler
'## your code goes here...
Exit Sub
Error Handler:
Call Raise Error (My Unhandled Error , "verification Sub")
End Sub
'##Model Id=4D6CB8E403B9
Public Sub issue_books()
On Error Go To Error Handler
'## your code goes here...
Exit Sub
Error Handler:
Call Raise Error (My Unhandled Error, "issue_books Sub")
End Sub
Database .class
Option Explicit
'##Model Id=4D5A2FB00128
Private name As Variant
'##Model Id=4D51082601C5
Public Sub update ()
On Error Go To Error Handler
'## your code goes here...
Exit Sub
Error
Handler:
Call Raise Error (My Unhandled Error , "update Sub")
End Sub
Year . Class
Option Explicit
'##Model Id=4D5A317F00DA
Private year_selection As Variant
http://csetube.tk
'##Model Id=4D5A319B0128
Public Sub 1styear()
/
On Error GoTo ErrorHandler
'## your code goes here...
Exit Sub
ErrorHandler:
Call RaiseError(MyUnhandledError, "styear Sub")
End Sub
'##ModelId=4D5A319F00CB
Public Sub 2nd_year()
On Error GoTo ErrorHandler
'## your code goes here...
Exit Sub
ErrorHandler:
Call RaiseError(MyUnhandledError, "nd_year Sub")
End Sub
'##ModelId=4D5A31A2032C
Public Sub 3rd_year()
On Error GoTo ErrorHandler
'## your code goes here...
Exit Sub
ErrorHandler:
Call RaiseError(MyUnhandledError, "rd_year Sub")
End Sub
Option Explicit
'##ModelId=4D5A3381006F
Private member_code As Variant
'##ModelId=4D5A33810070
Private member_name As Variant
'##ModelId=4D5A33810072
Private book_name As Variant
'##ModelId=4D5A347B03B9
Public NewProperty As year
'##ModelId=4D5A3381006E
Public Sub issue_for_first()
On Error GoTo ErrorHandler
'## your code goes here...
Form6.Data1.Recordset.AddNew
Form6.Text5.Text = Form6.Text5.Text + 1
Form6.Text4.Text = Form6.Text4.Text - 1
If (Form6.Text4.Text <= 0) Then
MsgBox "only four books can be selected"
Form8.Show
End If
Exit Sub
ErrorHandler:
Call RaiseError(MyUnhandledError, "issue_for_first Sub")
End Sub http://csetube.tk
Option
/
Issue for second year class
Explicit
'##ModelId=4D5A33D902EE
Private member_code As Variant
'##ModelId=4D5A33DC03D8
Private member_name As Variant
'##ModelId=4D5A33E30167
Private book_name As Variant
'##ModelId=4D5A347C03D8
Public NewProperty As year
'##ModelId=4D5A33ED00BB
Public Sub issue_for_second()
On Error GoTo ErrorHandler
'## your code goes here...
Data1.Recordset.AddNew
Form7.Text5.Text = Form7.Text5.Text + 1
Form7.Text4.Text = Text4.Text - 1
If (Form7.Text4.Text <= 0) Then
MsgBox "only four books can be selected"
Form8.Show
End If
Exit Sub
ErrorHandler:
Call RaiseError(MyUnhandledError, "issue_for_second Sub")
End Sub
Option Explicit
'##ModelId=4D5A33F2036B
Private member_code As Variant
'##ModelId=4D5A33FA00EA
Private member_name As Variant
'##ModelId=4D5A34010399
Private book_name As Variant
'##ModelId=4D5A347E0138
Public NewProperty As year
'##ModelId=4D5A340F01B5
Public Sub issue_for_third()
On Error GoTo ErrorHandler
'## your code goes here...
Form8.Data1.Recordset.AddNew
Form8.Text5.Text = Form8.Text5.Text + 1
Form8.Text4.Text = Form8.Text4.Text - 1
If (Form8.Text4.Text <= 0) Then
MsgBox "only four books can be selected"
Form8.Show
End If
Exit Sub
http://csetube.tk
ErrorHandler:
/
Call RaiseError(MyUnhandledError, "issue_for_third Sub")
End Sub
Form 1
Private Sub Command1_Click()
Form1.Show
End Sub
Private Sub Command2_Click()
Form9.Show
End Sub
Private Sub Command3_Click()
Form5.Show
End Sub
Form 2
Private Sub Command1_Click()
Data1.Recordset.AddNew
End Sub
Private Sub Command2_Click()
Data1.Recordset.update
Form2.Show
End Sub
Form 3
Private Sub Command1_Click()
Form4.Show
End Sub
Private Sub Command2_Click()
Form6.Show
End Sub
Private Sub Command3_Click()
Form7.Show
End Sub
Form 4
Private Sub Command2_Click()
Dim fi As Issue for first year
Set fi =new Issue for first year
fi.issue_for_first
End Sub
Private Sub Command3_Click()
Data1.Recordset.update
End Sub
Private Sub Form_Load()
Text4.Text = 5
Text5.Text = 0
End Sub
http://csetube.tk
Private Sub List1_Click()
Text3.Text = List1.Text
End Sub
Form 5
/
Private Sub Command2_Click()
Dim se As Issue for second year
Set se =new Issue for second year
se.issue_for_second
End Sub
Private Sub Command3_Click()
Data1.Recordset.update
End Sub
Private Sub Form_Load()
Text4.Text = 5
Text5.Text = 0
End Sub
Private Sub List1_Click()
Text3.Text = List1.Text
End Sub
Form 6
Private Sub Command2_Click()
Dim th As Issue for third year
Set th =new Issue for third year
th.issue_for_third
End Sub
Private Sub Command3_Click()
Data1.Recordset.update
End Sub
Private Sub Form_Load()
Text4.Text = 5
Text5.Text = 0
End Sub
Private Sub List1_Click()
Text3.Text = List1.Text
End Sub
Form 7
private Sub Command1_Click()
Dim au As Administrator
Set au =new Administrator
au. authentication
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
tk/