summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-02-10 12:27:41 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-02-10 12:27:41 -0500
commitdd14781005a08cc0051f3be82ea0b9913b167fdb (patch)
treed0475e24c3267b2412cabf09ecf8d6bd394216e3 /docs
parent9c0602208200dcffa970ac8268fd6d12bf3f6524 (diff)
Basic formatting stuff. I added a small amount of information to my section (3.1-3.2)
Diffstat (limited to 'docs')
-rw-r--r--docs/DesignDocument.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index 87599c7..7d6bd03 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -48,7 +48,9 @@ TODO Guntas. Email dunsmore and marco about this, then fill it out.
3 Design Outlines
3.1 Design Decisions and Components
-Our system will on the Model 2 design pattern/architecture. TODO: Davis – add the purpose of EACH component as a list.
+
+Our system will on the Model 2 design pattern/architecture.
+
Controllers – The controllers will control any logic necessary to obtain the correct content for display. It then places the content in the request and decides which view it will be passed to.
Models – We will be using a Ruby on Rails model. The Ruby on Rails framework maps to a table in the database and a Ruby file. So a User will usually be difined as user.rb in the app/models directory and this will be linked to the table users in the database.
@@ -58,6 +60,7 @@ Views – Views will be the HTML pages for Leaguer, and will display the users d
Component Interaction
Controllers will be used to run all of the background work of Leaguer. They will fetch the necessary data and will tell the view what to do. We will be implementing seven controllers into Leaguer. Those will be:
+
I. PM & Alerts – This controller will be used for sending and receiving private messages to and from the host. Players will be able to message the host in order to inform him/her of anything during the tournament. This will also allow the host to post any notifications he or she desires that will be displayed for all to see.
II. Homepage – Used to handle the homepage. This will be the first web page seen by any user of the application.
III. Login – This controller will be used when a user attempts to sign in to their profile on Leaguer.
@@ -68,7 +71,7 @@ Component Interaction
Each of these controllers will fetch the data specified by its separate section. The view will then be used to display all of this information, so Login will take the user to a login page, search will take the user to a search page and so on.
-The Model will be the data section that will map all of the information to their proper locations in the data base
+The Model will be the data section that will map all of the information to their proper locations in the data base.
Design Issues