Difference between revisions of "N.E.T Survey"
(27 intermediate revisions by 2 users not shown) | |||
Line 51: | Line 51: | ||
== '''Work divided between group members''' == | == '''Work divided between group members''' == | ||
− | This is the current plan and work schedule for each of the members in this group: | + | This is the current plan and work schedule for each of the members in this group: |
+ | <br> | ||
+ | |||
+ | Eivind is currently working with (TODO) '''1.2'''. | ||
+ | |||
+ | <br> | ||
+ | |||
+ | We hope to finish step 1 of the to do list as fast as possible. | ||
+ | |||
+ | <br> | ||
+ | |||
+ | == '''Work logs''' == | ||
+ | |||
+ | '''--- Thuc's work log ---''' | ||
+ | |||
+ | ''Currently working on:''<br> | ||
+ | |||
+ | *Polishing the pages, optimalizing the code and testing out the current implementations | ||
+ | <br> ''Finished:'' | ||
− | + | *Data extraction successful and uploaded to Github | |
+ | *Added bootstrap twitter as UI. | ||
+ | *Since other groups (all projects) are using Angluar and Ember I've chosen to write everything in pure JS, both for learning and understanding more but also to prove that it's also possible to make without a framework. | ||
+ | *Create a dropdown menu with all programs the users have access to (http://apps.dhis2.org/demo/api/programs.json) | ||
+ | *Retrieve data from DHIS2 about the logged in user (http://apps.dhis2.org/demo/api/me)<br> | ||
+ | *Finishing up the program-forms (retrieving data and creating form-inputs (with optionsets!)) | ||
+ | *Initiated a joint-project between HKH and NET by sharing DHIS-api JSON-files in private repository. | ||
− | + | <br> | |
− | + | '''--- Nguyen's work log ---''' ''Currently working on:'' | |
+ | |||
+ | *Skip-logic form (admin page) | ||
+ | |||
+ | <br> | ||
+ | ''Finished:'' | ||
+ | *Downloaded json files to work offline because it takes too much effort to upload the web app everytime I wanted to test it. Created hostcheck and revising after planning with Thuc on the program-fetching part (going back to selector instead of using buttons). | ||
− | + | *Tested how to upload an web-app to DHIS2. Uploaded a dummyapp with a simple manifest file. | |
== '''Architechture''' == | == '''Architechture''' == | ||
− | - JavaScript, jQuery, CSS, HTML5, | + | - JavaScript, jQuery, CSS, HTML5, AJAX, Bootstrap Twitter<br> |
- Instead of only skip logic, we'll try to implement the Survey app with "grow" logic. | - Instead of only skip logic, we'll try to implement the Survey app with "grow" logic. | ||
Line 77: | Line 107: | ||
<br> | <br> | ||
− | == ''' | + | == '''Screenshots''' == |
+ | |||
+ | [[Image:Survey v1 webapp.png]] | ||
+ | |||
+ | [[Image:Survey on localhost.png|thumb|left|400px|Survey uploaded to localhost]] | ||
+ | |||
+ | [[Image:Survey on dhis.png|thumb|left|400px|Survey uploaded to DHIS2]] | ||
+ | |||
+ | [[Image:Survey v2 on localhost.png|thumb|left|400px|Survey v2 uploaded to localhost]] | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <br> | ||
− | ''' | + | == '''To do list''' == |
− | ''' | + | '''0:''' Create a GitHub repository for the group | '''[DONE]''' GitHub-masterbranch: https://github.com/ThucHoang/INF5750_Survey.git |
− | '''1. | + | '''1.1:''' Upload a test-zip with a working manifest file to test out how the web-app works. '''[DONE]''' Uploaded a dummy app: http://apps.dhis2.org/apps/test//index.html'''[REMOVED FROM DHIS]''' |
− | '''1. | + | '''1.2:''' Create a simple webpage with working skip logic |
− | ''' | + | '''1.3:''' Use EmberJS/Angular to retrieve data from the Web API '''[DONE] '''Retrieved data from DHIS2 (both program and me) with pure JS (and jQuery). |
+ | '''2.1:''' Creating the program-forms '''[DONE] ''' | ||
+ | '''2.2:''' Creating a skip logic function that works with the program-forms<br> | ||
+ | |||
+ | <br> | ||
== '''Group meeting log''' == | == '''Group meeting log''' == | ||
'''29th October 2013:''' First meeting of the N.E.T group. Deciding the architechture and how we should proceed with the project. Next meeting will be held on '''Friday 1st November.''' | '''29th October 2013:''' First meeting of the N.E.T group. Deciding the architechture and how we should proceed with the project. Next meeting will be held on '''Friday 1st November.''' | ||
− | '''1st November 2013: ''' | + | |
+ | <br> '''1st November 2013: '''Decided which frameworks to use, still unsure if we're going to use Ember or Angular, but that will be tested and the result will be presented in the next group meeting. The work dividing-are has been updated, we've also created a to-do list (workplan) for the upcoming days/weeks. | ||
+ | |||
+ | Next meeting will be: '''N/A''' (Due to sickness in the group there were no group meeting on Thursday 7'''th November 2013. ''' | ||
+ | |||
+ | <br> | ||
+ | |||
+ | == GitHub-repository == | ||
+ | |||
+ | Link: https://github.com/ThucHoang/INF5750_Survey.git<br> | ||
+ | |||
+ | Please send an email to thucth@ifi.uio.no if you need access to our private repository. |
Latest revision as of 20:20, 11 November 2013
Contents
Group members of N.E.T
- Nguyen (congnn@ifi.uio.no)
- Eivind (eivineng@ifi.uio.no)
- Thuc (thucth@ifi.uio.no)
Requirements for the Survey app
- 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
(copied directly from Lecture 6 - Group projects)
Milestones set by course-teachers
Each group should follow these 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
Work divided between group members
This is the current plan and work schedule for each of the members in this group:
Eivind is currently working with (TODO) 1.2.
We hope to finish step 1 of the to do list as fast as possible.
Work logs
--- Thuc's work log ---
Currently working on:
- Polishing the pages, optimalizing the code and testing out the current implementations
Finished:
- Data extraction successful and uploaded to Github
- Added bootstrap twitter as UI.
- Since other groups (all projects) are using Angluar and Ember I've chosen to write everything in pure JS, both for learning and understanding more but also to prove that it's also possible to make without a framework.
- Create a dropdown menu with all programs the users have access to (http://apps.dhis2.org/demo/api/programs.json)
- Retrieve data from DHIS2 about the logged in user (http://apps.dhis2.org/demo/api/me)
- Finishing up the program-forms (retrieving data and creating form-inputs (with optionsets!))
- Initiated a joint-project between HKH and NET by sharing DHIS-api JSON-files in private repository.
--- Nguyen's work log --- Currently working on:
- Skip-logic form (admin page)
Finished:
- Downloaded json files to work offline because it takes too much effort to upload the web app everytime I wanted to test it. Created hostcheck and revising after planning with Thuc on the program-fetching part (going back to selector instead of using buttons).
- Tested how to upload an web-app to DHIS2. Uploaded a dummyapp with a simple manifest file.
Architechture
- JavaScript, jQuery, CSS, HTML5, AJAX, Bootstrap Twitter
- Instead of only skip logic, we'll try to implement the Survey app with "grow" logic.
- We define "grow" logic as giving the user only the nessesary data/questions/choices at a certain time. And skipping the alternatives that aren't relevant for the answer.
[Example] If the user has chosen their gender as male earlier in the survey, the question of being pregnant will never shown.
Screenshots
To do list
0: Create a GitHub repository for the group | [DONE] GitHub-masterbranch: https://github.com/ThucHoang/INF5750_Survey.git
1.1: Upload a test-zip with a working manifest file to test out how the web-app works. [DONE] Uploaded a dummy app: http://apps.dhis2.org/apps/test//index.html[REMOVED FROM DHIS]
1.2: Create a simple webpage with working skip logic
1.3: Use EmberJS/Angular to retrieve data from the Web API [DONE] Retrieved data from DHIS2 (both program and me) with pure JS (and jQuery).
2.1: Creating the program-forms [DONE]
2.2: Creating a skip logic function that works with the program-forms
Group meeting log
29th October 2013: First meeting of the N.E.T group. Deciding the architechture and how we should proceed with the project. Next meeting will be held on Friday 1st November.
1st November 2013: Decided which frameworks to use, still unsure if we're going to use Ember or Angular, but that will be tested and the result will be presented in the next group meeting. The work dividing-are has been updated, we've also created a to-do list (workplan) for the upcoming days/weeks.
Next meeting will be: N/A (Due to sickness in the group there were no group meeting on Thursday 7th November 2013.
GitHub-repository
Link: https://github.com/ThucHoang/INF5750_Survey.git
Please send an email to thucth@ifi.uio.no if you need access to our private repository.