|Version 9 (modified by 8 years ago) ( diff ),|
Eden Mobile Framework
A framework for creating mobile applications that work with Sahana Eden deployments is being designed and implemented. The source code can be found here: https://github.com/tombaker1/EdenMobile. The framework is designed to implement many of the common use cases for Eden.
The initial implementation will support a basic app with a few different pages. The target user of the first app that is implemented with the framework will be an aid worker that is working in a facility that is in an area affected by a disaster. The first forms that are implemented will be chosen to support that user type. Implementation of more functionality will proceed incrementally. The current plan is to proceed in three phases of implementation. As phases are completed more planned phases will be made. With additional help some of the phases can be worked on in parallel.
The general requirements are as follows:
Phase I - Basic forms
- Secure login
- Multiple languages
- Be able to work offline, and update forms and content when online
- The initial target device is Android.
- This includes registration on Google Play.
- Location based on GPS
- The initial forms that will be implemented are Hospitals, and Shelters.
- Modular design so that additional features can be easily implemented.
Phase II - Mapping
- Map based location entry
- Filters for different data sets
- Download location specific maps (Humanitarian Open Street Map?)
Phase III - Low bandwidth connectivity
- SMS communication
The EdenMobile design is based on the EdenDisease (https://github.com/tombaker1/EdenDisease) code that is an early prototype created for the Sahana Eden ebola patient information management. EdenDisease has some features that are much more complete than the current version of EdenMobile. The EdenMobile implementation borrows heavily on EdenDisease, but EdenMobile is designed to be more modular so that similar forms can re-use base code. There isn't as much hard coded implementation of the forms in EdenMobile.
- Foundation (foundation.zurb.com) This is the presentation framework used by Eden. Many of the css files used are copied from Eden. I have tried to keep the look of the mobile client close to that of the Eden web UI.
- Backbone (backbonejs.org) This is a Model-View-Controller framework that makes it easy to create web apps. Reading through the Backbone documentation will help you understand how the app is designed.
How to Help
I will be using the github issues feature to keep track of things to do. Here are some ideas.
- Testing. If you find problems please submit an issue.
- Fixing bugs. Always helpful.
- Improve the UI style sheets. I have created a basic UI based on the Foundation framework. Work needs to be done to improve the style.
- Add features to the existing forms. Work is still ongoing for the Shelters form. Additional features such as completing the input types, and adding subforms.
- Add new forms of a similar type. Create a new plugin. Make a copy of the shelters form, and modify it for hospitals, warehouses, etc.
- Add new types of forms. For example mapping.
- SMS communication.