jQuery was the dominant library in front end web development not too long ago.
The industry has largely moved on from jQuery for greenfield projects, but I’m sure plenty of folks are still maintaining jQuery projects.
So I’m curious to hear about your use cases and plans for the future.
Latest comments (72)
Actually most of the modern PHP scripts are still using jQuery. Just check the hottest PHP scripts on codecanyon.
Been using Angular for a while, the funny thing is all those famous nitty npm packages we use in angular are only a wrapper over jquery libraries.
You can open your node_modules folder from angular project and
open any js file to see it first hand.
My personal favourite is **bootstrap **package and inside it's js file you will find most of jquery code been wrapped and put to use.
I just did a 36,000 line rewrite from jQuery server rendered Django to Vue SPA + Django with Django simply acting as a REST API. It was a massive undertaking and probably the biggest single hurdle I've had in my career. Lots of late nights at the office. The end result is a pleasure to work in and the users seem to prefer it as well.
DEV is :P
from github.com/thepracticaldev/dev.to/...
My plan for the future is to switch to ActiveStorage :D
I still use jquery for many projects. It is so easy to integrate and many commands are just so deep in my head.
It's fast and good.
A saying describes it quite well: "Never stop a running system! :)
Internet is very biaised because those who blog are naturally the ones who are the people to keep up with latest frameworks. But there are a huge number of legacy developers you never see online especially in big corps who are still coding in jquery, though more and more have switched to at least angular.
I work at a small company that still uses Bootstrap + jQuery, because it works with solutions that have been built a while ago so making big changes would be a big job.
Personally I don't think it's much of a big deal.
Just because it's not necessarily needed, doesn't mean using it hurts.
Occasionally, I work on marketing sites with dynamic content. Just about every theme out there is going to have jQuery already, and it's simple to use.
I know you can do just about anything it can do with vanillaJS, but still I'd rather write
$('#login-form').click(doSomething)over
document.getElementbyId('#login-form').addEventListener('click',doSomething)And just this morning, I was debating whether an internal page with an AJAX form should be a bit of jQuery or a React component. I could make a case for each.
I am even creating new projects on jQuery because it gives me more flexibility that others have not demonstrated. I have been eying vue though, but looking for a way to do common stuff like modal, datatables, datetime etc. Because I haven't seen it as easy as jquery libraries, I ignored.
Yes! I work exclusively with Adobe Experience Manager (AEM). It’s an enterprise CMS with a significant market share among Fortune 500 companies. AEM uses jQuery extensively. But more importantly, 99% of implementations I’ve seen rely on jQuery; mainly because Adobe uses it and because everyone is familiar with it.
I love jQuery. It’s a fantastic tool that give you great freedom . And with great freedom comes great responsibility, that is to write clean and maintainable code.
Also, would love your thoughts on this:
Tell me about jQuery Patterns!
Ahmed Musallam ・ 1 min read
Some comments may only be visible to logged-in visitors. Sign in to view all comments.