Angular can go to hell.

What’s wrong little man, can’t handle a little boilerplate?

Sorry I can’t hear you over all those observables

This man gets it

I’ve been maintaining a website that I built for a local nonprofit the last few days so it really hits close to home haha. I originally built it on Angular a few years ago because it’s all I knew at the time. Since then I’ve used both Vue and React which makes going back and maintaining the Angular project such a pain

React just feels so much quicker to dev in. Ive not spent a load of time in view so can’t compare

Vue feels like the good parts of angular boiled down into a much easier to use package similar to React. I actually really like it, but I think I do prefer react over both of them at this point. The states and effects just make a lot more sense to me at a baseline than Observables and whatnot

Above all else, I just love JSX over templates. It integrates the elements on screen and the functionality of the component much more closely.

So…dense… Can’t… Move…

Angular past version 1*

andrew
link
fedilink
English
11Y

1.x was so magical and productive. I truly miss it.

baduhai
link
fedilink
341Y

I… kinda find htmx to be better than all other options.

Sören
creator
link
fedilink
151Y

It is

P'undrak
link
fedilink
81Y

Depends on the use case tbh, but it’s a good choice in a lot of cases.

For anyone without the inclination to wade through 47 pages, here’s what they say about HTMX, which they’ve classified as “Assess” rather than “Trial” or “Adopt”

htmx is a small, neat HTML UI library that recently became popular seemingly out of nowhere. During our Radar discussion, we found its predecessor intercooler.js existed ten years ago. Unlike other increasingly complex pre-compiled JavaScript/TypeScript frameworks, htmx encourages the direct use of HTML attributes to access operations such as AJAX, CSS transitions, WebSockets and Server- Sent Events. There’s nothing technically sophisticated about htmx, but its popularity recalls the simplicity of hypertext in the early days of the web. The project’s website also features some insightful (and amusing) essays on hypermedia and web development, which suggests the team behind htmx have thought carefully about its purpose and philosophy.

P'undrak
link
fedilink
31Y

I did not know about this, I’ll take a look at it once I’m home. Thanks!

I was genuinely confused why people were talking about xhtml again this year.

dzervas
link
fedilink
401Y

i found out about htmx just yesterday and I was blown away. i think it’s an amazing idea, really

for small projects that you want to make in less than an eternity it should be very convenient

I don’t get it. In my opinion React is like the worst of the bunch…

I have tried some angular, threw up when I looked at JSX so skipped React and do a lot of Vue, Vue is by far the best of the 3. especially 3 with reusables and better TS support.

That was my experience until I tried Svelte. I loved Vue but didn’t like the transition to Vue 3. When I tried Svelte it blew me away and I never looked back.

When it came out in its time it wasn’t bad compared to the alternatives. Now there is certainly better, but honestly it will still take a long time before we can choose a standard.

@incapable@feddit.nl
link
fedilink
3
edit-2
1Y

Now that would be something, developers choosing a standard.

mandatory xkcd

Yes, but for the web in particular, with the current obsolete technologies that were designed to create websites with a simple interface, it is like continually trying to keep an old man with 15 terminal illnesses alive.

Could you elaborate?

Illecors
link
fedilink
English
881Y

Sorry, I’m gonna be that person.

*What. It should say What it feels like.

TheMoose
link
fedilink
11
edit-2
1Y

Or “How it feels”

I feel like there’s been a gradual increase in people saying things like this (“would of” instead of “would’ve”, “apart” instead of “a part”, etc)

I guess it’s just the increase in the ease of availability of internet.

More reading social media posts than reading books, probably. If one doesn’t make the connection between the sounds and the proper written word, then you might be more likely to make mistakes like “would of” instead of “would’ve” (which is my pet peeve, incidentally)

TheMoose
link
fedilink
21Y

That and the unfortunate increasing failure of the education system.

Also the fact that language is not set in stone and continues to evolve…

TheMoose
link
fedilink
21Y

I’m tired of seeing that argument to validate incorrect usage of words that already exist. Words mean things. People using a language incorrectly don’t get to just decide that the words they’re using mean something else now because that’s how they meant it. That’s not “growing and evolving”, it’s just using the language incorrectly and being too stubborn to admit a fault in themself and instead try to change the language to fit their lack of education about the language and its usage.

The words “could”, “should”, or “would” followed by the word “of” is completely nonsensical and meaningless. It is a misunderstanding/misinterpretation of “could’ve”, “would’ve”, or “should’ve” being heard audibly because they sound similar. “Apart” literally means the opposite of “a part”, and, again, comes from a misunderstanding from hearing the word spoken rather than seeing it written down because it sounds the same.

A perfect example of language evolving is the word “another”. It literally is the words “an” and “other” pushed together to form a single word and has the exact same meaning as that. Another example is the word “bosun”. It literally means “boatswain”, and comes from the word being shortened down in spoken communication, but is a completely made up word and has no prior meaning.

Do not confuse incorrect usage of the language as growth and change.

I’m sorry for coming off as an ass, I literally did not sleep last night and I’m very tired.

Sören
creator
link
fedilink
601Y

Thanks English is not my native language.

You can edit titles

Technology we could never dream of on Reddit

Der Name Sören ist definitiv ein Hinweis darauf :D

Sören
creator
link
fedilink
41Y

Eventuell

Just for the sake of information, the two common ways to put this in English are “How it feels” and “What it feels like”. The former phrase is just descriptive, so it doesn’t need the “like” at the end. The latter phrase is comparative to another thing, so it needs the like. Also this is something that native speakers mix up all the time, so don’t worry too much; your English is great!

Thanks for the explanation.

I think, Svelte should not salute to React (anymore). Not sure what htmx brings to the table, but Svelte should be doing the same like the Penguin labeled “htmx”, because it really frees devs from doing too much stuff to get started and produces fast webpages on top of that.

PHP sitting in the corner, off screen

raubarno
link
fedilink
281Y

PHP is powering a LAMP

*Bootstrap

I’m confused as to what PHP has to do with JavaScript front-end frameworks.

Was it just for a quick laugh and a jab at PHP because it’s an easy target or have I misunderstood that these all use JavaScript

I’m confused as to what PHP has to do with JavaScript front-end frameworks.

PHP deserves honorable mention here as the “it’s not stupid if it works” of the JavaScript framework world. Everything* JavaScript frameworks can accomplish can also be done (much worse) with static HTML delivered by PHP.

*Please no one give me examples that cannot be done without JavaScript. Trust me, I know. But any business requirement can be met with plain HTML if you really deeply hate your end users enough.

unalivejoy
link
fedilink
English
01Y

PHP (and jQuery)

what PHP has to do with JavaScript front-end frameworks.

Everything. Sitting in the corner, munching and handing out cookies to people who don’t want any.

katy ✨
link
fedilink
91Y

I’m still on DHTML, ActiveX, and SSIs

@locuester@lemmy.zip
link
fedilink
English
31Y

Fabulous memories. IE 4 and XML data islands too?

katy ✨
link
fedilink
21Y

Nah we’re all about Frontpage Extensions.

Alright, have to ask: what are those icons?

I think I know Vue and Angular.

What is the S? And what is the atom like thing on the left?

Sören
creator
link
fedilink
181Y

react vue angular svelte htmx

My stupid brain thought the s was squarespace… And now for our sponsor…

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 64 users / day
  • 250 users / week
  • 420 users / month
  • 2.88K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.9K Comments
  • Modlog