← Back to team overview

dhis2-devs team mailing list archive

Re: Need help to create dhis2 app

 

Thanks a lot Knut for your help, It seems as if have missed a step or some
thing. However when I have look at some project the logic seems good and
some part of the code are similar. To be sure that am in the good way, I
have even customize an existing project but am still getting the same
result.

Would you mind to have a look to this code:
https://github.com/gerard-bisama/displayorgunit.git.

I just return the list of orgunit from DHIS2 and want to display them in
json format. But the code at the line #36 of app.js gives me an empty
object while all the code seems fine.

Thank you in advance, it will help me a lot if some one can direct me on
what to do.


2017-02-02 10:21 GMT+01:00 Knut Staring <knutst@xxxxxxxxx>:

> Hi Gérard,
>
> The developers will be able to provide better input, but for inspiration,
> it could also be worth taking a look at some student projects that were
> done recently. Most projects involved creating DHIS2 web apps. Since these
> are mostly novice developers, the projects are of very varying quality, but
> some quite good.
>
> Link here:
> https://wiki.uio.no/mn/ifi/inf5750/index.php/Main_Page#Group_pages
>
> On Thu, Feb 2, 2017 at 10:04 AM, gérard Bisama <gerbis2000@xxxxxxxxx>
> wrote:
>
>> Hi All,
>>
>> I have started a work that required to develop DHIS2 Apps to enhance some
>> fonction in DHIS2 . The main purpose of my work is to search for some
>> resources related to the tracker and to render them to a specific format
>> for been used by an other system.
>>
>> I have used two approaches to develop the app:
>> - The first one, is to use a nodejs framework as shown in the Firefox OWA
>> quick start. I have used umber.js to build the app and tried to use d2
>> package.but when I load the app in dhis2 am having issue with all import
>> routine and the library are not found
>>
>> - Then I have decided to use javascrip approch with Extjs. but I have
>> issues related the reference of the extjs library.
>>
>> Can someone have a tutorial to show the step by step way to create a
>> small dhis2 app or to share a small dhis2 app skeleton. As a starting point
>> for my project I have just tried to write an app that render the list of
>> orgunit in json format.
>>
>> How can we easily debug a dhis2 web app since we dont provide
>> authentication info when the app is out ot the dhis2.
>>
>> Thanks a lot for your help.
>>
>> --
>> Gérard Bisama
>> Tel:+243810890810 <+243%20810%20890%20810>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522 <+47%20918%2080%20522>
> Skype: knutstar
> http://dhis2.org
>



-- 
Gérard Bisama
Tel:+243810890810

Follow ups

References