this post was submitted on 14 Oct 2023
733 points (95.8% liked)
Buy it for Life
4636 readers
3 users here now
A place to share practical, durable and quality made products that are made to last, with an emphasis on upcycled and sustainable products!
Guidelines:
Things that are well-made and durable (even if they won't last a lifetime) are A-Okay!
Unlike that other BIFL place, Home-made and DIY items are encouraged here, as long as some form of instruction is included in the body of the post.
Videos links are not allowed as post titles, but you may use them in a text post.
A limited amount of self-promotion is accepted, IF the item you are selling aligns with this criteria:
- The item must be made with sustainable or recycled materials.
- If electronic in some way, the item must be open-source.
- The item must be user-serviceable (if applicable).
- You cannot be a large corporation.
- The post must be clearly marked with a [Self Promotion] tag in your title.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
When I led a small dev team making an ecom site I pushed this approach to JavaScript--you should be able to create an account, manage your cart, and check out without JavaScript. All extras with JavaScript just enhance this functionality. Add to cart without leaving the page, a mini cart, client side validation.
Sadly with the rise of SPAs, this concept is totally out the window.
That sounds like a real pain, as if you want to make functionality on old tech, then use new to "spruce it up" that's not redundancy nor graceful degradation, it's just developer torture
The concept doesn’t only apply to enabling JavaScript. The web standards are continuously evolving and you often have browsers that aren’t quite as up to date as others. When flexing the latest layout technologies or other functionalities, your website should still at least be usable in Safari.
To be fair, this was ~12 years ago and the web has changed a lot since then. But being able to submit a form without js still seems reasonable to me.. it also means you are doing proper backend validation. Something I've noticed newer devs sometimes have no concept of.