GSOC 2022 Work Report

Yash Goel
3 min readSep 2, 2022

--

Organization: @Drupal Association

Project link

Project Idea

The goal of the project is to investigate reporting and graphing tools and develop proof of concept examples that could be used as starting point by others. other than that we have to investigate potential contributions to farmOS core which provides generalized features that support custom development on the farmOS platform.

Goals

  1. Investigate reporting and graphing tools.
  2. Developing proof of concept examples.
  3. Implementing reporting and graphing modules.
  4. Integrating support for multiple graphing tools.
  5. Improving the graphing modules with advance features like filtering etc.

Tasks Accomplished

  1. Investigated reporting and graphing tools like bar chart, pie chart etc.
  2. Developed proof of concept examples for harvest and animal modules which are used to represent the harvests done by farmers and their respective animal assets.
  3. Implemented graphing support for the real time visualization of data through Chart.js and JSON API provided by farmOS data model.
  4. Added support for switching between various graphing tools like pie chart and bar chart etc, as after research we found out that these were the tools that were best representing the farmOS data model and were most convenient to understand by the users.
  5. Implemented timestamp filtering which interacts with the farmOS data model and processes that data to visualize through charts, this enables the user to filter data between various time stamps.

Challenges and Learnings

  1. Adapting and understanding the whole Drupal ecosystem and how farmOS works in general.
  2. Discussing and designing a solution that could be useful for everyone in the community.
  3. Trying different approches, implementing them and discussing with mentors about their pros and cons.
  4. Keeping code quality high and breaking different modules and utilities as much as possible into reusable components so that the project can be easily improved or expanded in the future.

Future Work and Improvements

These are some of my suggestions on how can we improve and expand these modules in the future:

  1. For now there is only support for visualizing harvest and animal asset data in these modules, for future this can be expanded to other logs and assets present in the farmOS as well.
  2. Adding support for multiple other visualization tools other than bar chart and pie chart, which are easily interpretable and understandable by the users.
  3. For now these modules are capable of only representing data in a specific way, that is fetched from the farmOS data model, In the future work can be done to make it more generalized so that people can connect other data sources as well and use it to make great visuals.

Links

At last I had a wonderful time during the GSOC, I learned a lot of things during this time and I really enjoyed working on this project.

I would really like to thank my mentors Pedro Cambra, @paul121 and all other Drupal and farmOS members who constantly supported me throughout this project.

--

--

Yash Goel

software development ,machine learning, mathematics = <3