Your SlideShare is downloading. ×
0
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Portfolio
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Portfolio

664

Published on

Jonathan Terry's Portfolio

Jonathan Terry's Portfolio

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
664
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. Jonathan Terry’s .Net Course work<br />For the SetFocus .Net Masters Program<br />
  2. Project: Library Phase I – Windows Front-End Application<br />Scenario<br />A database has been created to support the principal functions of a lending library’s day-to-day operations: adding new members (adult and juvenile) and checking books in and out. An assembly has been created that contains classes and interfaces that provide access to the database for these functions.<br /> <br />Objective<br /> Create a Windows Forms-based front-end application that will provide a librarian with a visual interface through which they may perform the desired function.<br />Requirements<br />• Design and develop a front end application that satisfies the four basic functionalities: Add Adult, Add Juvenile, Check In a book, Check Out a book. <br /> • Develop code that is easily maintainable. <br /> • Provide validation for all required fields (see details below). <br /> • Provide adequate error handling. <br /> • Produce a user interface that is intuitive, requiring minimal training for users while minimizing resource utilization.<br />
  3. Library Phase I<br />This is form is used to add an adult to the Library’s database. Edits will be performed on the fields before the data is committed.<br />
  4. Library Phase I<br />This is part of the code behind for the adding of an adult member. Try Catch blocks are used to insure proper error handling.<br />
  5. Library Phase I<br />This is the CheckIn page, users must enter a isbn and copy number then select the get item info button. Details of the book are display after the input data has been verified.<br />
  6. Library Phase I<br />This is part of the code behind for the CheckInItem form, the validating event is used to edit the controls on the form that are used for input ( Input controls on forms are edited using the validating event).<br />
  7. Project: Library Phase II – Business and Data Access Tiers<br />Scenario<br /> Based on the information that librarians presented, the project database designer decided to implement the entities from the scenario presented in Phase 1 of the Library Project in three groups of tables: tables that contain member information; tables that contain item (book) information; and tables that contain loan information.<br /> <br />Objective<br /> Implement an n-tier architecture that utilizes the.Net functionality. <br /> <br />Requirements<br /> • Design the Business and Data Access tiers<br /> • Develop code that is easily maintainable.<br /> • Provide adequate error handling.<br /> • Use database-programming techniques that provide maximum programming flexibility and control while minimizing resource utilization.<br />
  8. Library Phase II<br />Sample code from the Business tier. The Business tier invokes methods on the Data Access tier and contains regular expressions used to meet edit requirements.<br />
  9. Library Phase II<br />Sample code of the Data Access Layer. From here the SQL DB is accessed using stored procedures.<br />
  10. Library Phase II<br />This is a sample of a stored procedure used in this phase of the Library project.<br />
  11. Library Phase II<br />A bit more of the stored procedure<br />
  12. Library Phase II<br />To facilitate the passing of data between the tiers a project was created that holds all the classes used to work within the Library.<br />
  13. Project: Library Phase III – Web Application<br />Scenario<br /> Create a Web solution to the Library project.<br /> <br />Objectives<br />Use Asp.Net to transform the Library project into a web application<br /> <br />Requirements<br />Create a web application that supports all the functionality required for Phase I and II of the Library project.<br />When displaying an adult’s information, the application should detect if the card is expired and give the librarian a chance to renew the card. <br />When dealing with juveniles, the application should detect if the juvenile is 18 years old or older and convert the member to an adult (row deleted in the juvenile table, row added to the adult table). <br />Overdue books, shown in any display, must be highlighted.<br />The librarian must be able to enter a new book into the database. If the ISBN already exists in the database, all that is needed is to add a record for a new copy number. <br />On the Member Information page the design must be altered to use two AJAX controls, the Update Panel control and the Update Progress control. The librarian should be able to select a row and click a check in button to check the item back into the library. <br />
  14. Library Phase III<br />Add adult page of phase 3. Moving to web cause new way of editing to be done. Validation controls are now used.<br />
  15. Library Phase III<br />Part of the code behind for the ‘Click’ event of the button to add an Adult as a member of the library.<br />
  16. Library Phase III<br />This shows an item being added to the Library. The error handling prevents an existing item from being added again.<br />
  17. Library Phase III<br />Part of the stored procedure that handles adding a new item to the library. If the item already exists a error is raised and set back to the code.<br />
  18. Library Phase III<br />This page displays information about a member. Overdue books are highlighted in the gridview control.<br />
  19. Library Phase III<br />This code shows how the DueDate column is highlighted in red using the DataRowBound event of the gridview control.<br />
  20. Library Phase III<br />When the select link is clicked that row is highlighted and buttons appear that lets the user checkIn an item automatically.<br />
  21. Library Phase III<br />When getting member information juveniles should be converted to adults automatically if they are older than 18.<br />
  22. Library Phase III<br />Code from data access tier for converting a juvenile to an adult.<br />
  23. Library Phase III<br />Part of the stored procedure to convert a juvenile to an adult.<br />
  24. Presentation Concluded<br />Jonathan Terry’s .Net Course Work for the SetFocus Masters Program<br />

×