Difference between revisions of "The underachievers"

From mn/ifi/inf5750
Jump to: navigation, search
m
m (Technologies and Frameworks)
Line 2: Line 2:
 
== Overview ==
 
== Overview ==
  
=== project B Data store Manager App ===
+
=== Project B Data store Manager App ===
Data store Manager App Browse and update the values in the DHIS2 Data Store.
+
Data store Manager App, browse and update the values in the DHIS2 Data Store.
  
 
The Data store is used by developers to store arbitrary data for their apps. Access to the data is
 
The Data store is used by developers to store arbitrary data for their apps. Access to the data is
  
limited to the users namespace and thus only accessed through the users account.Our task will  
+
limited to the users namespace and thus only accessed through the users account. Our task will  
  
 
be to make a user friendly presentation and navigation of this data, and if there is time, a way to keep
 
be to make a user friendly presentation and navigation of this data, and if there is time, a way to keep
  
 
and audit trail of changes. There will also be a visualization of statistics regarding the data.
 
and audit trail of changes. There will also be a visualization of statistics regarding the data.
 +
 +
* Nice browsing of JSON (pretty print, collapse/expand JSON)
 +
* Write (POST) of key/values
 +
* Update (PUT) of key/values
 +
* Listing of namespaces, listing of keys under namespaces
 +
* Follow DHIS layout style with material UI and use React
 +
* Support for both system and user data store
 +
 +
* Handled encrypted values (ie. not display the values, but rather an explanation)
  
 
== List of members ==
 
== List of members ==
Line 21: Line 30:
  
 
== Technologies and Frameworks ==
 
== Technologies and Frameworks ==
 +
Angular-CLI
 +
 
HTML 5  
 
HTML 5  
  
Line 31: Line 42:
 
JSON
 
JSON
  
Visualisation tool(?)
+
angular2-highcharts
  
 
We chose Angular2 because we liked the idea of one framework for everything. This is our first web  
 
We chose Angular2 because we liked the idea of one framework for everything. This is our first web  
Line 39: Line 50:
 
it abit hard to get a overview. Angular2 was more appealing with the "one way to do things" approach, but we have some  
 
it abit hard to get a overview. Angular2 was more appealing with the "one way to do things" approach, but we have some  
  
concerns about the maturity of the framework, possible lack of documentation etc. We have not decided on technology
+
concerns about the maturity of the framework, possible lack of documentation etc. JSON will be used since this is the value
  
for the visualisation of data yet, but try to focus on geting the barebone up and running first.
+
data type of the Data store. We decided to refactor the project using Angular-CLI to generate the project, because we wanted to
  
JSON will be used since this is the value data type of the Data store.
+
make the structure even more clear and it makes creating tests easier as we can follow the Angular2 documentation on testing.
  
 
== Milestones ==
 
== Milestones ==
Line 49: Line 60:
  
 
===  October 28th ===
 
===  October 28th ===
Document features and architecture on wiki
+
Document features and architecture on wiki (Done)
  
Model basic design
+
Model basic design (Done)
  
 
=== November 4th ===
 
=== November 4th ===
Code basic design
+
Code basic design (Done)
  
Make API calls to get the data from the data store  
+
Make API calls to get the data from the data store (Done)
  
 
Make unit tests(If we have time)
 
Make unit tests(If we have time)
Line 80: Line 91:
  
 
== Repository ==
 
== Repository ==
[https://github.com/bajill/inf5750-project GitHub]
+
[https://github.com/bajill/datastore-app GitHub]
 +
 
 +
[https://github.com/bajill/inf5750-project Old(if you want to see commits done before refactoring)]
  
 
== Suggested improvements to the DHIS API ==
 
== Suggested improvements to the DHIS API ==

Revision as of 10:59, 7 November 2016

Overview

Project B Data store Manager App

Data store Manager App, browse and update the values in the DHIS2 Data Store.

The Data store is used by developers to store arbitrary data for their apps. Access to the data is

limited to the users namespace and thus only accessed through the users account. Our task will

be to make a user friendly presentation and navigation of this data, and if there is time, a way to keep

and audit trail of changes. There will also be a visualization of statistics regarding the data.

  • Nice browsing of JSON (pretty print, collapse/expand JSON)
  • Write (POST) of key/values
  • Update (PUT) of key/values
  • Listing of namespaces, listing of keys under namespaces
  • Follow DHIS layout style with material UI and use React
  • Support for both system and user data store
  • Handled encrypted values (ie. not display the values, but rather an explanation)

List of members

Johan Graucob E-Mail

Kenneth Frisvold E-mail

Morten Fliflet Johannesen E-mail

Technologies and Frameworks

Angular-CLI

HTML 5

CSS

TypeScript

Angular2

JSON

angular2-highcharts

We chose Angular2 because we liked the idea of one framework for everything. This is our first web

development project and the share number of different approaches using React + any number of libraries made

it abit hard to get a overview. Angular2 was more appealing with the "one way to do things" approach, but we have some

concerns about the maturity of the framework, possible lack of documentation etc. JSON will be used since this is the value

data type of the Data store. We decided to refactor the project using Angular-CLI to generate the project, because we wanted to

make the structure even more clear and it makes creating tests easier as we can follow the Angular2 documentation on testing.

Milestones

Preliminary plan, might be object to changes.

October 28th

Document features and architecture on wiki (Done)

Model basic design (Done)

November 4th

Code basic design (Done)

Make API calls to get the data from the data store (Done)

Make unit tests(If we have time)

November 11th

Unit tests done

Represent data inside app

November 18th

Delete/change data

Visualization of data

November 25th

Log of changes(if we have time) Final touches

November 27th

Final delivery

Distribution of task

We have no set distribution of tasks yet.

Repository

GitHub

Old(if you want to see commits done before refactoring)

Suggested improvements to the DHIS API