Web Development

cupcakezealot , in New CSS that can actually be used in 2024 (no hype)
@cupcakezealot@lemmy.blahaj.zone avatar

its 2024 if it's not the marquee tag what's the point

onlinepersona , in The quiet, pervasive devaluation of frontend

I had to stop reading at

CSS is a programming language because that’s what you’re doing when you write it; you’re programming the application’s presentation logic.

It's as if he wants to get into a philosophical debate about what programming languages are.

Frontend is hard and it's made unnecessarily hard by HTML,CSS, and Javascript. I swore off of frontend due to the evergrowing, unnecessary complications.

What I'm looking forward to is web apps written in a single programming language with no javascript knowledge necessary at all. There are rust frameworks that generate the JS boilerplat to load WASM. Some use the DOM to make their UIs, some insert a canvas and use WebGL, some generate HTML in the backend and replace parts of the live frontend with that, but my favorite is when there's no HTML, CSS or JS in sight.

As for the devaluation of frontend, I always found it weird that frontend devs were paid less than backend devs. I respect frontend devs for being able to do what I can't. We're in this together. Pay us all a good wage. We're workers and have to stick together.

CC BY-NC-SA 4.0

z3rOR0ne , (edited ) in The quiet, pervasive devaluation of frontend
@z3rOR0ne@lemmy.ml avatar

I'm self teaching myself to become a true Fullstack Dev, mainly using JS/TS, but also semantic HTML and Vanilla CSS, but have more than a passing knowledge of Bash, and have scripted web scrapers in Python. I also want to become proficient in C, Golang and Rust over the long haul. Lastly, I am studying, and plan to upkeep my skills in Data Structures and Algorithms, as well as Optimizing SQL queries.

That said, I have a degree in Illustration and can definitely identify with many of the sentiments this article expresses and agree with pretty much all the points he makes. You can make the most well designed back end API or optimized Database in the world, but what it returns won't mean shit to the user if its frontend isn't accessible, easily understandable as to how to interact with, readable, and also beautiful.

People toss that last one out as a want, not a need, but how often have you chosen a client app over another because you just preferred the way that one looked?

Ultimately aesthetic artistic beauty is one of those things we not only live for, but survive because of. Without it we become depressed, bored, and aggravated. It's as important as food, as water, as air. We may not die as quickly when deprived of beauty, but we do die all the same without it.

In short, creating beauty is serious work.

doublejay1999 , in What are your favorite e-commerce alternatives to Shopify?
@doublejay1999@lemmy.world avatar

Woo commerce had some good integrations.

I’m not a developer, but I was able to integrate with eBay - keeping stock and orders in sync both ways.

Far exceed my expectations on a low volumes store.

podperson ,

I’m a developer, and WooCommerce, in my opinion, is pretty great. Just like Wordpress, if you look at it more like a development framework, is pretty flexible on what it can do. If you’re not a developer and don’t want to touch code, just buy the plugins you need and go from there. Pretty nice compromise tool between flexibility and ease, although if you have a really tiny budget, the plugins can add up.

sacbuntchris ,

How does it compare to the developer experience of Shopify? I hated Shopify. Unforgivable that there wasn't even a way to have a dev environment, but this was a few years ago.

gofsckyourself ,

I'm also a developer. My job has me work with WordPress almost exclusively. I run hundreds of WordPress sites and the hosting servers that run them.

WordPress is not good, nor is woocommerce. They are, however, convenient to the layperson. That's basically all they have going for them.

WP and Woo are major resource hogs. The data structure is atrocious. There is no ORM and everything is shoved into two tables: posts and postmeta. All your pages, blog posts, products, orders, form submissions, everything is a 'post'.

99% of all plugins are horribly written garbage that are major security vulnerabilities and updates to patch those security holes frequently break everything.

WP sites require frequent maintenance to keep them updated to avoid those security issues and since you never know when an update is going to break the whole site you have to do so carefully and make sure you have lots of backups.

Automattic, the company that makes WooCommerce, is scummy as fuck. Just recently they released an update that added a new cookie which triggered firewalls, and made this new feature on by default. They also are selling all WP.com and Tumblr data to be used for AI. Not to mention the fact they intentionally confuse people into thinking WordPress.com is the same thing as WordPress.org, and since the CEO also controls WP.org they can get away with breaking all the rules of the 501c3 nonprofit's own rules in doing so.

I can go on...

Deebster ,
@Deebster@programming.dev avatar

I'd written a plugin for WooCommerce as part of working on a B2B service. It was several years ago now, but from what I remember it seemed quite easy to write plugins for because it just used WordPress's hooks system.

WordPress isn't the fastest codebase around, so you'll probably need to spend more on hosting to get it running well enough, but compared to other PHP e-commerce offerings like Magento it'll fly.

LesserAbe ,

I also came here to say Woocommerce, I helped a small retail store set up their shop. I will say if someone doesn't have ongoing support I could see hiccups appearing eventually if you have any kind of customization. There's just a lot of plugins and things you can tweak. But that ability to customize means you can do something just the way you want it, vs bending a system like Shopify to try to fit edge cases.

DuffmanOfTheCosmos , in I made a thing

This is cool, but it bothers me that the inhale cycle doesn't end with completely filling the circle with blue. I feel unfulfilled, like when the DVD player screensaver doesn't hit neatly into the corner of the screen when it totally looks like it's going to

spartanatreyu OP , (edited )
@spartanatreyu@programming.dev avatar

Lol, well I could change it, but it was based on the gif at https://quietkit.com/box-breathing/

I think it's because you're not supposed to expand your lungs so much that they feel like they're going to burst.

But if you scroll to the bottom of the css and look at line 69, you can change transform: scale(90%); to transform: scale(100%); to see if you like it better.

DuffmanOfTheCosmos ,

Haha nice, thanks!

lqdrchrd , in You would think it would be easier for Canadians to get sponsorship

Immigration is very difficult, time consuming and expensive. Hiring someone already in the country is easy, quick and free.

Maddier1993 ,

Which is the #1 phrase repeated whenever I search for how to immigrate to EU/US.

Which i guess is worth bearing in mind and not place lofty expectations on the immigration lottery.

Kissaki , in Static site generator (SSG) alternative to Squarespace?

Static typically refers to static pages. Which can have dynamic elements, but no backend.

IE: you can’t have a contact form without paying a 3rd party.

Unless you open an email client or other url to forward the contracting I don't consider that (purely) static anymore.

Given that, I'm not sure what you even want "static gen" for? You may be looking for the wrong thing.

MaximilianKohler OP ,

I’m not sure what you even want “static gen” for?

Speed, security, free hosting.

Kissaki ,

If that's your hope for static generating, "contact form with backend" goes against those goals. It's an important requirement shifting the entire viability and weighing of platforms and hosters.

parens , in Open Letter to Tim Cook: Sabotaging Web Apps Is Indefensible

Apple should be called Malus, honestly. It's the Latin designation for "common apple" and sounds evil: exactly what Apple is.

slazer2au , in 6 Best Embedded Databases for 2024
  1. SQLite
  2. DuckDB
  3. RocksDB
  4. Chroma
  5. Kùzu
  6. Faiss
Vincent , in Federated Credential Management (FedCM) API - Web APIs | MDN

To make this work well with the Fediverse, you'd need to be able to specify your own server (e.g. programming.dev), which is under discussion at https://github.com/fedidcg/FedCM/issues/240.

ericjmorey ,
@ericjmorey@programming.dev avatar

To make it work in a way that preserves privacy as a value held by many current users of federated social services, yes.

But it seems like it can be implemented as is in any federated service and improve security for 3rd party frontend apps.

Maybe I'm missing something essential, but holding out for a perfect implementation which may not be broadly adapted might be a mistake on a developer's part if they want to provide value to ther service they're developing for.

NostraDavid , in Back to Basics in Web Apps

I find it refreshing to write, not generate, HTML and CSS, and then sprinkle some JavaScript for interactivity.

I've found hugo to be rather amazing in generating static HTML and CSS (converting either HTML or Markdown templates into regular HTML).

I started out my personal website as:

PS: Have you ever seen TheNet (1995)?

PPS: All the HTML is pretty much all Semantic HTML, instead of Twitter's div>div>div>div>div

Aijan OP ,

Author here. My blog is also generated with Hugo, and it's great. I just prefer not to generate HTML and CSS from JavaScript unless it's necessary.

Sorry, I haven’t seen that movie. Thanks for the recommendation though.

NostraDavid ,

Too bad you haven't seen it - my site has a little easter egg from that movie :3

victorz ,

div>div>div>div>div

Ah yes, div soup.

By the way, have you tried different generators and compared them, or tried only Hugo, out of curiosity?

NostraDavid ,

Only Hugo; I didn't want to try anything JS based and hugo is faaaaaast in its generation. Sub 1 second fast. It's so nice.

victorz ,

Cool! Very nice. Do you need it to be that fast or is it just nice because faster is better?

MechKit , in Back to Basics in Web Apps

My career has followed some of that journey, and I also have come back to using Alpine, HTMX, and a server side rendering for SPA-like apps. Some pages are just almost all HTML, and just use HTMX to switch the client content without a page load.

elint , in Say Goodbye to Contact Form Spam

Interesting. That reminds me, I need to update one of my scripts.

+time.sleep(1.2)

Newtra , in New CSS that can actually be used in 2024 (no hype)

I've been waiting so long for :has(), and had no idea it was finally implemented. This is huge for userstyles. Now I should be able to hide retweets and inline ads from Twitter with just a couple lines of css.

Newtra ,

Also, I've gotta say, great article. Very informative and I appreciate the focus on concrete use cases.

walter_wiggles , in The quiet, pervasive devaluation of frontend

I feel for this guy. It's not just frontend though, I've seen it with backend, DBAs, etc. It really is just a reflection of what the business considers valuable.

kassuro OP ,

It's true it happens for other areas too.
But I think it might be true that frontend is often viewed as "the easy" part by other devs. Especially older backend devs seem to think it's all super easy. At least in my experience.

And that businesses try to push for all devs be full stack doesn't help.

overcast5348 ,

I'm a "full stack" backend dev - I mainly do backend work, but make minor changes to the frontend, like adding a button to a page that already has 3 other buttons.

I've got a couple of friends who didn't want to do even the occasional front end work and moved to devops. They'd rather deal with k8s and monthly on-call rotations than deal with frontend.

I don't know who gave you the impression that all backend devs think of front end as "easy", but it's definitely not the case, at least in my friend group of n=4. We treat frontend as insane arcane magic and we don't want anything to do with frontend because we find literally everything else easier.

kassuro OP ,

It's definitely not all. My current team definitely has respect for all that special tooling / ux stuff I'm doing. Especially since nobody was able to do it before I was hired.

But I also had the experience that older Backend devs don't take it seriously.
My guess would that those stoped learning about frontend tech in the late 90s and it's a case of not knowing what you don't know.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • webdev@programming.dev
  • test
  • worldmews
  • mews
  • All magazines