Sunday, June 28, 2015

How many developers to change a lightbulb?

A developer friend of mine once compared coding to the following scene from Malcolm in the Middle.


Hal fixing a light bulb by hal16

I find it to be a very apt comparison.  I cannot count the number of times I set out to accomplish X, only to realize that U, V, and W must be tackled first.  In spite of this, when tasked with having the myLivesNotes web app implement a "save" feature, I foolishly thought it would be smooth sailing.

The first hurdle my partner and I encountered was the realization that the web interface is more or less a static page.  It does not actually make API calls to the mLN backend server.  Rather, the test document is hardcoded into one of the Javascript service files.  We decided to move forward by making an API call to the back end server.

This lead to the realization that none of the existing controllers actually retrieve data from a database.  Naturally, I decided to take a moment to examine the local database.  Upon inspecting the contents of the server database, I realized that it was empty.  At first it appeared no work was done on the database, but that was before a database setup script was found in the server code.  However, the database still needs to be populated with entries.

It looks like a fair bit of work might be necessary on the database before we can move forward with our initial goal.  Hopefully we can connect with some of the previous team members to see how they envisioned the development to progress.

No comments:

Post a Comment