• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Chintu Gudiya Foundation

  • What We Do
    • Blog
  • Who We Fund
  • Projects
  • Grants
  • Financials
Project Tech4Dev

Make It Work, Make It Right, Make It Better

You are here: Home / Blog / Make It Work, Make It Right, Make It Better

twitter sharing button Share this on Facebook

Make It Work, Make It Right, Make It Better


July 28, 2020 by Vaibhav Rathore
Leave a Comment

The title is a slightly modified version of KentBack’s original statement “make it work, make it right, make it fast”.

This is a popular statement in the software world, which simply means to finish a complex problem break it down into three phases. I’ll try explaining this with a recent software problem I worked on in Glific.

After the backend team was done researching on RapidPro Floweditor and finalizing that it’s the right tool for us to go with, my task was to integrate it within Glific and create a seamless user experience. That means I had to integrate a separate working React app into our React app.

 

Make It Work

TLDR; it wasn’t easy but eventually we made it work.

To get started, this wasn’t a regular npm/yarn package. It’s a separate application to be integrated into Glific with no guidelines or documentation. On paper, it was only the concept of how to integrate an external app into React. The risk of spending effort and then finding this is not the “the” tool was somewhat lesser but still high. Well, there weren’t many options either.

At first, things didn’t work as expected. Deleting everything and reinstalling at least 10 times, just to get the right version of the Floweditor may give you an idea of what could’ve happened next. Thanks to the in-depth research and collaboration with the backend team, the pace increased and we had a working piece in just 2 days.

 

Make It Right

Now we had a working functionality in place, we needed to undo the shortcuts we had taken. This phase means to clean the software code and make it meaningful.

For me, it primarily included:

  1. Removing the hard-coded files and redundant packages
  2. Clean up duplicate code
  3. Putting a better file structure in place

 

Make It Better

Most software developers see this as an optional phase and skip this. There could be various reasons like time constraints, work overload, small-scale software not to be worked on further, etc. While skipping this is a right step or not is subjective, it certainly wasn’t right in this case. Being an open-source project, it’s important to make it easy for fellow developers to work on the project.

Things I did to make the overall feature better:

  1. Avoiding manual steps
  2. Easy setup commands
  3. Updating README with simple and easy to understand instructions

 

Glific Floweditor

Category iconBlog Tag iconGlific,  Tech4Dev Project Updates

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recommended reading

    Glific – Setting up the right foundation

    The strength of a building is heavily influenced by its construction process. Planning and plotting of the site determine its fitment with the terrain and the society. Well, it’s the same for software too. Like buildings, the foundation of software determines its longevity and adaptability in the world. To sustain, it should be able to cope

    June 15, 2020 by Vaibhav Rathore

    WhatsApp Simulation within Glific

    Glific aims to empower non-profits to take their communications to the next level through seamless integration with WhatsApp. While the larger goal is to help various organizations solve severe social problems like illiteracy, climate changes, gender oppression, etc, we also need to make sure that the tool is getting utilized to its best. This means

    October 28, 2020 by Vaibhav Rathore

Tags

#Tech4Good 66A analysis analytics architecture ASHWINI Avni conference Coronavirus COVID-19 crm-platform dataexplorer design research Discounts freespeech FundImpact github badges Glific Google governance hasiru dala ideation internetfreedomfoundation Jan Swasthya Sahyog Koha Koha Challenges Koha configuration Koha features Lastmilesupport library medha-stpc openchs opencity opendata open source Partnerships sesta Social Change Software Team Collaboration tech Tech4Dev Project Updates whatsapp Work from Home Yenepoya

Categories

  • Blog
  • Essays
    • 2015
    • 2016
    • 2017
    • 2018
  • Focus Areas
    • Organisations Funded
      • Education
      • Environment
      • Health
      • India
      • Open Source Software
      • Other
      • Philanthropy
      • Sanitation
      • Sports
      • Women Empowerment
    • Tech Work
  • Projects
  • Pune 2018 Unconference
  • Tech4Dev Project Report
  • Uncategorized

Footer

  • What We Do
    • Blog
  • Who We Fund
  • Projects
  • Grants
  • Financials

Copyright © 2021 Chintu Gudiya Foundation. All rights reserved. | Photo Credits