The Importance Of Adapting To Change Quickly
October 28th, 2018
Lately I had been focusing more on the backend of web development. Recently, I started revisiting some of the front end projects I had created some time ago. Some were even from more than two years ago! One static app in particular, no longer even worked locally or remotely (for different reasons).
Looking on it, I found that Front End development can be extremely workflow heavy. In fact, it usually is, if there is anything of any import going on. But with knowledge of the big picture, one can pare down the workflow drastically if it is a simple application.
When I revisited my Random Quote Machine to update it, I found that it would
involve a complete revamp. First of all, a number of the packages I
had been using now revealed vulnerabilities. How do I know that?
Because as of
npm@6, a new feature called
npm security audits
began. Fixing these vulnerabilities if they are not
immediately fixable with the
npm audit fix command can be
fairly complicated. And many packages are not regularly maintained in the
long run. A package can be the hottest thing around one day, and abandoned or
lost its popularity to the next hottest thing the next day.
I really wanted to create a new random quote api app that was
Free to use
Had no api keys. I finally came up with one! Not surprisingly, it was a
quotes apiconsisting of Trump quotes called
What Does Trump Think?For me it was not so much about getting the right kind of quotes, just that it was free and did not require
I also didn’t want to fiddle with updating a new front end workflow for this
particular project. I ended up creating a Nodejs app
using the ejs (
minimalist framework for Nodejs. I was
only using one image which was not large, and there were no fancy animations
I must admit that this was just a quick fix for something that really did not need more complexity and that I have to continue investigating what my new front end workflow should be. It still is a good example of adapting quickly to change when it comes to (web) development. One has to constantly be on one’s toes. I’m telling you, that is very hard to do!