In the last few weeks I’ve mainly worked on improving the Export Detailed MetaData user interface.
It has radically changed since its last iteration.
Functionality added:
– create and manage an entire list of filters (CRUD functionality)
– create an ad hoc filter
– sorting functionality
– pagination
– visual improvements
– less clicks to achieve the same goal 🙂
– Export MetaData with dependencies
Most of my time was spent implementing, testing and improving the Export MetaData with dependencies algorithm.
I’ve used recursion combined with the Reflection APIÂ in order to achieve this goal.
How it works ?
Lets say the user want to export an “Indicator”.
In order to use that Indicator, its dependencies also need to be exported, otherwise it will not work correctly.
What the algorithm does is, it gets the dependencies of that Indicator ( DataElements, IndicatorType etc.) and adds them to the export list, then computes the dependencies of those elements and so on until it reaches the base element which no longer has any dependency to any other exportable objects.
These weeks where really productive because I’ve learned tons of new stuff, tricks and I’ve really improved my Java skill.
Thanks for reading.
P.S. I will come back with screenshots in a later post.