phpJoeMo Posted June 10, 2011 Share Posted June 10, 2011 So, this is probably more suited for a blog somewhere. But I felt like sharing my view on the matter. Speaking in terms of performance and web app responsiveness: I think within 2-5 years, it will be pointless to use jQuery. ... ... Following are my reasons why: The main selector engine"Sizzle" really doesn't do too much more than the .querySelectorAll() native javascript method. .each() is a lot slower than the native .every(). Chrome has pushed javascript onto the forefront with faster processing speed etc., IE continues losing market share in the former's favor, forcing IE to think standards. Aside from the animations, which aren't entirely necessary and can sometimes become more annoying than anything, jQuery and the like really just solve a bunch of browser compatibility issues that aren't going to be as bad in the near future. Just some thoughts. What are yours? Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/ Share on other sites More sharing options...
xylex Posted June 10, 2011 Share Posted June 10, 2011 Yeah, kind of like how Rails phased out PHP........ Mass adoption is a big factor in keeping languages/frameworks/etc going, even if there's something better out there. And jQuery's a lot more than browser compatibility. The beauty of using frameworks like jQuery with your example is that I can just put in a patch to jQuery that to use .every() when it's available and I've instantly gained a performance boost on new browsers across years of existing jQuery code. Plenty written on the benefits of always using your own wrapper instead of a native API, and on the JS world, jQuery can usually suffice as that wrapper. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1227806 Share on other sites More sharing options...
KevinM1 Posted June 10, 2011 Share Posted June 10, 2011 jQuery is worth using simply for its AJAX API. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1227872 Share on other sites More sharing options...
.josh Posted June 10, 2011 Share Posted June 10, 2011 As long as there is no enforced standard among all browsers, frameworks like jQuery will always exist and be a viable option. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1227928 Share on other sites More sharing options...
Maq Posted June 10, 2011 Share Posted June 10, 2011 The main selector engine"Sizzle" really doesn't do too much more than the .querySelectorAll() native javascript method. Not sure what you're getting at, it's a framework. Chrome has pushed javascript onto the forefront with faster processing speed etc., IE continues losing market share in the former's favor, forcing IE to think standards. I won't hold my breath... Aside from the animations, which aren't entirely necessary and can sometimes become more annoying than anything, jQuery and the like really just solve a bunch of browser compatibility issues that aren't going to be as bad in the near future. Let's just say this, even if all browsers complied to a universal standard I would still use JQuery. Besides a very gentle learning curve, I don't know of any downsides. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1227943 Share on other sites More sharing options...
fugix Posted June 10, 2011 Share Posted June 10, 2011 jQuery is worth using simply for its AJAX API. Agreed, simple and effective Ajax API Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1227944 Share on other sites More sharing options...
spiderwell Posted June 12, 2011 Share Posted June 12, 2011 i loves the jquery for ajax stuff. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1228530 Share on other sites More sharing options...
gizmola Posted June 12, 2011 Share Posted June 12, 2011 jQuery also simplifies javascript and DOM access into a compact one function api that is a lot easier for people to learn than having to hack native javascript which is quirky and hard for a lot of people to understand, due to its prototype based design and first class functions. There are so many little quirks you have to keep in mind with javascript and the dom/css that it's a lot easier for people to use a clean framework/api, especially when you have a number of people that have to work on and maintain the codebase. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1228816 Share on other sites More sharing options...
JonnoTheDev Posted June 13, 2011 Share Posted June 13, 2011 I think within 2-5 years, it will be pointless to use jQuery How can anyone predict what is likely in the next 5 years. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229003 Share on other sites More sharing options...
Philip Posted June 13, 2011 Share Posted June 13, 2011 How can anyone predict what is likely in the next 5 years. - obviously. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229005 Share on other sites More sharing options...
JonnoTheDev Posted June 13, 2011 Share Posted June 13, 2011 Next week's lottery numbers please! Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229029 Share on other sites More sharing options...
.josh Posted June 13, 2011 Share Posted June 13, 2011 I think within 2-5 years, it will be pointless to use jQuery How can anyone predict what is likely in the next 5 years. How can anyone predict what is likely in the next 5 years. - obviously. == world exploding Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229099 Share on other sites More sharing options...
Adam Posted June 13, 2011 Share Posted June 13, 2011 That's next December, apparently. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229115 Share on other sites More sharing options...
fugix Posted June 13, 2011 Share Posted June 13, 2011 That's next December, apparently. lol....unless the prediction is wrong again..... Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229148 Share on other sites More sharing options...
.josh Posted June 13, 2011 Share Posted June 13, 2011 Actually there are a couple varying "predictions" about shit hitting the fan this year, around september/october. Google "Elenin 2011", "Planet X 2011" and/or "Niburu 2011" if you're too lazy, basically the gist is there is this "entity" floating around in space right now and the U.S. govt and NASA is claiming it's a harmless asteroid but a lot of other people including other world governments are calling b.s., saying it's really a brown dwarf and it is the reason for the unprecedented amount of natural disasters this year (stuff to do with its own gravity coupled with the sun's gravity) and it's due to "line up" between us and the sun later this year (which causes some kind of gravity well) and shit is gonna super hit the fan when that happens. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229152 Share on other sites More sharing options...
spiderwell Posted June 13, 2011 Share Posted June 13, 2011 i think a super shit hitting a super fan is better than a shit super hitting the fan oh and iirc mayans didn't predict the end of the world, their calendar just ran out. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229261 Share on other sites More sharing options...
Philip Posted June 13, 2011 Share Posted June 13, 2011 oh and iirc mayans didn't predict the end of the world, their calendar just ran out. On that logic, the world ends every Dec 31st for me since I have to buy a new calendar every year Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229269 Share on other sites More sharing options...
spiderwell Posted June 13, 2011 Share Posted June 13, 2011 new years eve must be very emotional for you Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229307 Share on other sites More sharing options...
fugix Posted June 13, 2011 Share Posted June 13, 2011 new years eve must be very emotional for you Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229309 Share on other sites More sharing options...
Adam Posted June 13, 2011 Share Posted June 13, 2011 Actually there are a couple varying "predictions" about shit hitting the fan this year, around september/october. Google "Elenin 2011", "Planet X 2011" and/or "Niburu 2011" if you're too lazy, basically the gist is there is this "entity" floating around in space right now and the U.S. govt and NASA is claiming it's a harmless asteroid but a lot of other people including other world governments are calling b.s., saying it's really a brown dwarf and it is the reason for the unprecedented amount of natural disasters this year (stuff to do with its own gravity coupled with the sun's gravity) and it's due to "line up" between us and the sun later this year (which causes some kind of gravity well) and shit is gonna super hit the fan when that happens. Yeah I've read about that, and why none of it's true. Didn't end on 21st April either- that James Cameron's full of sh*t. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229333 Share on other sites More sharing options...
Alex Posted June 13, 2011 Share Posted June 13, 2011 ...saying it's really a brown dwarf and it is the reason for the unprecedented amount of natural disasters... The reason for the unprecedented amount of natural disasters is our unprecedented ability to detect natural disasters. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229336 Share on other sites More sharing options...
.josh Posted June 13, 2011 Share Posted June 13, 2011 @MrAdam: yeah well...see problem is that the "proof" from your link basically boils down to asking the people who are accused of covering it up whether it's true or not. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229337 Share on other sites More sharing options...
.josh Posted June 13, 2011 Share Posted June 13, 2011 ...saying it's really a brown dwarf and it is the reason for the unprecedented amount of natural disasters... The reason for the unprecedented amount of natural disasters is our unprecedented ability to detect natural disasters. Right...so in 2010 we did not have the same unprecedented ability to detect natural disasters? Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229338 Share on other sites More sharing options...
Alex Posted June 13, 2011 Share Posted June 13, 2011 ...saying it's really a brown dwarf and it is the reason for the unprecedented amount of natural disasters... The reason for the unprecedented amount of natural disasters is our unprecedented ability to detect natural disasters. Right...so in 2010 we did not have the same unprecedented ability to detect natural disasters? You're right. It's definitely fair to extrapolate the apocalypse based on two data points: 2010 & 2011. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229339 Share on other sites More sharing options...
.josh Posted June 13, 2011 Share Posted June 13, 2011 @AlexWD : my point was that yes, over the years, ability to collect data has increased, but we didn't just magically start thoroughly writing down numbers this year. Anybody can review historical data and see that 2011 has produced many times more than normal earthquakes, volcanic eruptions, tornadoes, animals dying, etc.. than usual. @MrAdam: Also want to point out that the Q&A link you posted...mentioned nothing about stuff predicted to happen this year. But even still...assertion is govt. and NASA is covering the shit up, so pointing to a website where "credited scientists from NASA" are saying "no it's not true" doesn't mean anything. Quote Link to comment https://forums.phpfreaks.com/topic/238936-jquery-javascript-libs-general-rant/#findComment-1229341 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.