Your SlideShare is downloading. ×
Nj 09 T2 David Frischknecht
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

Nj 09 T2 David Frischknecht

400
views

Published on

My portfolio of the ongoing project I did while at SetFocus.

My portfolio of the ongoing project I did while at SetFocus.


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
400
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
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.
    • .NET Portfolio
    • David A. Frischknecht
    • [email_address]
    • Home - 973-702-8025
    • Cell – 570-228-6547
  • 2.
    • Library System Overview
    • Design Highlights
    • Windows Forms Sample
    • ASP.NET Web Forms Sample
    • ADO.NET Code Sample
    • Stored Procedure Sample
  • 3.
    • Introduction
      • I designed and implemented a library system to handle day-to-day operations performed by librarians .
    • Audience
      • Librarians will be the primary users of this application.
    • 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.
      • 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.
  • 4.
    • 3 Tiered Architecture
    • User-friendly interface developed using MDI forms with menu strip navigation and ASP.NET Web forms using Tree View navigation
    • Business rules and validations encapsulated within the Business Tier
    • ADO.NET Data Access called Stored Procedures in the SQL Server Database
    • Data transported between the layers using Entities and Strongly-Typed Collections
  • 5.
    • Starting point of application
    • All functions available from Library menu
  • 6.
    • Data entry screen
    • Flags input format errors
  • 7.
    • Data entry screen
    • Flags input format errors
    • Requires a valid Adult Member ID
  • 8.
    • Retrieves member information
    • Flags expired memberships and overdue items
    • Requires a valid Member ID
  • 9.
    • Lists books on loan in a Data Grid View
    • Allows check out of books
    • Non-modal confirmation message
  • 10.
    • Retrieves information about items
    • Allows items to be checked in
    • Non-modal message when item is already checked in
  • 11.
    • Requires valid username and password
  • 12.
    • Requires valid Member ID
    • Non-modal error message for invalid input
  • 13.
    • Retrieves member information
    • Flags overdue items
    • Allows checkout of additional items
  • 14.
    • Flags input format errors
  • 15.
    • Flags input format errors
    • Requires a valid Adult Member ID
    • Renews Adult Member if expired membership
  • 16.
    • Retrieves information about items
    • Allows items to be checked in
    • Non-modal message when item is already checked in
  • 17.
    • Lists books on loan
    • Allows check out of books
    • Non-modal confirmation message
    • Renews Membership if expired
  • 18.
    • public void CheckOutItem(short memberNum, int isbn, short copyNum)
    • {
    • using (SqlConnection cnn = new SqlConnection(Settings.Default.LibraryConnectionString))
    • {
    • using (SqlCommand cmd = cnn.CreateCommand())
    • {
    • cmd.CommandText = "CheckOutItem";
    • cmd.CommandType = CommandType.StoredProcedure;
    • cmd.Parameters.AddWithValue("@member_no", memberNum);
    • cmd.Parameters.AddWithValue("@isbn", isbn);
    • cmd.Parameters.AddWithValue("@copy_no", copyNum);
    • try
    • {
    • cnn.Open();
    • cmd.ExecuteNonQuery();
    • }
    • }
    • }
    • }
  • 19.
    • ALTER PROCEDURE [dbo].[GetItem]
    • @isbn int,
    • @copy_no smallint
    • AS
    • BEGIN
    • SET NOCOUNT ON
    • IF NOT EXISTS (SELECT * FROM copy WHERE ((isbn = @isbn) AND (copy_no = @copy_no)))
    • BEGIN
    • RAISERROR('Item does not exist.',11,1)
    • RETURN
    • END
    • SELECT copy.isbn, copy.copy_no, title.title, title.author, loan.member_no, loan.out_date,
    • loan.due_date
    • FROM title INNER JOIN copy ON title.title_no = copy.title_no
    • INNER JOIN item ON title.title_no = item.title_no AND copy.isbn = item.isbn
    • LEFT OUTER JOIN loan ON title.title_no = loan.title_no AND copy.isbn = loan.isbn
    • AND copy.copy_no = loan.copy_no
    • WHERE (copy.isbn = @isbn) AND (copy.copy_no = @copy_no)
    • END

×