19
By Chao W. Thao [email protected] 651.330.2420

C Thao Portfolio

Embed Size (px)

Citation preview

Page 1: C Thao Portfolio

By

Chao W. [email protected]

651.330.2420

Page 2: C Thao Portfolio

• Windows Front-End Application

• Windows Business and Data Access tiers

• Web Application

Library Table of Contents

Page 3: C Thao Portfolio

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.

Page 4: C Thao Portfolio

Windows Front-End Application Requirements Develop 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

Validation

Business Layer

Business Rule enforcement

Page 5: C Thao Portfolio

Add Adult Member

Page 6: C Thao Portfolio

Validation in code

Page 7: C Thao Portfolio

Business Layer for Add Adult

Page 8: C Thao Portfolio

Windows Business & Data Access Requirements

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

Page 9: C Thao Portfolio

Stored Procedure – Adding Juvenile

Page 10: C Thao Portfolio

Data access layer calls add juvenile stored procedure

Page 11: C Thao Portfolio

Entities use for Add Juvenile

Page 12: C Thao Portfolio

Web Application Requirements

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

Page 13: C Thao Portfolio

Add Item Form and Validations

Page 14: C Thao Portfolio

Add Item Codes

Page 15: C Thao Portfolio

Get Member Info

Page 16: C Thao Portfolio

Get Member Info Codes

Page 17: C Thao Portfolio

Setting Security Role

Page 18: C Thao Portfolio

Login Screen

Page 19: C Thao Portfolio

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