News for hackers. Stuff that matters.
Re:JQuery 1.7 beta 1 released by masklinn on Thursday September 29, 2011 @01:06AM (#3051200)
> With the emergence of mobile browsers which have great HTML5 support, and the decline of aging browsers like IE, I wonder does jQuery have much of a future?

HTML5 has very little relevance to jQuery (the querySelector API is pretty much the only one of real interest), jQuery is fundamentally a better API for DOM manipulations. As long as the DOM exists, so will jQuery (seriously, have you ever written a raw DOM web application?).

Not to mention the jQuery ecosystem, which provides a number of "headstart" plugins.

> I don't need it to handle ajax queries

XMLHttpRequest is quite far from the easiest API to use correctly, jQuery makes that very convenient. Also, deferreds.

> and backbone has better data handling etc...

Erm... you do know backbone uses (if not mandates) jQuery for view interactions right?

Re:JQuery 1.7 beta 1 released by wavephorm on Thursday September 29, 2011 @01:14AM (#3051210)
I've never used jQuery. That doesn't mean I have no idea what I'm talking about. 99% of people that use jQuery have no idea what they're doing.
Re:JQuery 1.7 beta 1 released by jonknee on Thursday September 29, 2011 @02:06AM (#3051331)
You have never used jQuery and like your made up statistic also have no idea what you're talking about. jQuery has never been more popular and HTML5 will only increase its popularity.
Re:JQuery 1.7 beta 1 released by jarek-foksa on Thursday September 29, 2011 @07:11AM (#3051974)
I'm not sure why wavephorm was downvoted. He rised valid point - on modern browsers a lot of functionality offered by jQuery could be easily achieved with pure DOM/CSS3/WebSockets.

In the upcoming years I expect jQuery to be replaced by more specialized and interoperable microframeworks like those listed on http://microjs.com/

This discussion reminds me a bit http://www.doxdesk.com/img/updates/20091116-so-large.gif

Re:JQuery 1.7 beta 1 released by jonknee on Thursday September 29, 2011 @10:52AM (#3052645)
Sure, but it's going to be a long time since we have all modern browsers. At the moment people want modern functionality, so tools like jQuery are invaluable.

At the same time I think jQuery sees this divide as well, which is why Sizzle has been separated.

Re:JQuery 1.7 beta 1 released by wavephorm on Thursday September 29, 2011 @02:55AM (#3051438)
What I have seen of jQuery falls into two camps, people who use it instead of basic DOM code like document.getElementBy Id, and horrible ungodly spaghetti code.

Funny how all the jQuery fanboys are quick to downvote, question my knowlege, and ignore my question simultaneously.

Re:JQuery 1.7 beta 1 released by masklinn on Thursday September 29, 2011 @04:07AM (#3051583)
> Funny how all the jQuery fanboys are quick to downvote, question my knowlege, and ignore my question simultaneously.

The only "questions" you asked are 1. whether people still use jQuery (it's one of the most popular DOM-manipulation libraries out there and growing) and whether jQuery has a future, in the middle of confused ranting betraying a deep lack of familiarity not only with the library itself (which can be excused) but with the purpose and role of that library as well (which really can't, at least do your homework).

> question my knowlege

One can only question your knowledge when you consistently demonstrate a complete lack thereof.

Re:JQuery 1.7 beta 1 released by moomin on Thursday September 29, 2011 @12:16PM (#3053033)
I think jQuery's got life in it for as long as IE has > 5% market share.
Re:JQuery 1.7 beta 1 released by masklinn on Thursday September 29, 2011 @12:58PM (#3053259)
You're underestimating the appeal of sheer convenience. jQuery is convenient because it's terse, it's expressive and it has bloatloads of community support.

Most "standard" javascript APIs (especially the W3C DOM) are absolutely dreadful to work with, especially if you like modern javascript (a smalltalk-ish blend of "functional" and object-oriented javascript).

If IE falls under 5% of market share (not like it'll ever happen), jQuery will simply remove the now-irrelevant pieces of code. My proof for this is simple: http://zeptojs.com/

This is a 5k library aiming to implement the full jQuery API while restricting its compatibility to mobile webkit browsers.

As long as there is more than a single browser (and each Webkit port out there counts as a supplementary browser), jQuery will thrive.