Difference between revisions of "HKH Survey"
From mn/ifi/inf5750
(→Tasks) |
(→Architecture) |
||
(63 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Intro yo | Intro yo | ||
− | =Group members= | + | = Group members = |
− | * Hoang (hoangbn@ifi.uio.no) | + | |
− | * Kennet (kennetvu@ifi.uio.no) | + | *<strike>Hoang (hoangbn@ifi.uio.no)</strike> |
− | * Henrik | + | *<strike>Kennet (kennetvu@ifi.uio.no)</strike> |
+ | *Henrik (henriast@ifi.uio.no) | ||
=Features= | =Features= | ||
Line 12: | Line 13: | ||
* Available as DHIS2 web app and Android app (phonegap) | * Available as DHIS2 web app and Android app (phonegap) | ||
* Touch friendly UI | * Touch friendly UI | ||
− | === | + | ===Ours=== |
* Deployed as dhis2 app. | * Deployed as dhis2 app. | ||
* page to add skip logic | * page to add skip logic | ||
Line 24: | Line 25: | ||
* Ajax | * Ajax | ||
* Json | * Json | ||
− | + | * AngularJS | |
=Milestones= | =Milestones= | ||
Line 48: | Line 49: | ||
* Finished, if applicable also with mobile app. | * Finished, if applicable also with mobile app. | ||
Final delivery: 8th December | Final delivery: 8th December | ||
+ | |||
Presentation: 9th December | Presentation: 9th December | ||
Line 53: | Line 55: | ||
=Group tasks= | =Group tasks= | ||
====Tasks==== | ====Tasks==== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* Saving skip-logic in database: http://apps.dhis2.org/demo/api/systemSettings/<APPNAME>.<SURVEYNAME>.skipLogic | * Saving skip-logic in database: http://apps.dhis2.org/demo/api/systemSettings/<APPNAME>.<SURVEYNAME>.skipLogic | ||
− | * | + | * Created parser for Option Sets |
− | |||
− | |||
− | |||
− | |||
− | |||
====In process==== | ====In process==== | ||
− | * | + | * Use jsonp instead of JSON? Does it solves the crossdomain problem? - Kennet |
====Done==== | ====Done==== | ||
+ | * Display spesific survey and added form to the view - Kennet | ||
+ | * Creating dashboard page - Kennet | ||
+ | * Display all "SINGLE_EVENT_WITHOUT_REGISTRATION" in our app. - Kennet | ||
+ | * Fix folder structore for our app - Kennet | ||
+ | * Show user information at dashboard page - Kennet | ||
+ | * Set up a template with bootstrap and Angular JS - Kennet | ||
+ | * Testing AngularJS - Kennet | ||
* Set up a server with Ubuntu - Henrik | * Set up a server with Ubuntu - Henrik | ||
* Set up DHIS2 with file database - Kennet | * Set up DHIS2 with file database - Kennet | ||
* Create a dummy app and upload it - Kennet | * Create a dummy app and upload it - Kennet | ||
* (Dropped) Testing EmberJS - Henrik | * (Dropped) Testing EmberJS - Henrik | ||
+ | * Create form with angular js - No need to create a new one, since we can use the premade one from DHIS2 - Hoang | ||
+ | * Creating a draft of the logo - Hoang - http://run.plnkr.co/plunks/s2wW3iCiA7xMazVbBUfn/ | ||
+ | * Create authentication function: http://www.dhis2.org/doc/snapshot/en/user/html/ch25s02.html - Kennet - Tested and not necessary because the app is embedded in DHIS system. | ||
+ | * Design dashboard - Kennet | ||
+ | * Touch friendly UI - Kennet | ||
+ | * Create all the views. - Kennet | ||
+ | * Display all entry's - Kennet | ||
+ | * Getting survey data from database: http://apps.dhis2.org/demo/api/programs/UOcfbIjnlgX - Kennet | ||
+ | * Example JSON file - Henrik https://docs.google.com/document/d/1eYh1MU2P7JgL5npFm1O5lqjANXRWCshKghZM3E2tRLs/edit?usp=sharing | ||
+ | * Create skip logic language - Henrik | ||
+ | https://docs.google.com/document/d/1QG4z4hd_pNXMmt8RYBER-jL2jGW2uapeuHpW8EWukH8/edit?usp=sharing | ||
+ | * Linking skip logic to survey - Henrik | ||
+ | * Created parser for text modules - Henrik | ||
+ | * Created parser for date modules - Henrik | ||
+ | * Created parser for number modules - Henrik | ||
+ | * <strike>Creating database for saving skip logic - Henrik</strike> | ||
+ | * Made it possible to do survey with skip logic - Henrik | ||
+ | *<strike> Saving modified/new data to database - Hoang</strike> | ||
=Screenshots= | =Screenshots= | ||
+ | [[File:Hkh_prototype1.png|thumb|center|Prototype 1|500px]] | ||
+ | [[File:Hkh_userinfo_dashboard.png|thumb|center|Userinfo|500px]] | ||
+ | [[File:Hkh_survey2.png|thumb|center|Survey with optionset|500px]] | ||
+ | [[File:Hkh_prototype3.png|thumb|center|Survey with data|500px]] | ||
+ | |||
=Log= | =Log= | ||
* 28.10.13 - Group meeting - Project "initialization" | * 28.10.13 - Group meeting - Project "initialization" | ||
Line 85: | Line 104: | ||
=Guides= | =Guides= | ||
* [[Hkh:How to upload dummy app|How to upload dummy app]] | * [[Hkh:How to upload dummy app|How to upload dummy app]] | ||
+ | * [[Hkh:How to develop and test local|How to develop and test local]] | ||
+ | |||
+ | =Resources= | ||
+ | * [https://github.com/knyyy/hkh PM if you want access to the repo] | ||
+ | * [http://docs.angularjs.org/guide/concepts Overview of Angular] |
Latest revision as of 22:49, 9 December 2013
Intro yo
Contents
Group members
Hoang (hoangbn@ifi.uio.no)Kennet (kennetvu@ifi.uio.no)- Henrik (henriast@ifi.uio.no)
Features
Main
- Single event data entry form
- Skip logic (eg. If pregnant, fill in these extra forms)
- Make interface for easily defining form and skip logic (integrated with single event, but you’ll need some additional info)
- Available as DHIS2 web app and Android app (phonegap)
- Touch friendly UI
Ours
- Deployed as dhis2 app.
- page to add skip logic
- Dashboard page
- page to do survey and sending data to dhis
Architecture
- Html, css, javascript
- jQuery
- Bootstrap twitter
- Ajax
- Json
- AngularJS
Milestones
HKH milestones
Milestone 1: 01.11
- Create an dummy app and upload it to DHIS2
- Find out which javascript framework we should use
Milestone 2: 05.11
- Get some data from dhis.
- Create a prototype view.
- "Shell" for skip logic part.
- Do survey throught our app with/without logic
Course milestones
Milestone 1: 1st November
- Document features and architecture on Wiki
- Show understanding of DHIS2 web apps
Milestone 2: 15th November
- First bare-bone version - static HTML
- Uploadable as DHIS2 web app
Milestone 3: 30th November
- Finished, if applicable also with mobile app.
Final delivery: 8th December
Presentation: 9th December
Time schedule
Group tasks
Tasks
- Saving skip-logic in database: http://apps.dhis2.org/demo/api/systemSettings/<APPNAME>.<SURVEYNAME>.skipLogic
- Created parser for Option Sets
In process
- Use jsonp instead of JSON? Does it solves the crossdomain problem? - Kennet
Done
- Display spesific survey and added form to the view - Kennet
- Creating dashboard page - Kennet
- Display all "SINGLE_EVENT_WITHOUT_REGISTRATION" in our app. - Kennet
- Fix folder structore for our app - Kennet
- Show user information at dashboard page - Kennet
- Set up a template with bootstrap and Angular JS - Kennet
- Testing AngularJS - Kennet
- Set up a server with Ubuntu - Henrik
- Set up DHIS2 with file database - Kennet
- Create a dummy app and upload it - Kennet
- (Dropped) Testing EmberJS - Henrik
- Create form with angular js - No need to create a new one, since we can use the premade one from DHIS2 - Hoang
- Creating a draft of the logo - Hoang - http://run.plnkr.co/plunks/s2wW3iCiA7xMazVbBUfn/
- Create authentication function: http://www.dhis2.org/doc/snapshot/en/user/html/ch25s02.html - Kennet - Tested and not necessary because the app is embedded in DHIS system.
- Design dashboard - Kennet
- Touch friendly UI - Kennet
- Create all the views. - Kennet
- Display all entry's - Kennet
- Getting survey data from database: http://apps.dhis2.org/demo/api/programs/UOcfbIjnlgX - Kennet
- Example JSON file - Henrik https://docs.google.com/document/d/1eYh1MU2P7JgL5npFm1O5lqjANXRWCshKghZM3E2tRLs/edit?usp=sharing
- Create skip logic language - Henrik
https://docs.google.com/document/d/1QG4z4hd_pNXMmt8RYBER-jL2jGW2uapeuHpW8EWukH8/edit?usp=sharing
- Linking skip logic to survey - Henrik
- Created parser for text modules - Henrik
- Created parser for date modules - Henrik
- Created parser for number modules - Henrik
-
Creating database for saving skip logic - Henrik - Made it possible to do survey with skip logic - Henrik
Saving modified/new data to database - Hoang
Screenshots
Log
- 28.10.13 - Group meeting - Project "initialization"
- 04.11.13 - Group meeting - Assigned tasks and responsibilities within the group