this post was submitted on 14 Oct 2023
709 points (95.6% liked)

Buy it for Life

4251 readers
2 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:

  1. The item must be made with sustainable or recycled materials.
  2. If electronic in some way, the item must be open-source.
  3. The item must be user-serviceable (if applicable).
  4. You cannot be a large corporation.
  5. The post must be clearly marked with a [Self Promotion] tag in your title.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ElectricCattleman@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] KeenFlame@feddit.nu 2 points 1 year ago (2 children)

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

[–] ElectricCattleman@lemmy.world 1 points 1 year ago

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.

[–] bleistift2@feddit.de 1 points 11 months ago

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.