edge presentation ppt

47
THE EDGE Brenda Dean, Cormac Sharpe, John Elmer, Shwetha Kunamalla, Moussa Doumbouya, Sean Keith

Upload: brendadean

Post on 15-Jan-2015

1.113 views

Category:

Documents


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Edge Presentation Ppt

THE EDGEBrenda Dean, Cormac Sharpe,

John Elmer, Shwetha Kunamalla, Moussa Doumbouya, Sean Keith

Page 2: Edge Presentation Ppt

Team Name

Stuck in the middle Suggestion

Page 3: Edge Presentation Ppt

Roles - Leadership

Brenda Project Lead

Moussa Architecture

Cormac Standards Presentation Layer Contributor

Page 4: Edge Presentation Ppt

Roles - Individual

Database Brenda

Business Layer and Data Access Layer Moussa, Sean

Presentation Layer John, Shwetha, Cormac, Brenda

Tester John

Page 5: Edge Presentation Ppt

The Edge Testing Application

The objective of this assignment is to create a windows based application for creating the test that will link to a web based application that will allow participants to respond with the answers to the test.

Page 6: Edge Presentation Ppt

Design Requirements

Use a multi-tiered programming approach when designing the application.

Produce a user interface that is intuitive and requires minimal training for the user.

Employ Framework 2.0, ADO.NET 2.0, ASP.NET 2.0, and SQL Server 2005 technologies.

Create stored procedures for the required functionality.

Page 7: Edge Presentation Ppt

Functional Requirements

Login Page Add Test Taker Edit Test Taker Send Test Open Tests Incidents Question Tests Topics

Page 8: Edge Presentation Ppt

GENERAL ARCHITECTURE OF THE

APPLICATIONPresented by Moussa Doumbouya

Page 9: Edge Presentation Ppt

Architectural objectives

Highly cohesive tiers Loose coupling between tiers Extensibility Maintainability Promote collaboration between

developers Pluggable tiers

Page 10: Edge Presentation Ppt

Assemblies and dependencies

WinClient

BLInterfaceBLImplementatio

n

DALInterfaceDALImplementati

on

Assembly Reference

Dynamic loading. (Reflection)

Page 11: Edge Presentation Ppt

Classes relationship

Form1

ITestBL TestBL

ITestDAL TestDAL

Implements (Inherits)

Uses

Page 12: Edge Presentation Ppt

Dynamic loading configuration

Page 13: Edge Presentation Ppt

Dynamically Loading the tiers

BLTool Loads the business layer Holds the instance through a weak reference

DALTool Loads the data access layer Holds the instance through a weak reference

Page 14: Edge Presentation Ppt

Example. Loading the Business layer

Page 15: Edge Presentation Ppt

Plug in a new BL or DAL

Write a class that implements ITestDAL or ITestBL in a new assembly

Copy the assembly in the application folder

Update the configuration file Start the application

Page 16: Edge Presentation Ppt

BUSINESS / DATA ACCESS LAYER

OVERVIEWSean Keith

Page 17: Edge Presentation Ppt

Business Layer Class Diagram

Page 18: Edge Presentation Ppt

Data Access Layer Class Diagram

Page 19: Edge Presentation Ppt

Entities Class Diagram

Page 20: Edge Presentation Ppt

TestEmailTemplate XML File

Page 21: Edge Presentation Ppt

Error handling in the DAL

Page 22: Edge Presentation Ppt

Error handling in the BL

Page 23: Edge Presentation Ppt

Error Logging Method

Page 24: Edge Presentation Ppt

ErrorCode Enum

Page 25: Edge Presentation Ppt

EdgeTestException Class

Page 26: Edge Presentation Ppt

USER INTERFACE ARCHITECTURE &

STANDARDS

Cormac Sharpe

Page 27: Edge Presentation Ppt

The User Interface - Login

Page 28: Edge Presentation Ppt

The User Interface

Page 29: Edge Presentation Ppt

The User Interface

The Edge Test Application User Interface is implemented as an MDI parent form with its MDI children forms corresponding to the Application’s main functional areas.

This architecture ensures a common interface for all of the Applications functions.

Only 1 instance of a single child form can be open at any one time.

Page 30: Edge Presentation Ppt

Standards

Standards for the project were implemented at a number of levels: User Interface Standards Coding Standards

Use of the document “Coding Standards and Conventions”

Standardized Indentation Standardized Exception Handling

A Standards document was developed and circulated to coordinate the various standards for the project group.

Page 31: Edge Presentation Ppt

Standards - User Interface

User Interface Standards were implemented in a number of ways: All MDI Child forms (i.e. functional screens)

inherited from a single TemplateForm.cs which standardized (among other things): A Title Label, and a Status Bar & Status Label

with a standard position, font, size & color. Properties to allow inheriting forms to easily set

the Title & Status in a consistent way. The group’s Standards document codified a

number of formatting standards that could not easily be implemented through templates.

Page 32: Edge Presentation Ppt

Standards – Exception Handler

An ExceptionHandler class was developed that simplifies and standardizes exception handling for the group.

It receives an exception as a generic System.Exception & determines its type (EdgeTestException for example).

Page 33: Edge Presentation Ppt

ExceptionHandler Class Properties

ErrorMessage_UserFriendly A simple Exception Message to be displayed to the User.

ErrorMessage_FullVersion A verbose Exception Message giving all available information. This will

include an Inner Exception message, if any. ExceptionType

EdgeTestException ArgumentOutOfRangeException ArgumentNullException ArgumentException UnSpecifiedException (any exception other than above)

ErrorCode Returns ErrorCode for EdgeTestExceptions. ErrorCode = UnSpecified for Exceptions other than type

EdgeTestException. Exception (Returns the Exception as a generic System.Exception) InnerException (null if none)

Page 34: Edge Presentation Ppt

TEST APPLICATION FUNCTIONAL SCREENS

Page 35: Edge Presentation Ppt

Manage Topics

Page 36: Edge Presentation Ppt

ADD TEST TAKERAND EDIT TEST TAKER

Add Test Taker – Allows the admin to add applicants to the online test database

Edit Test Taker – Allows the admin to edit or remove a test taker from the online test

database

Page 37: Edge Presentation Ppt

Add Test Taker

Old Screen

New Screen

Page 38: Edge Presentation Ppt

Edit Test Taker

Old Screen

New Screen

Page 39: Edge Presentation Ppt

DEFINING QUESTIONSBrenda Dean

Page 40: Edge Presentation Ppt

Questions Old Screen

New Screen

Page 41: Edge Presentation Ppt

MANAGE TESTSUI Contributed by

Shwetha

Page 42: Edge Presentation Ppt

Manage Tests

Manages Tests Allows user to edit Questions in a

selected Test Adds Questions from a selected a Topic Deletes Questions from a selected Test Adds a new Test Deletes an existing Test

Page 43: Edge Presentation Ppt

Manage Tests

Old screen New Screen

Page 44: Edge Presentation Ppt

Send Test

Lists the available Tests for the user to select

Sets time limit for the Test Lists the test takers when a session is

selected Sends a Test Incident to the selected test

takers

Page 45: Edge Presentation Ppt

Send Test

Old screen New screen

Page 46: Edge Presentation Ppt

Open TestsOld Screen

New Screen

Page 47: Edge Presentation Ppt