winduptoy | 6 years ago | on: "DigitalOcean Killed Our Company"
winduptoy's comments
winduptoy | 7 years ago | on: A JavaScript-Free Front End
I agree that it's a hack and I can't say that I like it. Blame the W3C and browser vendors for providing incomplete/barely functional standards like <dialog>.
winduptoy | 7 years ago | on: A JavaScript-Free Front End
Absolutely, and a ton of commenters (mostly on Reddit) seem to be missing that point. Use the right tool for the job. In the article I explicitly state that I couldn't have built the drag-and-drop invoice editor without JavaScript (although I wish that I could!).
winduptoy | 7 years ago | on: A JavaScript-Free Front End
winduptoy | 7 years ago | on: A JavaScript-Free Front End
winduptoy | 7 years ago | on: A JavaScript-Free Front End
A lot of things are performed on the server, and then the server responds with a "flash" which is basically a little bar that says "Data saved." or "There was an error: ...".
There are a few places where I used a simple 5-liner to validate a field or something.
Unfortunately there was one place where I needed some heavier JS (for which I used Mithril.js), but it was absolutely required for when you're editing an invoice. You wouldn't want to edit line items and wait for a server response every time you make one change, so I simply determined that this was an area where I had no choice. Mithril simply modifies the DOM inside the <form> element, and then saving is a plain old POST request when you submit the form after you've made all of your changes.
The unfortunate reality is that I couldn't completely free myself from JavaScript, but got a lot closer.
winduptoy | 7 years ago | on: A JavaScript-Free Front End
winduptoy | 7 years ago | on: Ask HN: How Can I Sell My Project?
winduptoy | 7 years ago | on: Cancelling Dropbox Pro is hard
winduptoy | 8 years ago | on: Ask HN: Are there any reasonable alternatives to MacBook Pro for developer?
https://www.computerweekly.com/feature/Apollo-11-The-compute...