comp730:Massabesic Boater Survey

Functionality
Boater Survey feature will allow the lake host to report daily summaries.

Use Case-based Requirements

 * Use Case: Lake Host enters daily summary data
 * Lake host finishes entering the daily summary data.
 * Lake host submits report data that contains content, such as the name of the lake, the name of the ramp, the town the ramp is located, the page number, the number inspected, the number of boats from each state, the number of each type of boat, the number of people that have had a prior interaction with this lake host, the number of boats that were drained after visiting the previous waterbody, the number of boats that were rinsed after visiting the previous waterbody, the number of boats that were dry for at least 5 days since last waterbody, the number of boaters that have a high, medium or low awareness to the AIS problem.
 * Success: System responds with success message and displays the report summary and also asks the lake host if he wants to enter any invasive species.
 * Failure: Lake host enters invalid data. Error message is displayed.

=Model View Controller (MVC)=

For developing this web application was used a very popular design pattern: Model view controller (MVC)

Models
The model represents the data, and does nothing else. The model does NOT depend on the controller or the view.

File structure:
/model/surveysummary.php

Views
The view displays the model data, and sends user actions (e.g. button clicks) to the controller.

File structure:
/view/surveysummary/index.php /view/surveysummary/new.php /view/surveysummary/view.php /view/surveysummary/edit.php /view/surveysummary/_form.php

Controllers
The controller provides model data to the view, and interprets user actions such as button clicks. The controller depends on the view and the model.

File structure:
/controller/surveySummary.php