CSC/ECE 517 Spring 2015 S1503 LWJZ: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
Line 31: Line 31:
Sahana Eden provides various of functions which are sorted in several different modules.<br>
Sahana Eden provides various of functions which are sorted in several different modules.<br>
*Organization Registry<br>
'''Organization Registry'''<br>
&nbsp;&nbsp;&nbsp;&nbsp; Sahana Eden’s Organization Registry can track what organizations do and organizations also could record their Offices, Warehouse and Field Sites including their locations so they can be mapped as well as links to other modules such as Human Resources, Assets and Inventory.<br>
*Sahana Eden’s Organization Registry can track what organizations do and organizations also could record their Offices, Warehouse and Field Sites including their locations so they can be mapped as well as links to other modules such as Human Resources, Assets and Inventory.<br>
'''Project Tracking'''<br>
'''Project Tracking'''<br>
&nbsp;&nbsp;&nbsp;&nbsp; Sahana Eden provides a valuable tool which could tell people what are going on about the project to help organizations responding to disasters know where the greatest needs are and coordinate with others who are engaged in similar work.<br>
*Sahana Eden provides a valuable tool which could tell people what are going on about the project to help organizations responding to disasters know where the greatest needs are and coordinate with others who are engaged in similar work.<br>
'''Human Resources'''<br>
'''Human Resources'''<br>
&nbsp;&nbsp;&nbsp;&nbsp; There are contact lists in Sahana Eden  which can be access by users to ensure that the right people can be contacted at the right time.<br>
&nbsp;&nbsp;&nbsp;&nbsp; There are contact lists in Sahana Eden  which can be access by users to ensure that the right people can be contacted at the right time.<br>

Revision as of 02:20, 1 April 2015

S1503. JavaRosa Mobile Client

Introduction

Purpose

This project is aimed at adding new functions to the EdenMobile client app to serve users better.These functions will allow mobile users to realize functions like adding new shelters and hospitals, observing the list of hospitals and shelters both offline and online ,passing users' location to the nearest medical facilities and realizing a multilingual environment.

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.

What does Sahana Eden do?

Sahana Eden provides various of functions which are sorted in several different modules.

Organization Registry

  • Sahana Eden’s Organization Registry can track what organizations do and organizations also could record their Offices, Warehouse and Field Sites including their locations so they can be mapped as well as links to other modules such as Human Resources, Assets and Inventory.

Project Tracking

  • Sahana Eden provides a valuable tool which could tell people what are going on about the project to help organizations responding to disasters know where the greatest needs are and coordinate with others who are engaged in similar work.

Human Resources
     There are contact lists in Sahana Eden which can be access by users to ensure that the right people can be contacted at the right time.
Inventory
     Sahana Eden can be used to manage inventories of items and match requests for items with warehouses and other facilities which have them available. Sahana Eden can support multiple Catalogs of Items as well as providing alternative items to ensure more effective use of supplies.
Assets
     Sahana Eden is able to manage assets which are needed to respond to disasters, track where they are, who they have been assigned to, and what condition they are in. This ensures that assets are used effectively and efficiently.
Assessments
     Sahana Eden can be used to collect and analyze information from assessments to help organizations more effectively plan their disaster management activities.
Scenarios & Events
    To help organizations better plan for disasters, Sahana Eden can be used to plan for different scenarios, including recording what human resources, assets, facilities and tasks will be needed to effectively respond.
Map
     Sahana Eden has fully integrated mapping functionality which allows any location-based data to be visualized on a map. Maps provide situational awareness which is essential when either planning to prepare for or respond to a disaster.
Shelter Management
     When disasters are widespread and result in population displacement, understanding and tracking the landscape of shelters - and the people in them - is a critical activity. The Shelter Registry provides functionality to list and track information on shelters and on the people arriving and departing.
Messaging
     Sahana Eden provides support for messages to be sent to one or Distribution Groups by Email, SMS, Twitter and Google Talk. Interactive messages can also be set up to allow people to send short message queries to Sahana Eden and receive automatic responses.

Sahana Eden Architecture

The basic Sahana Eden architecture is as follows:

Web Server Apache Other web servers can also be used, such as Cherokee.
Application Sahana Eden
Web Application Framework Web2Py
Programming Language Python & Java Script
Database MySQL, PostgreSQL, or SQLite

MySQL, PostgreSQL, and SQLite are supported.

Other databases should be usable without major additional work since Web2Py supplies many connectors.

Operating System Linux (Debian recommended) Windows and Mac OS X are possible, but only recommended for single-user environments.

Documentation

former developer discussion about Sahana Oden

Design

Overview

In this design, we add several modules to the EdenMobile client app to allow mobile users to add new shelters and hospitals. Also, users can see the list of hospitals and shelters both offline and online and we can pass users' location to the nearest medical facilities. At last, a multilingual environment is also supported.

Requirements

The major requirements are that:

  • Secure login;
  • Multiple languages;
  • users are able to work offline, and update forms and content when online;
  • The initial forms that will be implemented are Hospitals, and Shelters;

Architecture

Use Case

  • Use Case #1: Security Log in
    • Actor: Mobile App User
    • Actions:
      • User fills login form, which includes username, password and Captcha code.
      • Submit form to Sahana Server.


  • Use Case #2: Submit forms to server
    • Actor: Mobile App User
    • Actions:
      • User logs in to Sahana Server.
      • User fills forms of shelter/warehouse/disaster etc.
      • Submit form to Sahana Server.


  • Use Case #3: Submit forms to local storage
    • Actor: Mobile App User
    • Actions:
      • User fills forms of shelter/warehouse/disaster etc.
      • Submit form to local database.


  • Use Case #4: Download new forms from server
    • Actor: Mobile App User
    • Actions:
      • User logs in to Sahana Server.
      • Download new forms from server


  • Use Case #5: Synchronize local data with server
    • Actor: Mobile App User
    • Actions:
      • User logs in to Sahana Server.
      • Synchronize local data with server


  • Use Case #6: Multi-Language Support
    • Actor: Mobile App User
    • Actions:
      • User logs in to Sahana Server.
      • Choose a language from settings page


  • The UML use case diagram is shown below:
Use Case Diagram

Troubleshoots

References