Difference between revisions of "HKH Survey"

From mn/ifi/inf5750
Jump to: navigation, search
(Architecture)
 
(98 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Intro yo
 
Intro yo
"List of group members
+
= Group members =
Summary of requirements
 
Time schedule
 
How you are dividing tasks within the group
 
Screenshots and screen flows
 
Documented learning during project
 
Suggested improvements to APIs etc
 
Link to repository
 
Download link to sample web app or Android app"
 
  
=Team=
+
*<strike>Hoang (hoangbn@ifi.uio.no)</strike>
* Hoang
+
*<strike>Kennet (kennetvu@ifi.uio.no)</strike>
* Kennet (kennetvu@ifi.uio.no)
+
*Henrik (henriast@ifi.uio.no)
* Henrik (henriast@ifi.uio.no)
 
  
 
=Features=
 
=Features=
 +
===Main===
 
* Single event data entry form
 
* Single event data entry form
 
* Skip logic (eg. If pregnant, fill in these extra forms)
 
* Skip logic (eg. If pregnant, fill in these extra forms)
Line 21: 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.
 +
* page to add skip logic
 +
* Dashboard page
 +
* page to do survey and sending data to dhis
  
 
=Architecture=
 
=Architecture=
===Front end===
+
* Html, css, javascript
* HTML
+
* jQuery
* CSS
+
* [http://getbootstrap.com/ Bootstrap twitter]
* Javascript & JQuery - To manipulate front end part
+
* Ajax
* [http://getbootstrap.com/ Bootstrap twitter] - HTML/CSS Framework for making beautiful webpages
+
* Json
 +
* AngularJS
  
===Back end===
+
=Milestones=
* PHP - For easy data manipulation between client & server
+
===HKH milestones===
* Laravel Framework - MVC framework for easy php development
+
Milestone 1: 01.11
* MySQL - Database for storing data
+
* Create an dummy app and upload it to DHIS2
 
+
* Find out which javascript framework we should use
===Server===
 
* Apache with php
 
* MySQL
 
  
=DHIS2=
+
Milestone 2: 05.11
* Yolo
+
* Get some data from dhis.
 +
* Create a prototype view.
 +
* "Shell" for skip logic part.
 +
* Do survey throught our app with/without logic
  
=Milestones=
+
===Course milestones===
 
Milestone 1: 1st November
 
Milestone 1: 1st November
 
* Document features and architecture on Wiki
 
* Document features and architecture on Wiki
Line 51: 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
  
=Stages?=
+
=Time schedule=
* Independent survey app
+
=Group tasks=
* integrate with dhis2 as app
+
====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
  
=Todo list=
+
====Done====
* Create mockup
+
* Display spesific survey and added form to the view - Kennet
* Install dhis2  
+
* Creating dashboard page - Kennet
* Set up git repo
+
* Display all "SINGLE_EVENT_WITHOUT_REGISTRATION" in our app. - Kennet
* Etc
+
* 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
 +
* <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=
 +
[[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"
 +
* 04.11.13 - Group meeting - Assigned tasks and responsibilities within the group
 +
 +
=Guides=
 +
* [[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

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

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

In process

  • Use jsonp instead of JSON? Does it solves the crossdomain problem? - Kennet

Done

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

Prototype 1
Userinfo
Survey with optionset
Survey with data

Log

  • 28.10.13 - Group meeting - Project "initialization"
  • 04.11.13 - Group meeting - Assigned tasks and responsibilities within the group

Guides

Resources