Oct 6, 2011

Datapkg study finished, let’s code

My initial study of datapkg code has just finished. The full report can be obtained here (PDF). It is a document which will incrementally be upgraded at each iteration.
Sorry for my bad English, I wrote it during late hours of the day 🙂
Let’s summarize it: from what I learned during this software engineering phase, I confirm my first impression that datapkg has not been written to act as a library. Unfortunately, the interaction with the user is not completely performed ad the command line level, but also one level below in the architecture.
There are good news, anyway. The code is very well written and I will be able to write a tiny library wrapper that the GUI – and hopefully, the CLI and future projects – will use. I will first try to write it without touching datapkg internal code. If this will not be possible, I will probably fork the project to perform the tiny modifications and directly integrate the GUI and the library in it.
Here is how the future architecture of datapkg should be, if the authors follow us:

Datapkg Proposed Architecture

There are tiny modifications that are needed at the current code, if none at all. Let’s hope to minimize them.

For more information, read the report.

written by dgraziotin

Dr. Daniel Graziotin received his PhD in computer science, software engineering at the Free University of Bozen-Bolzano, Italy. His research interests include human aspects in empirical software engineering with psychological measurements, Web engineering, and open science. He researches, publishes, and reviews for venues in software engineering, human-computer interaction, and psychology. Daniel is the founder of the psychoempirical software engineering discipline and guidelines. He is associate editor at the Journal of Open Research Software, academic editor at the Research Ideas and Outcomes (RIO) journal, and academic editor at the Open Communications in Computer Science journal. He is the local coordinator of the Italian Open science local group for the Open Knowledge Foundation. He is a member of ACM, SIGSOFT, and IEEE.

Leave a comment