JavaScript-Free Frontend

Click for: original source

The more code you have, the less agile you are. Code is a liability, not an asset. It’s like tar.

An article by Matt Reyer from Slimvoice – a webapp without JavaScript is a series where he documents how he rebuilt his app, Slimvoice, using as little JavaScript as possible. He’s tried to present JavaScript alternatives and encourage those who reach for a SPA for every project to give it a second thought.

Motivation: deliver an amazing user experience with a great design while drastically reducing the complexity of the code, maximizing reliability, and minimizing the cost to the end user.

The author then describes how he has put frontend together:

  • Plain old HTML and CSS
  • The Checkbox/Label trick
  • The
    / elements
  • Forms & Input validation

Author concludes that plain HTML inputs covered most of his needs, but he found himself wishing for more innovation in the HTML spec to cover more inputs and remove the need for JavaScript altogether.

And one advice standing out? Don’t be scared. You can build it yourself! You don’t need a framework! Great read!

[Read More]

Tags miscellaneous programming learning javascript frontend css