Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c33a58c
commit c5bc21f
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# coconut-mobile-plugin-zanzibar | ||
Plugins added to Coconut Mobile for project specific features | ||
|
||
Coconut Mobile provides the core features for a Coconut based project. Additional features required by a project are added by a plugin. Find the README file in the _attachments directory for deployment instructions. | ||
|
||
What this plugin provides | ||
------------------------- | ||
|
||
GeoHierarchy - code for using and manipulating the geographic hierarchy of Zanzibar (Zones have districts, districts have shehias..., etc) | ||
FacilityHierarchy - management of the facility list | ||
Case - used to combine multiple results together into a single case (Notification + Facility Record + Household data = Case) | ||
|
||
Coconut Mobile Plugin Architecture Described | ||
-------------------------------------------- | ||
|
||
Coconut plugins are couchdb design documents that get packaged into a single js file (perhaps a single css file as well) and then pushed into the couchdb database for that project. For instance the cloud instance for the project "atlantis-ebola" might be found at http://cococloud.co/atlantis-ebola. The plugin should then exist at http://cococloud.co/atlantis-ebola/_design/coconut-mobile-plugin-atlantis-ebola. Then during installation or updating of the project "atlantis-ebola" on http://mobile.cococloud.co, the plugin file(s) will be replicated and eval'd during application initiation. |