Live data from Hacker News

Ask HN: Is jQuery still a thing?

news.ycombinator.com

81–90 of 90 posts

Re: Ask HN: Is jQuery still a thing?

#81
Popular doesn't mean good. Check out modern pop music or American president (joke).

jQuery is ok for super simple sites, but modern interfaces becomes more and more interactive and complex. Attempts to organise some logic via imperative jQuery way usually turns into hell. So, first of all it isn't scalable.

Btw, I wrote an article how Vue.js can replace jQuery for "websites", not only for "web applications": https://medium.com/@borisadimov/vue-js-the-second-breath-of-...

Re: Ask HN: Is jQuery still a thing?

#82

Earlier quoted context omitted.

I'd never heard of this library and I spend a couple hours a day reading developer news so I wouldn't call this popular. I'd also argue that this as a current generation framework. I only did a brief skim but the patterns remind me of a Knockout or Enyo codebase with data binding between components doing explicit dom manipulation. The contributors tab shows a 2014 start but I'd have guessed a 2010-2011 start from loo…

You'd be surprised. UI5 is made by SAP as their go-to UI technology. SAP's profit last year was over 6B euro and it's used in almost every large enterprise out there. It's just hard to see as a tech company because it's not consumer facing. I'm an SAP and UI5 developer.

I hope you don't take my comment as too much of an insult to your work. I consider the hallmarks of the current generation of frameworks to be component composition, framework based change synchronization (KVO, diffing, dirty checking), and the avoidance of DOM interaction (jsx, templates). Not being on the newest trend doesn't automatically make something bad and it's clear that you and your team put significant effort into your framework so I'll have to do a much more thorough investigation before I have a real opinion on it.

Re: Ask HN: Is jQuery still a thing?

#83

Earlier quoted context omitted.

PHP is some tool that was never really good, but had some compelling features that no other tools provided. Except that now there are better tools for any task it solved, excluding the task of "maintaining a PHP codebase". If you are starting a new project on it, you should indeed feel silly.

Have you looked at the PHP landscape over the past few years? You may still not love the syntax, but PHP as a language, an ecosystem, and a developer community is extremely strong. It's a fantastic choice for a web app in 2016.

Honestly, no, I haven't look at it in the last 7 years. (It's being that great! Thanks for lighting-up my day.)

Also honestly, I don't think I should look now. The PHP applications I see around are still the ones getting serious vulnerabilities found every week, the same ones that other communities found ways to pack the solutions into tools and conventions that are easier to use than not to. I also don't see anybody claiming PHP has any new template system to replace the dated original one.

I've seen some progress on the language, but not nearly enough to make it compelling. I have plenty of stuff already on my ToTry list, PHP would have to say something better than "I'm not a complete mess anymore" to enter it.

Re: Ask HN: Is jQuery still a thing?

#84
I have been using query in one of my projects. For me support of IE 8 and older is not an issue but support of mobile users is. So I have replaced jquery with vanilla JavaScript. I found the page performance to be noticeably better. It was also easy to keep the necessary JavaScript functions in mind, compared to jquery, not to mention the reduction in js file size.

Re: Ask HN: Is jQuery still a thing?

#85

Earlier quoted context omitted.

Have you looked at the PHP landscape over the past few years? You may still not love the syntax, but PHP as a language, an ecosystem, and a developer community is extremely strong. It's a fantastic choice for a web app in 2016.

Honestly, no, I haven't look at it in the last 7 years. (It's being that great! Thanks for lighting-up my day.) Also honestly, I don't think I should look now. The PHP applications I see around are still the ones getting serious vulnerabilities found every week, the same ones that other communities found ways to pack the solutions into tools and conventions that are easier to use than not to. I also don't see anybody…

You can of course choose to still avoid it - but your advice to other devs to do the same makes little sense. It's a completely different beast than it was 7 years ago.

Re: Ask HN: Is jQuery still a thing?

#86
post #72

Earlier quoted context omitted.

I disagree. jQuery was the tool that acts as a "polyfill" for cross-browser compatibility. Nowadays jQuery is dying, not because of React, Angular or TypeScript, Elm. It's dying because of browser-support of `querySelectorAll`, unified event handlers, unified AJAX request API and others. jQuery had it's time. Now you just use "vanilla" JS and it is enough. No external dependencies for your landing-page / non-web-app…

Here's what I tell my devs: Yes, "you might not need jQuery". But, the first time you have to log real hours fixing a cross-browser bug that the jQuery team already took care of, I'm fucking firing you. Choose wisely.

I'm looking at you, XMLHttpRequest (thank you, $.ajax).

Re: Ask HN: Is jQuery still a thing?

#87

Earlier quoted context omitted.

Honestly, no, I haven't look at it in the last 7 years. (It's being that great! Thanks for lighting-up my day.) Also honestly, I don't think I should look now. The PHP applications I see around are still the ones getting serious vulnerabilities found every week, the same ones that other communities found ways to pack the solutions into tools and conventions that are easier to use than not to. I also don't see anybody…

You can of course choose to still avoid it - but your advice to other devs to do the same makes little sense. It's a completely different beast than it was 7 years ago.

Do you know of any compelling reason, instead of problem fixes?

Because the language is a bit archaic (has maintainability problems for large codebases, has the "too little power" problem for small codebases); as far as I have looked, the ecosystem still does not include a good templating system (although it does include most of the tools available on other web ecosystems); and the community is still heavy on applications with the same kinds of security bugs they always had, and many, many "X-only" developers.

And, anyway, fixing those outstanding problems can only make it an ordinary language. And there's no reason to look at any language that the best claim is "it's not worse than any other random language".

Re: Ask HN: Is jQuery still a thing?

#89
post #72

Earlier quoted context omitted.

I disagree. jQuery was the tool that acts as a "polyfill" for cross-browser compatibility. Nowadays jQuery is dying, not because of React, Angular or TypeScript, Elm. It's dying because of browser-support of `querySelectorAll`, unified event handlers, unified AJAX request API and others. jQuery had it's time. Now you just use "vanilla" JS and it is enough. No external dependencies for your landing-page / non-web-app…

Here's what I tell my devs: Yes, "you might not need jQuery". But, the first time you have to log real hours fixing a cross-browser bug that the jQuery team already took care of, I'm fucking firing you. Choose wisely.

And upon hearing that I'd fucking resign.

Re: Ask HN: Is jQuery still a thing?

#90
post #30
post #11

Very simple and as always it depends on what you want. You want to do the cool new thing? Then use one of the younger frameworks but expect things to be slow, buggy, and ungooglable. If you want to make money wiht little effort then use the older frameworks that survived (e.g. jquery).

How does one make money? Help please

1. " rel="nofollow">https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.m...

2. Profit

Post reply on HN