Last week was dedicated to front-end development. We made some nice progress there, thanks to LazoJS framework and Jason Strimpel himself. This framework, supported by the entire Node.JS ecosystem, makes development quite simple even for somebody so unexperienced in UI like me.
However, if you consciously stick with the good parts and avoid the bad ones, the experience can be quite rewarding.
First of all, since our front-end code is rather simple and stateless, we could always solve some performance problems by getting another machine. This would be much cheaper, than the time of a developer.
Second, Node.js has diverse ecosystem of things that help you develop web applications. If you pick a few good ones and stick with them, your life becomes simpler, speeding up the development. Here are some that were adopted last week:
- Reflex - runs a command or restarts a server whenever sources are changed. This reduces development friction a lot. Kudos go to Pieter for finding this one.
- Flycheck - syntax checking extension for Emacs that runs ESLint in the background.
- node-inspector -
Node.js debugger based on Blink Developer Tools. We use it via the
- Lazo.js - client-server web framework for building responsive applications. It deserves a separate podcast. BackboneJS, UnderscoreJS and jQuery come in bundled.
Besides, there is PhantomJS (headless WebKit scriptable with JS) which could be used to verify UI use-cases. If we make these use-cases runnable against BrowserStack, then we have all operating systems and browsers covered for us.
Feature-wise, we implemented infinite scrolling for our feeds, started working on real-time notifications (highlighting menu items which contain new content). Pieter was also implementing the profile UI.
Tomas will join HPC2 development effort later this week. Last week
he deployed a new
like feature to HPC1, to start capturing
information about the most popular content (we could use it to
populate feeds in HPC2). It was used almost a hundred thousand times
within the first 24 hours!