This document summarizes the development of a library management system across 4 phases. Phase 1 created a user interface connected to provided business and data access layers. Phase 2 wrote custom business and data access layers. Phase 3 developed a website version using ASP.NET. Phase 4 exposed the business layer globally via a web service. Code samples demonstrate interfaces, business logic, and connecting to databases through stored procedures.
3. Library Phase 1 Introduction: create an UI for an n-tier library application. Audience: Library employees managing library items and members. Achievements: creating a UI (friendly) and connecting it to a data access and business layer to achieve a workable system.
4. Library 1-Sample User Interface MDI form is used with menu bar. Textbox to enter users’ id. Labels show info about the particular users. Grid shows book(s) the user have. Status bar show what information one see.
5. Continuation of Library phase 1 UI MDI form show a form of an adult entry form. It has lots of textboxes to enter information A combo box is place to select a state. The menu, windows has items that enable the forms that are opened to be rearranged according to your selection.
6. Con’t Library phase 1- code sample This is the code behind the MDI form. It tells you how the very forms i.e. the checkout form, checkin form, adult form, juvenile form, etc. are called. The business layer and data access were provided.
7. Library Phase 2 Introduction: creating an UI with emphasis on writing your own business and data access layers Audience: Employees through the friendly interface are able to manage library functions i.e. adding members, checking book(s) that is on loan, etc. Project Goal: like the business and data access layer provided by Setfocus in the Phase 1,Phase 2 achieved the same functionalities. Store procedure is integrated, for data access layer.
8. Phase 2 snap shot sample This UI is designed with a tap control. It contains textbox and labels. User info is displayed by mean of member number. The grid shows book(s) that are currently on loan to that particular member.
9. Con’t Phase 2- Business layer code This is my business code view for adding adult, juvenile, checkIn, checkOut, items, etc.
10. con’t Phase 2- Data access layer This is the data access layer.
11. Con’t Phase 2- store procedure. Store procedure for adding member. Parameters are defined. Insert statement are made into the adult table. Values are the parameters declared. @@errors are also declared with a roll back transaction.
15. continuation of Phase 3 As you can see from, I incorporated a master page. Showing is member info page. I do have a grid to show book(s) a member has. A textbox to enter member id. This form is able to show address info of a particular member.
16. Con’t of phase 4 – code view. This is a partial code behind the member info form. It is no different from the code in phase
17. Continuation of Phase 3 This is the Checkout view interface. Three textboxes namely, member number, ISBN, Copy number. A button is placed on the form to execute the desired function.
18. Con’t Phase 3 code view Code behind the check out form. Currently being view is the button click event. The form is validated. The number in the various textboxes are parse into integer.
19. Library Phase 4 Introduction: It is an ASP.NET application in which the business layer is expose globally through a web service. Audience: Library employees manages the application. Project Goal: To expose the business globally through web service.
20. Continuation Phase 4 – code view A partial code of the check out form. A declaration of the web reference and a set policy is called.