Upload
brendadean
View
577
Download
1
Tags:
Embed Size (px)
DESCRIPTION
SetFocus Library projects
Citation preview
Library Phase 1
Requirements: Develop a Windows front-end with 4 functions
Add adult member Add juvenile member Check in an item Check out an item
2 projects developed: Windows Client
Form control Validation
Business Layer Business Rule enforcement Data Access Layer Communication
Phase 1 Details
Add Adult Windows Form
Status Strip used for communicating errors.
Menu Strip used for easy selection of tasks.
ComboBox loaded from XML file.
ComboBox loaded from XML file.
Status Strip used for communicating errors.
Error provider indicating error with additional information.
Menu Strip used for easy selection of tasks.
Add Adult Windows Form
Check-out is disabled due to maximum books already on loan. A selected book causes the Check-in icon to be enabled.
Overdue books are highlighted in yellow.
Menu Strip and Tool bars are used for easy selection of tasks.
Check Out Response to Retrieve Data
Label Turns Red for Expired Membership
Library Phase One Techniques
User input validation using error provider, regular expression checking and various event handlers.
Data binding to a data grid control and related manipulation.
MDI application format. Effective exception handling
Library Phase 2
Develop 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 Layer Produce a project of
Entities classes accessible to all layers Member Adult (derived class) Juvenile (derived class) Item ItemsDataSet Library Exception
Library Phase 2 Requirements
ADO.NET code in Data Access Layer
Error code passed back through the exception state property.
XML Schema Definition for ItemsDataSet
Add Member Stored Procedure
Library Phase 3
Replace Windows front-end with Web front-end
Add 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
Library Phase 3 Requirements
Login Screen for Web App
Security using ASP.NET membership and role management
Functionality restricted to “Librarian” role members
Library Security in web.config
Add New Item to Library
Add New Copy of Existing Item
Renew Expired Member
Convert Juvenile 18+ to Adult
Overdue Items Highlighted
Convert Juvenile Stored Procedure
Summary
Total number of projects: 6 Total number of regular working hours
dedicated to projects: 200 Total number of overtime hours dedicated to
projects: 100+ Total lines of C# code written: 10,000+ Total lines of supporting code (XML, HTML,
SQL): 1,500+ Note: Additional work was required outside
the projects. The statistics do not include this work.