Upload
chaothao
View
383
Download
0
Embed Size (px)
Citation preview
• Windows Front-End Application
• Windows Business and Data Access tiers
• Web Application
Library Table of Contents
Library System Overview• Introduction:
– Designed and implemented a library system to handle day-to-day operations performed by librarians.
• Audience:– Librarians will be the primary users of the applications.
• Project Goals:– Design and develop Windows and Web based applications
that allow librarians to add adult and juvenile members, check in and check out books, and maintain an inventory of the library’s books.
– Design the Entities, Business and Data Access tiers.– Develop code that is easily maintainable.– Provide adequate error handling.– Provide maximum programming flexibility and control while
minimizing resource utilization.
Windows Front-End Application RequirementsDevelop Windows front-end with 4 functions:
Principal Operations Add adult member Add juvenile member Check in an item Check out an item
2 projects developed:Windows Client
ValidationBusiness Layer
Business Rule enforcement
Add Adult Member
Validation in code
Business Layer for Add Adult
Windows Business & Data Access RequirementsDevelop stored procedures
for 6 processes Add member Get member Check in Check out Get item (returns an item
with a specific ISBN and Copy #)
Get items (returns a member’s checked out items)
Create a Data Access Layer Calls stored procedures in
database Returns data or throws
errors to Business LayerProduce a project of
Entities classes accessible to all layers Member Adult (derived class) Juvenile (derived class) Item ItemsDataSet Library Exception
Stored Procedure – Adding Juvenile
Data access layer calls add juvenile stored procedure
Entities use for Add Juvenile
Web Application RequirementsReplace Windows front-end with Web front-endAdd Functionality
Add Item either with a new ISBN or new copy of an existing ISBN
Automatic Conversion to Adult Membership for Juvenile 18 years and over with notification to Librarian
Membership renewal upon Librarian acknowledgement
Add Security Add a Librarian role
Add 2 users to the Librarian role
Prevent everyone except the Librarian role from accessing the library functions
Add Item Form and Validations
Add Item Codes
Get Member Info
Get Member Info Codes
Setting Security Role
Login Screen
Summary
– Design and develop Windows and Web based applications that allow librarians to add adult and juvenile members, check in and check out books, and maintain an inventory of the library’s books.
– Develop code that is easily maintainable.– Provide validation for all required fields.– Provide error handling– Produce a user interface that is intuitive,
requiring minimal training for users while minimizing resource utilization