CSC/ECE 517 Spring 2015 S1503 LWJZ: Difference between revisions
No edit summary |
|||
Line 4: | Line 4: | ||
To add several modules to the EdenMobile client app based on the web2py framework to allow mobile users to add new shelters and hospitals, to see the list of hospitals and shelters both offline and online and pass their location to the nearest medical facilities. | To add several modules to the EdenMobile client app based on the web2py framework to allow mobile users to add new shelters and hospitals, to see the list of hospitals and shelters both offline and online and pass their location to the nearest medical facilities. | ||
==Scope== | ==Scope== | ||
We will realize the signup, secure login and logout function, which would add new module into the following files: | |||
communication.js | communication.js | ||
controller.js | controller.js | ||
Line 12: | Line 12: | ||
We will add some new items including:“ hospital”, “vehicles” which will be added into the folder named “plugins”. The following file will be added into their corrsponding folders:<br> | We will add some new items including:“ hospital”, “vehicles” which will be added into the folder named “plugins”. The following file will be added into their corrsponding folders:<br> | ||
Hospitals: | Hospitals: | ||
*mHospital.js (model) | |||
*hospital.js, editHospital.js, hospital.html, hospital.css, editHospital.html (views) | |||
*hospitalController.js (controller) | |||
*config.js(Giving details on the configuration of the plugin | |||
Vehicles: | Vehicles: | ||
*mVehicles.js (model) | |||
*vehicles.js, editVehicles.js, vehicles.html, vehicles.css, editVehicles.html (views) | |||
*vehiclesController.js (controller) | |||
*config.js(Giving details on the configuration of the plugin) | |||
Also, we find some bugs and eliminate them. These could be any possible file in this project. | Also, we find some bugs and eliminate them. These could be any possible file in this project. | ||
Line 28: | Line 28: | ||
==Documentation== | ==Documentation== | ||
former developer discussion about Sahana Oden | |||
* An [https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!forum/sahana-eden google discussion], explaining former problems developers met and corresponding solutions | |||
*An [http://eden.sahanafoundation.org/wiki/BluePrint/Mobile/EdenMobileFramework basic introduction about the framework of Edenmobile including application design, source ] | |||
Source code | |||
http://eden.sahanafoundation.org/wiki/BluePrint/Mobile/EdenMobileFramework | |||
=Design= | =Design= | ||
=='''Use Case'''== | =='''Use Case'''== |
Revision as of 00:50, 1 April 2015
E1526. JavaRosa Mobile Client
Introduction
Purpose
To add several modules to the EdenMobile client app based on the web2py framework to allow mobile users to add new shelters and hospitals, to see the list of hospitals and shelters both offline and online and pass their location to the nearest medical facilities.
Scope
We will realize the signup, secure login and logout function, which would add new module into the following files:
communication.js controller.js model.js view.js
We will make it available in multiple languages environment which will implement the languages fold.
We will add some new items including:“ hospital”, “vehicles” which will be added into the folder named “plugins”. The following file will be added into their corrsponding folders:
Hospitals:
- mHospital.js (model)
- hospital.js, editHospital.js, hospital.html, hospital.css, editHospital.html (views)
- hospitalController.js (controller)
- config.js(Giving details on the configuration of the plugin
Vehicles:
- mVehicles.js (model)
- vehicles.js, editVehicles.js, vehicles.html, vehicles.css, editVehicles.html (views)
- vehiclesController.js (controller)
- config.js(Giving details on the configuration of the plugin)
Also, we find some bugs and eliminate them. These could be any possible file in this project.
Background
What’s Sahana Eden?
Sahana Eden is an Open Source Humanitarian Platform which can be used to provide solutions for Disaster Management, Development, and Environmental Management sectors. It is the latest evolution of Sahana Software which was initially developed by members of the information technology (IT) community in Sri Lanka to provide solutions for the relief effort following the 2004 Indian Ocean Tsunami.
Documentation
former developer discussion about Sahana Oden
- An google discussion, explaining former problems developers met and corresponding solutions
- An basic introduction about the framework of Edenmobile including application design, source
Source code http://eden.sahanafoundation.org/wiki/BluePrint/Mobile/EdenMobileFramework
Design
Use Case
- Use Case #1: Submit forms to server
- Actor: Mobile App User
- Actions:
- User logs in to Sahana Server.
- User fills .
- Use Case #2: Submit forms to local storage
- Actor: Mobile App User
- Actions:
- A.
- B.
- C.
- D.
- Use Case #3: Download new forms from server
- Actor: Student finish work for first round
- Actions:
- A.
- B.
- C.
- D.
- Use Case #4: Synchronize local data with server
- Actor: Student not finish work for first round
- Actions:
- A.
- B.
- C.
- D.