SADR

Document Sample
SADR Powered By Docstoc
					HU TRAVEL CENTER




  SYSTEMS ANALYSIS
         &
   DESIGN REPORT


           BY

         NICOLE
          COOK




 TECHNICAL SOLUTIONS INC.
Table of Contents
STATEMENT OF SCOPE ............................................................................ 3
  SCOPE STATEMENT ........................................................................................................................................ 4

CONTEXT DIAGRAM.................................................................................. 6
  WHAT IS A CONTEXT DIAGRAM? ................................................................................................................... 7
   Figure 1: HU Travel Center Context Diagram ........................................................................................ 8

USE CASE DIAGRAM .................................................................................. 9
  WHAT IS A USE CASE DIAGRAM? .................................................................................................................. 10
   Figure 2: HU Travel Center Main Use Case ......................................................................................... 11
   Figure 3: HUTC Faculty Use Case ........................................................................................................ 12
   Figure 4: HUTC Chair Use Case ........................................................................................................... 13
   Figure 5: HUTC Dean Use Case ........................................................................................................... 14
   Figure 6: HUTC Provost Use Case........................................................................................................ 15
   Figure 7: HUTC Purchasing Use Case .................................................................................................. 16
   Figure 8: HUTC System Admin Use Case .............................................................................................. 17

MVC FRAMEWORK ............... ERROR! BOOKMARK NOT DEFINED.18
  WHAT IS MVC FRAMEWORK?...................................................................................................................... 19
   Figure 9: Class View Diagram............................................................................................................... 20
   Figure 10: Class Controller Diagram .................................................................................................... 21
   Figure 11: Class Model Diagram .......................................................................................................... 22

SEQUENCE DIAGRAM .......... ERROR! BOOKMARK NOT DEFINED.23
  WHAT IS A SEQUENCE DIAGRAM? ................................................................................................................ 24
   Figure 12: Login Sequence .................................................................................................................... 25
   Figure 13: Review Request Sequence ..................................................................................................... 26

PROTOTYPE............................. ERROR! BOOKMARK NOT DEFINED.27
  PROTOTYPE .................................................................................................................................................. 28
STATEMENT
    OF
  SCOPE
                           Scope Statement


Project Name:       HU Online Travel Center (HUTC)
Department:
Project Manager:    Nicole Cook
Date:               November 13, 2008



Prepared By

 Document Owner(s)                        Project/Organization Role
 Ms. Jones-Smith                           Project Sponsor


Project Closure Report Version Control
 Version    Date         Author           Change Description
 1.1        9/27/2008     Nicole Cook      Created document.

 1.2        9/30/2008     Nicole Cook      Revised Document

 1.3        10/17/2008    Nicole Cook      Revised Document

 1.4        11/4/2008     Nicole Cook     Updated Document

 1.5        11/10/2008    Nicole Cook      Updated Document

 1.6        11/13/2008    Nicole Cook      Updated Document
Project Justification
 The HU Travel Center provides travel reservations for university personnel and students.
 Currently all activities are handled by the customer service representatives. There is
 currently no online system that allows authorized personnel to make their own travel
 arrangements.
Project Product

 Online travel booking and confirmation site for the HU Travel Center.


Project Deliverables
 Scope Statement         Use Case Diagrams       Sequence Diagrams       Prototype
 Context Diagram         MVC Framework           SADR

Project Objective
 The goal of the HU Travel Center is to provide an online system that would allow
 authorized personnel to make an online request for travel and upon completion send
 authorization confirmation. The site should provide an intuitive experience and be user
 driven with online help when needed. In order for the HU Travel Center to meet this goal,
 users should be able to check for and book available flights, car rentals, and hotel
 reservations. Users should also be able to accept reservations real-time from the internet.
 The booking system should allow departmental accounts to be charged and request
 authorization confirmations before the accounts are charged.
System Capabilities
        User should be able to check and book flights, car rentals, and hotel reservations
        Users should be able to accept reservations real-time from the internet
        System should allow departmental accounts to be charged
        System should request authorization confirmations from the chair, dean, provost, and
         purchasing before the department account is charged


Tangible/Intangible Benefits
 The proposed system will lead to the tangible benefits of decreased processing time,
 decrease in the number of people who handle the request, An intangible benefit of the
 proposed system includes improved customer satisfaction due to a quicker response for
 booking request and easier booking process.


 Overall Project Priority:
   High      Medium        Low
 Comments:

 Approved By:       _____________________________
 Project Manager :      _______Nicole Cook______                Date: 11/13/2008
CONTEXT
DIAGRAM
What is a Context Diagram?


       A data flow diagram of the scope of an organizational system that shows the
       system boundaries, external entities that interact with the system and the major
       information flows between the entities and the system.

       Components:

                  External Entities: External entities are also known as terminators,
                  sources/sinks, and actors. External entities define the sources and
     Entity       destinations of information entering and leaving the system. An
                  external entity can be a person, system, or organization that has pre-
                  defined behavior.

                  An external entity is outside the domain, or context, of the business area
                  that is under analysis.

                  Central Process: The central or parent process represents the business
                  system that is the target of analysis. It is the highest level process that
                  receives inputs of data from external entities and transforms that data
   System         into outputs to the external entities. Provide a brief description (i.e., one
                  page or less) of the central process outlining at a high level the major
                  functionality of the business system under review.


                  Data Flows: Data flows are the pipelines through which data are
                  transmitted between the external entities and the business processes.
                  They represent the information that flows between the two.



    Data Store


                  Data Store: The data the user wants to access, such as the data in a
                  database, file, or array.
                                                                                                                                                             Dean
                                                                                                                                                                                                                                                                                  Su
                                                                                                                                                                                                                                                                                     b




                                                                                                                                                                                                                ion
                                                                                                                                                                                                                                                                        mi
                                                                                                                                                                                                                                                                           tT
                                                                                                                                                                                                                                                                        C a r a ve       Ch
                                                                                                                                                                                                                                                                   ec      n       l
                                                                                                                                                                                                                                                            A         k R ce l R e c
                                                                                                                                                                                                                                                                                R       eip
                                                                                                                                                                                                                                                           SupproRev equ eq
                                                                                                                                                                                                                                                                                     u      ts




                                                                                                                                                                                                     rmation
                                                                                                                                                                                                                                                                                                                                            Provost




                                                                                                                                                                                                     tion Status
                                                                                                                                                                                                                                                              b         i




                                                                                                                                                                                                   on Form




                                                                                                            Chec
                                                                                                                                                                                                                                                          Re mit ve/Rew isitio est




                                                                                                            Subm
                                                                                                            Appro
                                                                                                                                                                                                                                                            qu Tr ejeRe n




                                                                                                                                                                                                dget
                                                                                                                                                                                                                                                                es av ct qu Sta




                                                                                                            Submit Tr
                                                                                                                                                                                                                                                              Ch t Re el R Re isiti tus




                                                                                                                 k Req


                                                                                                                  it Tra
                                                                                                                   Canc
                                                                                                                                                                                                                                                                  ec qu eq qu on




                                                                                                                     Login
                                                                                                                                                                                                                                                                    k is u es




                                                                                                                                                                                          rn Requisi




                                                                                                                                                                                         Verify Lo
                                                                                                                                                                                                                                                                 Lo Bud ition isitio t
                                                                                            mission




                                                                                                                                                                                        Return Requisition
                                                                                                                                                                                                                                                                                            gin       o




                                                                                                                         ve l R
                                                                                                                                                                                       Cancel Confi
                                                                                                                                                                                                                                                                    gin ge Fo n




                                                                                                               Revie uisitio
                                                                                                                          el Re
                                                                               eceipt Sub n                                                                                                                                                                                   t      rm  Lo t Inf rm




                                                                                                                                                                                     Return Bu gin
                                                                     Confirm R




                                                                                                               Check Budget
                                                                                                                                                                                                                                                                                                       o




                                                                                                                                                                                     Retu
                                                                                                                                                                                    Confirm Receipt Submiss
                                                                                                   s
                                                                                                                                                                                                                                                                                     rify ge




                                                                                                                       avel Req
                                                                                      rmatio




                                                                                                                   ve/R equis




                                                                                                                                e ce
                                                                                                                                                                                    Confirm Rejection/Approval
                                                                              el




                                                                                                                                                                                   Submission Confirmation
                                                                                                                                                                                   Return Requisiti Info
                                                                                 Confi ition Statuoval                                                                                                                                                                            Ve n Bud ition F tion
                                                                                                                                                                                                                                                                                     r        s




                                                                                                                                 ques
                                                                                                                                                                                                                                                                                                        a




                                                                                                                                        t
                                                                        Canc Requis n/Appr




                                                                                                                                     ipts
                                                                            rn            o




                                                                                                                         eject R ition
                                                                                                                                                                                                                                                                                  etu equi nfirm n




                                                                                                          Request Requisition Form
                                                                       Retu                                                                                                                                                                                                     R R




                                                                                                                                   eques
                                                                                                                                                                                                                                                                                                                    l




                                                                                                                       w R n Status
                                                                                                                                                                                                                                                                                              Co       itio




                                                                                                                                           t
                                                                                                                                                                                                                                                                                    n
                                                                                   ejecti isition
                                                                              rm R          u




                                                                                                                                    uisition
                                                                                                                                                                                                                                                                                 tur sion equis pprova
                                                                                                                                                                                                                                                                                                       /A us
                                                                        Confi eturn Req firmation
                                                                              R          Con                                                                                                                                                                                  R e mi s n R
                                                                                 ission           Form                                                                                                                                                                          ub etur ection Stat
                                                                                                                                                                                                                                                                              S R           ej                                  ion
                                                                                                                                                                                                                                                                                                     ion on                i ss
                                             Chair                                                                                                                                                                                                                                      m R isit ati                    bm
                                                                           Subm Requisition
                                                                                                t Info
                                                                            Return       Budge                                                                                                                                                                                     nfir Requ nfirm                   Su
                                                                                                                                                                                                                                                                                C o rn C o
                                                                                                                                                                                                                                                                                            l                    pt
                                                                                                                                                                                                                                                                                    tu                      ce i
                                                                                 Return Login
                                                                                    Verify                                                                                                                                                                                       R e a n ce              Re
                                                                                                                                                                                                                                                                                    C




Figure 1: HU Travel Center Context Diagram
                                                                              Login                                                                                                                                                                                                              n firm
                                                                                                                                                                                                                                                                                    ble       Co
                                                                         Check                                                                                                                                                                                                                                    dget Availa
                                                                    Request Re Budget                                                                                                                                                                                                                rtmental Bu
                                                                                quisition Fo
                                                                                             rm
                                                                                                                                                                                                                                                                                          Verify Depa view Requisition
                                                                                                                                                                                                                                                                                                     Re
                                                                   Submit Tra                                                                                                                                                                                                                                       equest
                                                                  Approve/Revel Requisition                                                                                                                                                                                                               /Reject R
                                                                              ject Request                                                                                                                                                                                                        Approve        rvation
                                                                       Review Requisit                                                                                                    HU Travel Center
                                                                                         ion                                                                                                                                                                                                         M ake Rese
                                                                  Check Requisition Stat
                                                                                           us                                                                                              Online System                                                                                                   Login
                                                                     Cancel Request                                                                                                                                                                                               Retu                Verify
                                                                                                                                                                                                                                                                                          rn Av                Login
                                                                                                                                                                                                                                                                                                ailab
                                                                Submit Travel Receipts
                                                                Re Co                                                                                                                                                                                                                                 le D
                                                                  turn nfir                                                                                                                                                                                                                       Con epartme
                                                                                                                                                                                                                                                                                                                       ntal B
                                                                                                                                                                                                                                                                                                   R firm Re                                          Purchasing
                                                                        Re m Re
                                                                            qu    ce
                                                                                                                                                                                                                                                                                              Con eturn Re servati udget In
                                                                 Su Cance isition ipt Sub
                                                                    bm                                                                                                                                                                                                            Co              firm           q       o         fo
                                                                                                                                                                                                                                                                                      nfir              Reje uisitionn
                                                                 Re issi l Con Status missio
                                                                   tur       on    fi        n                                                                                                                                                                            Co               m                   ction
                                                                       n        C rma                                                                                                                                                                                        nfir            For                     /App
                                                                                                                                                                                                                                                                                  mA                                      r o va
                                                                                                                                                                                                                                                                                                 ma                              l
                                                                  Re Req onfir tion
                                                                     tur      uis     ma
                                                                                         t                                                                                                                                                                                            dd/
                                                                                                                                                                                                                                                                                           Re        tU
                                                                                                                                                                                                                                                                                                        pda
                                                                                                                                                                                                                                        Ma




                                                                                                                                    Ret
                                                                   Ve n Bud ition F ion                                                                                                                                                                                     Ve                mo             te
                                                                                g      o                                                                                                                                                                                                         ve
                                                                                                                                                                                                                                         ke




                                                                       rify                                                                                                                                                                                                     rify


                                                                                                                                    Subm
                                                                                                                                                                                                                                                                                     Lo    t        Ac




                                                                                                                                       u rn
                                                                                                            rm
                                                                            Lo et In rm                                                                                                                                                                                                un
                                                                                                                                                                                                                                                                                        gin            co u
                                                                                                                                                                                                                                             Re




                                                                                                                                                                                                         View




                                                                              gin fo                                                                                                                                                                                                co
                                                                                          gin et Fo n                                                                      Chec                                                                                                                             nt
                                                                                                                                                                                                                                                                            gin
                                                                                                                                                                                                                                                s




                                                                                                                                                                                          Requ
                                                                                                                                                                                                           Ver




                                                                                                                                          it Re
                                                                                                                                                                                                                                                                                          t



                                                                                                                                             Req
                                                                                        Lo udg ition sitio                                                                                                                                                               Lo ve Ac
                                                                                                                                                                                                                                                                                        a
                                                                                                                                                                                                               ify
                                                                                                                                                                                                                                               e rv




                                                                                            B is ui t s                                                                                                                                                                      o
                                                                                          k
                                                                                                                                                                                                              Acc




                                                                                                                                                                       k Re
                                                                                                                                                                                                                                                                          em       o rm
                                                                                        ec qu eq es atu
                                                                                                                                                                                                                                                    ati




                                                                                                                                                                                  e st F




                                                                                                                                                 ues
                                                                                                                                                                                                                                                                      d/R


                                                                                                                                                     t
                                                                                                                                                                                                                                                                                 eF
                                                                                                                                                                                                                                                     on




                                                                                     Ch t Re el R equn St                                       ceipts
                                                                                                                                                                                                                    oun




                                                                                                                                                                                                                                                                   Ad         Sit
                                                                                                                                                                                                                   login
                                                                                                                                                                                                                        t




                                                                                                                                    sion
                                                                                                                                                                                                                                                                           te
                                                                                                                                                   ques

                                                                                        es rav el R itio ts
                                                                                     qu T c is               ip
                                                                                                                                                                                                                                  on




                                                                                                                                                                                                                                                                        da
                                                                                                                                                                                        orm to




                                                                                  R e m i t C a n e q u e ce                                                                                                                                                         Up
                                                                                       b
                                                                                                                                                                                                                          re q u




                                                                                                R lR
                                                                                                                                                        t Sta



                                                                                    Su
                                                                                                                                               tus

                                                                                                                                  ubmis
                                                                                                                                                                                                                            rmati
                                                                                                                                                                                                                           w




                                                                                            ck a ve
                                                                                                                                                                                                                                 e st




                                                                                          e r
                                                                                                                                                              tus
                                                                                                                                                           Crea




                                                                                       Ch it T                                                                                                                                                                                                                             System Administrator
                                                          lty                             m
                                                                                                                                           t Sta



                                                     Facu
                                                                                                                                                                                                                     t Vie
                                                                                                                                                                                                                                                      tion




                                                                                                                                                                                                                     t Info




                                                                                       ub
                                                                                                                            eipt S


                                                                                      S
                                                                                                                  t
                                                                                                                                                                                                                                                          r va




                                                                                                                                                                  te Tra




                                                                                                                           ec
                                                                                                                                       ques

                                                                                                                              R
                                                                                                                                                                                                              co u n
                                                                                                                                                                                                              co u n




                                                                                                                                                         rm




                                                                                                                 ues
                                                                                                                                                                                                                                                            e se




                                                                                                                                                                         ve l R



                                                                                                                                   rn Re




                                                                                                            Req
                                                                                                                                                                                                                                                                 mR




                                                                                                                                                                                                        rn Ac
                                                                                                                                                                                                        rn Ac




                                                                                                                                                     rn Fo



                                                                                                                       onfirm



                                                                                                             w
                                                                                                                                                                                                                                                                   nfir




                                                                                                                                                                                eque




                                                                                                                       C
                                                                                                                                  Retu
                                                                                                                                                                                     st
                                                                                                                                                                                                   Retu
                                                                                                                                                                                                   Retu




                                                                                                         Vie
                                                                                                                                                 Retu
                                                                                                                                                                                                                                                                     Co




                                                                                                                       Requsitions                                                               Employee Accounts                                                        Reservations
USE CASE
DIAGRAMS
What is a use case diagram?


     A use case diagram is “a diagram that shows the relationships among actors and
     use cases within a system.” Use case diagrams are often used to:

                          Provide an overview of all or part of the usage requirements for a
                           system or organization in the form of an essential model or a business
                           model
                          Communicate the scope of a development project
                          Model your analysis of your usage requirements in the form of a
                           system use case model

     Components:




       Actor
               Actor: An actor is a person, organization, or external system that plays a role
               in one or more interactions with your system

   Use Case

                Use Case: A use case describes a sequence of actions that provide a
               measurable value to an actor. A use case is drawn as a horizontal ellipse on a
               UML use case diagram


               Relationships: There are several types of relationships that may appear on a
                use case diagram:

                           An association between an actor and a use case
                           An association between two use cases
                           A generalization between two actors
                           A generalization between two use cases

                Associations are depicted as lines connecting two modeling elements with
                an optional open-headed arrowhead on one end of the line indicating the
                direction of the initial invocation of the relationship. Generalizations are
                depicted as a close-headed arrow with the arrow pointing towards the more
                general modeling element.

               System Boundary Box: The rectangle around the use cases is called the
               system boundary box and as the name suggests it indicates the scope of your
               system – the use cases inside the rectangle represent the functionality that you
               intend to implement.
Figure 2: HU Travel Center Main Use Case




                                                                                                                                          Automated
                                                                                                                                     *      E-mail
                                                                    HU Travel Center System
                                                                        Main Use Case
                          Confirm Request
                                                                                                         *
                                                                                                                                     «extends»        No
                            «uses»                       Save Request                                                                                       «uses»
                                                                                     Approve/Reject
   Faculty                                                                                                           Stay-in Marriot
                                                                                        Request
     *                                                          «extends»                                    «extends»
                      Submit Travel                                                  «extends»                                                             15% Surcharge
                        Request                 «extends»
                                «extends»                                                                           «extends»        Student Travel «uses»

                                                                Create New Request
                                                                                              View Request                                                   10% Discount
                                        Check Request
   Chair                                   Status                                «extends»                                      Make Reservation
    *                                                                                        «extends»         «extends»
                                                                  «extends»

                                                                                                                         «extends»                Cancel Request
                                                                 «extends»
         *                             Submit Receipts
                                                                                          Account Menu                                                                          *   Banner
                                                                                                                         «extends»
                                                                                                             «extends»                                                      *
    Dean
                                                                                                                                                       Check Budget
                                          Login Error                   «extends»
                                                                                          «extends» «extends»
                                                                                                                     View Site Tutorial
                                       «uses»       «extends»
              *
                      *
                      *                                                                                                                   «extends»
                  *                             «uses»
   Provost
                                                             Verify Login
                               Login
                  * *                                                                                            Request Travel
              *                                                                                                     Reports
                                                                                     Modify System                                                     Edit Tutorial
                      *                                                                                                              «extends»


                                                                              «extends»          «extends»
                                                                                                                                            Print Reports
 Purchasing


         *
                                                                Update Site Format
                                                                                             Add/Remove Account




System Admin
Figure 3: HUTC Faculty Use Case

                                             HU Travel Center System
                                                Faculty Use Case



                           Confirm Request                       Save Request


                                  «uses»                           «extends»



                                                    «extends»
                             Submit Travel                      Create New Request
                               Request


                             «uses»
                                                                                                                                      Banner
                                                                                               Cancel Request
                                                                                                                                  *
                                                                   «extends»

                                                                                      «extends»
                      Check Request
                                              «extends»                                                                       *
                         Status
                                                                                       «extends»         Check Budget

                                                                 Account Menu
                                        «extends»

                                                                                        «extends»
                Submit Receipts
                                                          «extends»         «extends»

                                     Login Error                                                         View Site Tutorial
                                                   «extends»
                            «uses»


                                                                                     Request Travel
Faculty                                    «uses»        Verify Login
      *                                                                                 Reports
                         Login
            *
                                                                                           «extends»




                                                                                              Print Reports
Figure 4: HUTC Chair Use Case

                                      HU Travel Center System
                                          Chair Use Case                                                                  Automated
                                                                                                                      *     E-mail



               Confirm Request          Save Request
                                                                                       *


                                                                      Approve/Reject
                   «uses»                     «extends»                  Request


                                                                         «extends»


                                 «extends»                                                       Cancel Request
                                                                                                                               Banner
                Submit Travel
                  Request                    Create New Request
                                                                        View Request
                     «extends»                                                                                             *

                                                                                           «extends»
                                                          «extends»      «extends»

                      Check Request
                                                                                                                  *
                         Status                   «extends»
                                                                                     «extends»
                                                                                                 Check Budget

                                              «extends»                Account Menu

                                                                                   «extends»
               Submit Receipts

                                                                      «extends»

                                  Login Error             «extends»                    View Site Tutorial

                        «uses»
                                             «extends»
Chair
    *                                                             Request Travel
                                                                     Reports
                    Login          «uses»
                                                                           «extends»
           *
                                                 Verify Login


                                                                          Print Reports
Figure 5: HUTC Dean Use Case

                                             HU Travel Center System
                                                 Dean Use Case                                                                     *   Automated
                                                                                                                                         E-mail


                                                    Save Request
                  Confirm Request
                                                                                                           *


                      «uses»
                                                     «extends»                          Approve/Reject
                                                                                           Request

                                                                                      «extends»
                   Submit Travel «extends»
                     Request
                                              Create New Request             View Request              Cancel Request
                                                                                                                                             Banner
                         «extends»

                                                        «extends»         «extends»                                                      *
                                                                                          «extends»



                           Check Request          «extends»
                                                                                        «extends»                              *
                              Status
                                                                  Account Menu
                                         «extends»                                                             Check Budget
                                                                                         «extends»
                 Submit Receipts
                                                              «extends»
                                                                            «extends»
                                                                                                          View Site Tutorial

                                    Login Error
                                                  «extends»
                           «uses»


                                           «uses»         Verify Login            Request Travel
       *
                                                                                     Reports
                         Login
             *
                                                                                              «extends»
Dean




                                                                                                  Print Reports
Figure 6: HUTC Provost Use Case

                                                  HU Travel Center System
                                                     Provost Use Case                                                                *   Automated
                                                                                                                                           E-mail
                                                             Save Request
                                                                                                        *

                                                             «extends»
                  Confirm Request                                                  Approve/Reject
                                                                                      Request

                         «uses»                                                    «extends»
                                                    Create New Request
                                        «extends»


                   Submit Travel
                     Request                                                   View Request                                                    Banner
                                                             «extends»                                  Cancel Request
                              «extends»
                                                                            «extends»                                                      *
                                                                                            «extends»
                                       Check Request
                                          Status     «extends»

                                                                                          «extends»                              *
                                                                    Account Menu
                                              «extends»                                                           Check Budget

                                                                                         «extends»
               Submit Receipts
                                                                «extends»
                                                                                «extends»


                                                                                                            View Site Tutorial
                                                   «extends»
                                  Login Error


                                                                Verify Login
                              «uses»                                                    Request Travel
                                                    «uses»                                 Reports
          *

                                                                                               «extends»

Provost                               Login
                     *


                                                                                                 Print Reports
Figure 7: HUTC Purchasing Use Case

                                            HU Travel Center System
                                             Purchasing Use Case

                           *                                               «extends»     No          «uses»
              *
 Automated                                                Stay-in Marriot                                  15% Surcharge
                                 Approve/Reject
   E-mail                           Request
                                                       «extends»
                                          «extends»
                                                                                               «uses»
                                                                             Student Travel
                                                                    «extends»
                                                                                                         10% Discount

                                                  View Request


                                                                                                                                   Banner
                                                                                                                               *
                                                        «extends»
                                                                                                                           *
                           Make
                         Reservation                                                                    Check Budget
                                           «extends»                               «extends»



                                                            Account Menu
                                                                                    «extends»


                                                       «extends»            «extends»
                                                                                                    View Site Tutorial

                      Login Error       «extends»



                      «uses»                                                       Request Travel
                                                     Verify Login
                                                                                      Reports
                                        «uses»

          *
                                                                                               «extends»
                         Login
                  *
 Purchasing




                                                                                               Print Reports
Figure 8: HUTC System Admin Use Case




                                              HU Travel Center System
                                              System Admin Use Case
                                                                                                        Edit Tutorial


                                                                                                        «extends»




                                                           Login Error                             View Site Tutorial
                                             «uses»

                                                                                                    «extends»

                                  Login                «extends»
                             *

                                          «uses»                                          Account Menu

                                                                          «extends»

                    *                              Verify Login                        «extends»




                                                                                 Modify System
          System Admin
                                                                     «extends»
                                                                                            «extends»


                                                   Update Site Format


                                                                                           Add/Remove Account
   MVC
FRAMEWORK
What is MVC framework?



       Model-View-Controller (MVC) framework is a design pattern that aims to
modularize an application into 3 parts. The model represents the data for the application;
the view represents the presentation; and the controller ties these two together and deals
with user input. MVC is traditionally associated with GUI development.

The view obtains data from the model and presents it to the user. The view represents the
output of the application.

The view generally have free access to the model, but should not change the state of the
model. Views are read only representations of the state of the model. The view reads data
from the model using query methods provided by the model.

The controller receives and translates input to requests on the model or view.

The controllers are typically responsible for calling methods on the model that change the
state of the model. In an active model, this state change is then reflected in the view via the
change propagation mechanism. In the passive model, the controller is responsible for
telling the view when to update.

The model encapsulates the functional core of an application, its Domain Logic. The goal
of MVC is to make the model independent of the view and controller which together form
the user interface of the application. An object may act as the model for more than one
MVC triad at a time.

Since the model must be independent, it cannot refer to either the view or controller
portions of the application. The model may not hold direct instance variables that refer to
the view or the controller. It passively supplies its services and data to the other layers of
the application.



       Components:

                 Class: A class is a cohesive package that consists of a particular
                 kind of metadata. It describes the rules by which objects behave

         Class Name
        -Attributes
        +Operations()
Figure 9: Class View Diagram




                                                                                             MVC
                                                                                          Framework
                          *
                                                                                                  *                                                        *
                                                                                                  ***

                      View
                                                                                         Controller                                                      Model
                       *
                      *

                  Login_View
              +UName : String
              -Password : String
              +Display()
              *
                                            *
              **
       Account_View
                                   Login_Not_Found_
    +UName : String                                                    Login_Retrieval_View
                                         View
    +LastName : Single                                                 -SSN : String
    +FirstName : String            +Display()                     **   +Display()
    +Department : String
    +Position : String
    +Address : String
    +Display()
                                                                                                                                                                                   *
          *                                     *

                                                    *                                             *                                **
                                                                                             *                                                                      **         *
   *          *                                                                                                                                                                        *
                                   Request_Requsition_Form_View                        Submit Receipt View          Travel_Request_Report_View                 Tutorial View
   Check_Budget_View               +Create New : Object                             +select file : Object           +eName : String
  -Fiscal Year : Object            +Open Saved : Object                             +Select requisition : Object    +eID : Integer
                                                                                    -submit : Object                +Department : String                       +Display()
  +View_Budget() : Object          +Display()
  +display()                                                                        +Display()                      +Tavel Date : Date
                                                *
                                                                                                                    +Travel Total : Integer
                                               *
                                                                                                                    +Budget Amount : Integer
                                   Return_Create_Requisition_View                                                                                                        *
   Return_Budget_View                                                                                               +Display()
                                   +eID
   -Budget_Year : String
                                   +eName : String
   -Fund Source : String                                                                                                           *              Verify_Available_Budget_View
                                   +Traveler : String
   -Amount : Integer                                                            Confirm_Receipt_Submission_View
                                   +Travel Purpose : String                                                                                       -Department : String
   +Display()                      +Location : String                                                                                             +Fiscal year : Date
                                   +Travel Date : Date                          +Display()                                                        +Display()
                                   +Hotel : String                                                                             *
                                   +Hotel Amount : Integer
                                                                                                                                                                     *
                                   +Flight ID : String
                                                                                                               Return_Travel_Request_Report_View
                                   +Flight Amount : Integer
                                   +Car Rental Amount : Integer                                               +printReport : Object
                                   +Travel Total : Double                                                     +Display()                                        *
                                   +Submit Request() : Object
                                   +Display()                                                                                                 Return_Available_Budget_View
                                                     *
                                              *
                               Submitted_Requisition_Confirmation_View                                                                        +Display()

                               +Display()                                                                                                                                              *   *
                  *

                                                                                                *                                             *
                                                               *                                                                              *
                      *                                         *                             *
                      *                                                                                                                 Update_System_View
                                                                                         Make_Resevation_View
                                                        Check Request Status
                                                                                       +Travel Date : String                    -edit tutorial : Object
  Approve/Reject_Request_View                           +RequestNum : String
                                                                                       +Hotel : String                          -Add/Remove Account : Object
                                                        +Status : String
                                                                                       +Flight Number : String                  -Update Form : Object
                                                        +Cancel : Object
  +Display()                                                                           +Car Rental Company : String             +Display()                   *
                                                        +Display()                     -Car Size : String
                                                                                                                                        *
                      *
                      *                                       *                        +Display()                                       *            *         Add/Remove Account
                                                                  *
                                                                                                                              Edit_Tutorial_View               +eID : Integer
   Confirm Reject/Approve View              Cancel Request Confirmation View                              *
                                                                                                 Confirm_Reservation_View                                      +eName : String
                                                                                                         *
                                                                                                                                                               +Department : String
                                                                                                                              +Display()                       -Add : Object
   +Display()                                                                                    +Display()                                                    -Remove : Object
                                                                                                                                                               +Display()
Figure 10: Class Controller Diagram




                                                                                        MVC
                                                                                     Framework
                          *
                                                                                          *                                                      *
                                                                                          ***

                      View
                                                                                    Controller                                                Model
                                                                                          *

                                                                                        *
                                                                                    Login_Controller
                                                                   +UName : String
                                                                   -Pword : String
                                                                   +Display()
                                                                   +getLogin(in Uname : String, in Pword : String)
                                                                    *              *                               *

                                                                                          *                 Login_Not_Found_
                                                             Account_Controller                                                          Forgot_Login_Controller
                                                                                                                Controller
                                                             +UName : String                                                             -SSN : String
                                                             +LastName : Single
                                                                                                            +Display()              **   +getSSN()
                                                             +FirstName : String
                                                             +Department : String
                                                             +Position : String
                                                             +Address : String
                                                             +getAccount()                                                                                       *
          *                                                                                                                  *
                                                         *
                                                                                           *                                *                          *                       *
              *                               *
                                    Request_Requsition_Form_Controller                *                       Travel_Request_Report_Controller                    *
    *
                                                                                                                                                               *
                         +Create New : Object                                Submit Receipt Controller      +eName : String
 Check_Budget_Controller +Open Saved : Object                                                               +eID : Integer
                                                                             +select file : Object
                         +getFrom()                                                                         +Department : String                         Tutorial Controller
 -Fiscal Year : Object                                                       +Select requisition : Object
                         +Display()                                                                         +Tavel Date : Date
 +display()                                                                  -submit : Object
                                                                                                            +Travel Total : Integer
 +getBudget()                             *                                  +Display()                     +Budget Amount : Integer                     +Display()
                                        *
                                                                                                            +getDeptRecord(in eName : String, in
                                    Return_Create_Requisition_Controller                                    eID : Integer, in Department : String, in
 Return_Budget_Controller
                                    +eID                                                                    TavelDate : Date, in TravelTot : Integer,
 -Fund Source : String                                                                                      in Budget : Integer)                      *
                                    +eName : String                                                                           *
 -Amount : Integer                                                                                          +Display()
                                    +Traveler : String
 +Display()                         +Travel Purpose : String
                                    +Location : String                                                                               Verify_Available_Budget_Controller
                                                                               Confirm_Receipt_Submission_Controller
                                    +Travel Date : Date                                                                       -Department : String
                                    +Hotel : String                                                                           +Fiscal year : Date
                                    +Hotel Amount : Integer                    +Display()                           *         +getBudget()
                                    +Flight ID : String                                                                       +Display()
                                    +Flight Amount : Integer
                                                                                                  Return_Travel_Request_Report_Contr
                                    +Car Rental Amount : Integer
                                                                                                                      oller                   *
                                    +Travel Total : Double                                        +printReport : Object
                                    -Submit() : Object                                                                                        *
                                                                                                  +Display()
                                    +Display()
                                                     *
                                                                                                                                    Return_Available_Budget_Controller
                                                   *
                              Submitted_Requisition_Confirmation_Controller
                                                                                                                                    +Display()
                              +Display()                                                                                                                             *    *
                  *                                                                                                                  *

                                                        *                                                            *
                                                                                                        Update_System_Controller
                      *                                  *                      *
                      *                                                                                -edit tutorial : Object
                                                                       Make_Resevation_Controller
                                                                                   *
                                             Check Request Status Controller                           -Add/Remove Account : Object
                                                                       +Travel Date : String
Approve/Reject_Request_Controller +RequestNum : String                                                 -Update Form : Object
                                                                       +Hotel : String
                                    +Status : String                                                   +Display()
                                                                                                            *                             *
                                                                       +Flight Number : String
                                    +Cancel : Object
+Display()                                                             +Car Rental Company : String
                                    +Display()                         -Car Size : String           Edit_Tutorial_Controller Add/Remove Account C
                                                                                                            *
              *
              *                                      *                 +Display()                                              +eID : Integer
                                                   *                                      *                                    +eName : String
                                                                                                    +Display()
 Confirm Reject/Approve Controller Cancel Request Confirmation Controller           *                                          +Department : String
                                                                           Confirm_Reservation_Controller                      -Add : Object
                                                                                                                               -Remove : Object
                                                                                                                                            *
 +Display()                                                                                                                    +Display()
                                                                           +Display()
Figure 11: Class Model Diagram




                                                                             MVC
                                                                          Framework


                           *                                                                                                                 *
                                                                              **
                                                                              *




                           View                                          Controller                                                        Model

*                                                                                                                                           **
                     *                                                                                                                    *
                 *                                *                            *                                 *
                                                                               *                             *                          Account_Model
       Requisition_Request_Model                                                                                                       +UName : String
*                                                                       Add/Remove Model                                               +LastName : Single
                                                                                                  Make_Resevation_Model
       +getCompReqForm()                          *                     +eID : Integer                                                 +FirstName : String
                                                                                                 +Travel Date : String
                                                                        +eName : String                                                +Department : String
                                                                                                 +Hotel : String
                                                                        +Department : String                                           +Position : String
                                         Update_System_Model                                     +Flight Number : String
                                                                        -Add : Object                                                  +Address : String
                                                                                                 +Car Rental Company : String
                                       -edit tutorial : Object          -Remove : Object                                               -Pword : String
                                                                                                 -Car Size : String
                                       -Add/Remove Account : Object     +Display()                                                     +Display()
                                       -Update Form : Object                                     +Display()
                                                                                                                                       +getAccount()
                                       +Display()
                                                                                                                                             *
                                                                                                                                             *
                                *                                                                                                                           *
                                                      *                       **                   * *                      **
                                                      *                                         Faculty_Model
                         Chair_Model                                     Provost_Model                               Purchasing_Model            System_Admin_Model
                                                                                               +fname : String       +fname : String
                 +fname : String                  Dean_Model            +fname : String                                                          +fname : String
                                                                                               +lname : String       +lname : String
                 +lname : String                                        +lname : String                                                          +lname : String
                                               +fname : String                                 -eID : Integer        -eID : Integer
                 -eID : Integer                                         -eID : Integer                                                           -eID : Integer
                                               +lname : String                                 -Fssn : String        -PURssn : String
                 -Cssn : String                                         -Pssn : String                                                           -SAssn : String
                                               -eID : Integer                                  +address : String     +address : String
                 +address : String                                      +address : String                                                        +address : String
                                               -Dssn : String                                  -password : String    -password : String
                 -password : String                                     -password : String                                                       -password : String
                                               +address : String                               +phone : String       +phone : String
                 +phone : String                                        +phone : String                                                          +phone : String
                                               -password : String                              +e-mail : String      +e-mail : String
                 +e-mail : String                                       +e-mail : String                                                         +e-mail : String
                                               +phone : String                                 +getFacultyInfo()
                 +getChairInfo()                                        +getProvInfo()                               +getPurchasingInfo()        +getSysAdminInfo()
                                               +e-mail : String
                                               +getDeanInfo()




                                                                                                                                                        *
             *              *                                                        *
                                                                                                         *

                                                                        Travel_Request_Report_Model                                        Verify_Available_Budget_Model
Request_Requsition_Form_Model             +eName : String                                                                                  -Department : String
                                          +eID : Integer                                                                                   +Fiscal year : Date
+Create New : Object
                                          +Department : String                                                                             +getBudget()
+Open Saved : Object
                                          +Tavel Date : Date                                                                               +Display()
+getFrom()                                +Travel Total : Integer
+Display()                                +Budget Amount : Integer
                                          +getDeptRecord(in eName : String, in eID : Integer, in Department : String, in TavelDate :
                                          Date, in TravelTot : Integer, in Budget : Integer)
                                          +Display()
SEQUENCE
DIAGRAM
What is a sequence diagram?



        UML sequence diagrams are used to represent or model the flow of messages,
events and actions between the objects or components of a system. Time is represented in
the vertical direction showing the sequence of interactions of the header elements, which
are displayed horizontally at the top of the diagram.

Sequence Diagrams are used primarily to design, document and validate the architecture,
interfaces and logic of the system by describing the sequence of actions that need to be
performed to complete a task or scenario. UML sequence diagrams are useful design tools
because they provide a dynamic view of the system behavior which can be difficult to
extract from static diagrams or specifications.


       Components:


       Actor            Represents an external person or entity
                        that interacts with the system

       Object           Represents an object in the system or
                        one of its components

       Action           Represents an action taken by an actor,
                        object or unit
       Asynchronous An asynchronous message between
       Message      header elements
       Call Message     A call (procedure) message between
                        header elements
       Message          A simple message between header
                        elements
       Return           A return message between header
       Message          elements
Figure 12: Login Sequence




                                                  Login_View                 Login_Controller          Account_Model               Account_Menu_View




                  Top Package::User

                                                                                                                       Display()

                                      Display()

                                                           getLogin(Uname, Pword)

                                                           getLogin(Uname, Pword)
                                                                                      getAccount(Uname, Pword)




                                                                              Display()
Figure 13: Review Request Sequence




                                    Travel Request Report                     Travel Request Report                       Verify Available Budget
                                            View                                      Model                                      Controller                                   Approve/Reject Request



                     Account_Menu_View                Travel Request Report                           Verify Available Budget                 Verify Available Budget
                                                            Controller                                         View                                    Model




 Top Package::Purchasing



                  Display()




                                               getDeptRecord( )


                                               getDeptRecord( )



                                                                   getDeptRecord( ) Verify Budget Money Available
                                  Display


                                                                                                                      getBudget

                                                                                                                      getBudget
                                                                                                                                          getBudget

                                                                                                                                                                Money Not Available




                                                                                                            Request Rejected

                                                                                                                                                                 Money available




                                                                                                            Request Approved
PROTOTYPE
Prototype


This section shows screenshots of the working website for the Hampton University Travel
Center.

Login Screen
Faculty Account Menu View
Requisition Form Request View
Requisition Form View
Check Budget Views
Submit Receipts
Contact Us View
Site Tutorial View
System Admin Account View
Manage Site View
Add/Remove Account

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:0
posted:10/24/2012
language:Unknown
pages:38