Your SlideShare is downloading. ×
  • Like
Library Presentation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Library Presentation

  • 587 views
Published

Powerpoint Presentation of 4 phase Library Project.

Powerpoint Presentation of 4 phase Library Project.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
587
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
3
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. David S Pitcherdpitcher75@hotmail.com
    This presentation is a Library project that incorporates four phases to completion.
    • The following phases for the project were designed to use current Microsoft development technologies and methods .
    • 2. This presentation shows an original specification for a municipal library application and follows it’s progression from windows application to a web application.
  • Specifications and Requirements
    Using a 3 tier approach , the framework will incorporate the following.
    • Delegates
    • 3. Custom exception classes
    • 4. Custom attribute classes
    • 5. Generic Collections
    • 6. Custom Serializations
    • 7. Abstract Classes and Interfaces
    • 8. Enumerations Types
    • 9. Implementation of Iserializable, IComparer, Incomparable
    • 10. Custom EventArgs
    David S Pitcher dpitcher75@hotmail.com
    2
  • 11. Phase #1 - .NET Framework
    In this phase we focus on setting up the .NET Framework.
    This diagrams the interfaces and base classes' that will be used through out the application.
    David S Pitcher dpitcher75@hotmail.com
    3
  • 12. Phase #1 .NET FrameworkBase Classes
    David S Pitcher dpitcher75@hotmail.com
    4
  • 13. Code snippets from the interface classes - Phase#1.
    David S Pitcher dpitcher75@hotmail.com
    5
  • 14. Phase #2 – Windows Form Application using Business, Data Access Layers
    For this phase the specifications ask us for the following.
    • Design the Business and Data Access layers.
    The data access layer communicates with MS SQL Server using views and stored procedures.
    • Provide error handling for both SQL and Windows errors.
    Custom error handling routine for both of these types of errors.
    • Use LINQtoSQL to develop object models and abstract away data provider code.
    David S Pitcher dpitcher75@hotmail.com
    6
  • 15. David S. Pitcher dpitcher75@hotmail.com
    7
    Phase #2 Functionality Requirements.
    • The Librarian will require a way to add a new Adult or Juvenile member.
    • 16. The ability to both check in/out books for any member.
    • 17. Give the librarian to option to convert a juvenile to an adult member.
    Business Requirements.
    • Patron must have a current library card id to check out items.
    • 18. Any member may only have 4 books checked out at any one time.
    • 19. Librarian can have the option to cancel any operation.
    • 20. Easily identify overdue books for any member.
    • 21. Juvenile members must have a valid adult member to sponsor them.
    • 22. Notify Librarian if a adult membership has expired.
    • 23. Librarian should be given an option to check in a book, if it is the same isbn and copy number
    and shows as checked out.
    • Only a valid librarian may have access to these operations.
    (Valid ID, password and user group for access)
  • 24. David S. Pitcher dpitcher75@hotmail.com
    8
    Library Patron Information Screen
  • 25. Check Out Items
    David S Pitcher dpitcher75@hotmail.com
    9
  • 26. David S Pitcher dpitcher75@hotmail.com
    10
    Add Adult & Juvenile Member
  • 27. David S Pitcher dpitcher75@hotmail.com
    11
    Custom Exception Library Class – SQL and Windows Errors.
  • 28. David S Pitcher dpitcher75@hotmail.com
    12
    Custom Exceptions called from Library Classes (Used in all visual classes that communicate with the database) , this instance is from the AddAdult.cs
  • 29. David S Pitcher dpitcher75@hotmail.com
    13
    Data Access Layer communicates with the SQL Server database through the Entities Layer (DP.LibraryEntities). These are identified as views or as stored procedures if additions or modifications are required to the data. Following are some of those stored procedures.
  • 30. David S Pitcher dpitcher75@hotmail.com
    14
    Add Adult Stored Procedure
    Transaction based
    Validation on input
  • 31. David S Pitcher dpitcher75@hotmail.com
    15
    Called view - ‘VItems’
  • 32. Phase #3 – New requirements and change of scope.
    David S Pitcher dpitcher75@hotmail.com
    16
    The new requirements ask us to convert the current Library management system into a web based application. Keeping all the functionality of the previous application while adding functionality to add new items to the system as well as automatically update a membership of an adult.
    • Create a ASP master page to provide a familiar and definite pattern across all web pages.
    • 33. Keep a similar look and feel in the web application as in the windows form application.
    • 34. Restrict access to the web application through the use of Membership Roles .
    • 35. Use the ViewState and SessionState for post backs.
    • 36. Reuse of both the Business and Data Access layers.
    • 37. Use exception handling the will give the user both client & server side understand able error
    messaging.
    • Use of hyperlinks to navigate to all pages (master page)
    • 38. Web application to use Form-based authentication and authorization.
  • David S Pitcher dpitcher75@hotmail.com
    17
    ASP.NET version of Add Adult
    • Uses client side validation
    • 39. Catch’s both server & client side errors.
    • 40. Validation Summary used for centralized user error messaging.
    • 41. Required and validated fields all cued for errors.
    • 42. Update Panel & Update Progress - Ajax controls used to display and update data.
  • David S Pitcher dpitcher75@hotmail.com
    18
    Additional Screen Shots for the Check inout and Add Item ASP pages.
  • 43. David S Pitcher dpitcher75@hotmail.com
    19
    Phase #4 – Additional Requirements.
    As the Library has the potential to acquire additional libraries and create partnerships with others, a need arises the current system allow for interoperability with those systems.
    To achieve that goal, the following changes will need to take place in our web application.
    • Create a Windows Communication Service that calls the into the business layer
    (Code Reuse )
    • Modify the current user interface to call the WCF service and not the business layer.
    • 44. Implement as a WCF Service website, using WsHttpBinding.
    • 45. Authentication using ASP.NET membership
    • 46. Authorization using ASP.NET roles (PrincipalPermission)
    • 47. Use DataContracts for the entities.
    • 48. Support ALL previous project functionality.
  • David S Pitcher dpitcher75@hotmail.com
    20
    Coding for the security and custom Error handling.
  • 49. David S. Pitcher dpitcher75@hotmail.com
    21
    Implementing the Library Interface, Service Classes
  • 50. David S. Pitcher dpitcher75@hotmail.com
    22
    Library Fault class
  • 51. David S. Pitcher dpitcher75@hotmail.com
    23
    Web config & App config settings
  • 52. David S. Pitcher dpitcher75@hotmail.com
    24
    Summary
    SetFocus provides a learning environment very similar to what I have
    experienced in my role as a consultantcontractor.
    Business requirements are gathered, documentation is written (requirements and scope of project) and the developer will work in the guidelines of the shop to deliver what was in the requirements.
    Each phase of the project required 40-60 hours of work to complete, no extensions or reduction of requirements was allowed.
    All of the technologies specified in the requirements was expected to be incorporated into that particular phase of the project
    (i.e. ADO.NET, LINQ etc.)
    Students were expected to find the answers to there questions raised about a phase of the project, within the documentation and training provided. Though instructors and TA’s were available the student was never given a direct answer , but always directed to where they might find the answer.