Is jQuery Still Relevant in 2018?

  Рет қаралды 120,544

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 455
@TraversyMedia
@TraversyMedia 6 жыл бұрын
As many people mentioned another thing is the dependency for frameworks like Bootstrap if you want to use dropdowns or any widgets. That is a really important part that i missed. I was thinking more about using it directly.
@vaibhavm1986
@vaibhavm1986 6 жыл бұрын
Hey Brad, i really appreciate your opinion So if i understood correctly you mean that we can skip js widget part from these frameworks and should create our own.. It would be only one time effort for any project because we can re use or replicate those later Please let me know your opinion and if you agree kindly create videos how to make our own custome JS widgets like Accordion etc by our own so that we don't depend on frameworks for JS widget This may give us more insight and would help us to create our own custom widgets
@CalicoArchives
@CalicoArchives 6 жыл бұрын
Good video and I pretty much agreed with everything you said. One thing that wasn't mentioned is that jQuery is excellent for supporting older browsers and backwards compatibility which still can be a pretty big deal.
@FrankieAvocado
@FrankieAvocado 6 жыл бұрын
Honestly though, I don't think Bootstrap is relevant either in 2018. At this point there is CSS Grid and Flexbox support in all the major browsers and that is way more powerful and easier to use than CSS frameworks like Bootstrap or Bulma. But of course, everything has it's place and there are still old apps that use jQuery that we will be supporting for a while.
@r4spb3rryAmy
@r4spb3rryAmy 6 жыл бұрын
Use the 'click' event and querySelector to select the Values from the Form. After that just proceed with what you wanted to do. Ex.: document.querySelector('#yourform').addEventListener('click',(e)=>{ var data1= document.querySelector('#data1') /*~or use this which will get all input's except textarea in an array:~*/ document.querySelectorAll('#yourform > input') })
@nenadvicentic
@nenadvicentic 6 жыл бұрын
Yes, JQuery still saves you of bunch of gotchas. Even in this video at 7:45 `element.remove()` does not exist in IE11, etc...
@ZamatoElite
@ZamatoElite 6 жыл бұрын
I used to think jQuery was obsolete until I started developing for the government and enterprise. In those cases, you often can't use the latest frameworks, build systems, or transpilers because of security policies and/or hardware limitations. More often than not, your imperatively scripting the dom the good old fashion way. In this light, one strong argument for jquery I think is being understated is how concise and readable it is compared to vanilla JavaScript. Jquery saves you so much time because so many commonly used operations are condensed into little methods that can be chained together. Don't get me wrong, if I were to start a project on my own terms, I'd probably use React. But if I'm walking into a preexisting code base, or developing for old browsers on old machines, jQuery is a god send.
@alexlytle089
@alexlytle089 4 жыл бұрын
Your 💯 man. I have develop for gov alot of military still uses internet explorer. jQuery takes away all the worries and it's very elegant and easy to use
@its_maalik
@its_maalik 6 жыл бұрын
Your Udemy JavaScript Course was amazing. I learnt more from that course than I ever did during 3 years of my college education.
@Quartzaoe
@Quartzaoe 6 жыл бұрын
JQuery is still relevant imo mainly because of the sheer amount of plugins (probably thousands), it can get you up and running really fast , great for prototyping and extremely short deadline projects. If you have the luxury of time in your project though then it makes perfect sense to skip jQuery and pick and choose only what your project needs
@Patrick1985McMahon
@Patrick1985McMahon 6 жыл бұрын
Webpack and NPM can get you up and running faster. npm install *enter* all my dependencies are now installed. npm run dev *enter* project is now running in development mode. That's it.
@frosty1433
@frosty1433 2 жыл бұрын
No
@cjmarchi
@cjmarchi 5 жыл бұрын
I am doing your modern JS course and absolutely love it and your channel! I feel that I improved tonsss after I met your content. Thanks, mr. Brad, please keep up the excelent work :)
@beerens20
@beerens20 6 жыл бұрын
As soon as I hear you say that you have a Udemy course about a topic I just pop over and buy it. You are much easier to follow along with and learn from than anyone else I have found when it comes to these topics. Thanks for all the knowledge!
@outis99
@outis99 6 жыл бұрын
I swear I was googling Should I use jQuery in 2018 20 minutes ago and then you post this, you read my mind Brad..
@anonymouse7074
@anonymouse7074 6 жыл бұрын
Same here. Brad has come in at the right time many times
@toofanicoder
@toofanicoder 6 жыл бұрын
Law Of Attraction
@birsingh5388
@birsingh5388 6 жыл бұрын
Btw, what you have found on online resources regarding this topic?
@CEnriqueOrtiz
@CEnriqueOrtiz 6 жыл бұрын
same here....
@Lerremy
@Lerremy 5 жыл бұрын
Learn it guys, it's awesome!
@modestas2890
@modestas2890 6 жыл бұрын
That was very informative, thanks. For me personally, the most useful thing about jQuery is being able to select multiple elements of the same class without having to loop over them to perform some kind of logic on each element.
@shatley123
@shatley123 6 жыл бұрын
I believe you can actually do that using the Map function on arrays now without jQuery.
@dwaynegenx72
@dwaynegenx72 6 жыл бұрын
Best purchase I ever made was buying your Udemy JavaScript course. I still review it to sharpen my skills.
@jaxreacts06
@jaxreacts06 6 жыл бұрын
I greatly appreciate your input on this. I was one of those that learned jQuery before learning JS. Now that I've been using it for a few years I can see why it's crazy that I learned it backwards. I still use jQuery because it's what I've been used to using. That being said the last few months, I've doubled down and have begun to dig my heels into vanilla JS to master that language along with es6. Thanks for your opinion and insight, Brad! As always it's great to hear what others are thinking about these topics.
@techtipsuk
@techtipsuk 6 жыл бұрын
You hit the nail on the head near the end, it’s still so much quicker and easier for beginners to use jquery. There are so many great plugins for jquery and so many code examples that all use jquery.
@jwchavez
@jwchavez 6 жыл бұрын
Thanks a lot for your video. I left programming for a while (some years, actually), back in my best times as programmer (circa 2005), javascript was so simple, jquery was something new and obscure. We used js for form validation or to display a few messages or dialog boxes in a web page and nothing more... Today JS is far more complex and powerful, i have been struggling for the last 3 - 4 yrs to recover some of my skills and i simply cannot "run" at js change pace. Closures, promises, arrow functions etc..those are topics which today are still a little bit hard for me to handle (even with my background as ASM, C, php and Vb programmer), and jquery basics just "did the work" that i needed for design of basic websites. I'll follow your advice on learning ES6. I agree with you that jquery in many situations may be replaced with vanilla js, however as far as i understand, whenever you need to use styling libraries such as Bootstrap, Materialize or even datatables, jquery is a prerequisite and i don't see a change of this situation in the near future, so i think that jquery is going to be around us for a while. What do you think about this, do you see any Bootstrap or similar libraries moving away from jquery? Thanks for your content and regards from México Buddy !
@GeekMustHave
@GeekMustHave 6 жыл бұрын
"Moving" one of the most stressful events in our life. A very timely video for me as I got asked just this question a few weeks ago. Keep broadcasting!!
@davide4607
@davide4607 4 жыл бұрын
It takes like 1 day to learn jQuery. It's a no brainer to learn it. Absolutely everyone should learn it. The benefits you get even from just the standpoint of knowing how to read other code you come across is worth it considering how easy it is to learn.
@alexlytle089
@alexlytle089 4 жыл бұрын
Absolutely bro
@Ashton351
@Ashton351 5 жыл бұрын
Very interesting. The practicality and conciseness of the jquery API comes through vs. the design-by-committee javascript.
@troytian9041
@troytian9041 5 жыл бұрын
I have this course for a while and I still learning it. The course is really good if you wanna learn JS, it would be a fantastic start.
@amjadhamed6462
@amjadhamed6462 6 жыл бұрын
I am from syria and I'm living in istanbul and i habe learned wep developer from one years .just I wanna thank you for all your videos you make every thing so simple keep going and good luck
@erik....
@erik.... 4 жыл бұрын
I'm very glad I found this video while looking for jQuery tutorials... made me rethink my web application totally.
@aswebdev
@aswebdev 6 жыл бұрын
I was working through Brad's Materialize course and decided use the materialize 1.0.0 beta with it. So far I've been able to follow the course easily without much issues. Really liked the fact that jQuery has been removed as a dependency in materialize 1.0.0 beta. This makes it a good candidate to use with something like angular unlike bootstrap which requires jQuery as dependency.
@stud_-yl1bu
@stud_-yl1bu 4 жыл бұрын
your courses are legendary ,i don't know how i could go this far without them. And i think we need a traversy in each programming field.
@AndyZoric
@AndyZoric 6 жыл бұрын
jQuery's killer app was that you could write code once and run it on every browser at the time. Since IE went to Edge all modern browsers handle JavaScript pretty similarly. jQuery even admitted this when v 2.0 eliminated much legacy IE support. But jQuery remains a large one-size-fits-all library. But we are all aware that 80% of our users only use 20% of the features we build. jQuery is no different. So I think this video was a great introduction of some very specific tools to do very specific things. Always use the right tool for the job. If I'm building a website with some basic interactions but not a lot of CRUD functionality, a modern framework is overkill, and jQuery might be the best tool here.
@KochharAmandeep
@KochharAmandeep 6 жыл бұрын
Just purchased your Node Js course. I am starting loving JavaScript since your JavaScript course! Thanks for making my every concept clear. I was just confused 6 months ago.
@MrSushant3
@MrSushant3 6 жыл бұрын
*Vue* is the perfect modern alternative for *JQuery* in my opinion. Vue is comparable in size, easy to reason about, and it’s fairly trivial to switch small pieces of functionality to Vue without rewriting your HTML in JavaScript and adopting a build system if you don’t have the bandwidth. This all makes it pretty compelling to consider.
@jancifoxhound6380
@jancifoxhound6380 4 жыл бұрын
After half year learning React, Vue and vanilla JS, i got a job. Suddenly, i find out that React, Vue, vanilla are useless if you work in real word outside of USA. Clients wants dropdown menus for many categories in eshops. They want image slider on main page, hamburger menus, shopping carts... I find out, that youtubers like Brad want you to know React, Vue, Angular, vanilla because they have so many videos on these topics. But todo lists, expanse trackers are totaly useful in real life. I bought Brad's udemy course on javascript. In almost every project he use materialize and jquery library for simple things. This course learn you prototypes, ES5 and other old features, but not learn you closures, hoisting, recursion, callstack. All important things... Today i realized these videos are not ment to help us, but make money of us.
@alexlytle089
@alexlytle089 4 жыл бұрын
Absolutely. Based on the numbers of sites using jQuery its king. You can do so much with by writing less code. It's really not even a huge library I combine jQuery with es6 like template literals mapping etc higher order functions. And people can't believe how fast I can produce power applications
@StevWasHere
@StevWasHere 6 жыл бұрын
Go to any IT job site and do a search for jquery. Stacks of jobs still requiring it. Frameworks are useful but can be overkill in some situations. Who wants to recompile an entire site for a small change. I personally love vanilla js and jquery so am probably a bit biased.
@Keshav7549
@Keshav7549 6 жыл бұрын
I was learning selectors in Jquery and coincidently you uploaded this....great video...
@prabhakarmishra2182
@prabhakarmishra2182 3 жыл бұрын
The way you explain things is superb, lots of love and respect from India, learning from you
@Mike-B.
@Mike-B. 5 жыл бұрын
No, I would not advise new programmers to learn a tough language like JS BEFORE learning jQuery bc simplicity and elegance will win every time. And jQuery will evolve as well, already allowing users to customize the library itself and hence the size. Bottomline: jQuery rocks. Its simple, easy and it works. I see your point here but it mainly comes from React and Angular popularity. I would be more hesitant to go all in on vanilla JS. jQuery is likely to advance too. Cheers. Oh, and I do love your work, it is always great and your opinions and preferences are thoughtfully considered as well. Please keep up the great work.
@alexlytle089
@alexlytle089 4 жыл бұрын
Agree 💯
@kidando
@kidando 6 жыл бұрын
Great video. JQuery is relevant. It's just an option really. ES6 basically took everything that worked for JQuery and bundled it into it's own "engine". I think JQuery is still very relevant as long as the team behind continue to develop around it. I think we miss the point when we think that JQuery is just a substitute for vanillaJS. In many ways it was... but that was their goal back then I guess. Isn't it worth keeping up with the guys that said "hey. JS is missing stuff. Let's build JQuery". What if they come up with more useful functionality that we aren't considering because right now it seems as if JQuery and vanillaJS have the same goals? Anyway... I personally think that the most meaningful reason one would have to shift to vanillaJS is optimization and performance. But that really depends on your project, goals and personal preferences really (at least at this stage).
@mryildiz702
@mryildiz702 6 жыл бұрын
To be honest, I'm an experienced C#, SQL, JS, JQuery, Angular, CSS etc developer. I've liked your videos and found them very informative and helpful. I just bought your 'Modern JS From The Beginning' and 'Bootstrap 4 From Scratch With 5 Projects' courses. And, I believe I'll learn some good things from them too :) Thank you for the videos and courses :) Have a nice day :)
@warchild2726
@warchild2726 6 жыл бұрын
I think it is great for simple front-end, i mean if you are focusing more on back-end development beacuse its really easy to learn and it will make your front-end stuff easier since you want to focus more on back-end routing, authentication and this kind of stuff
@Clichet8
@Clichet8 6 жыл бұрын
Yes it is still relevant, and the tight deadlines in this industry make sure that it stays that way. For a 4-8 week project that does not require much app like features, jQuery and its plugins are usually a no brainer if you want to deliver the product in time and within the budget. Of course it would be a different story if you actually had the luxury of extra time, but welcome to the real world: you almost never have it.
@Patrick1985McMahon
@Patrick1985McMahon 6 жыл бұрын
I can build a better faster project using react, webpack, npm. If I want a nodejs plugin I can install it using npm. Webpack and project.json to manage my project and it's dependencies. I can send that project to another developer and all they need to do is `npm install` and it will install my dependencies for me.
@semmyhakimi2091
@semmyhakimi2091 6 жыл бұрын
Happy 🐣 dude you’re amazing!! You’re videos help us a lot!! And you videos talking about you give me really strong mental and energy to improve myself and do it what I want to be !! See you somewhere mate !!!
@kevinzhang8974
@kevinzhang8974 6 жыл бұрын
Hi Brad: I totally agree with you: jQuery is still relevant in Y2018, though it is fading. Another reason I think is because many libraries are dependent on jQuery ... latest Bootstrap 4 is a good example .. then Bootstrap is so popular ..It is very hard for any wide spread technology to be eliminated ...
@DanielK48
@DanielK48 6 жыл бұрын
I actually took Brad's JS course on Udemy and it's absolutely awesome! I strongly suggest it!
@frontendtesting
@frontendtesting 6 жыл бұрын
thanks for taking an objective view on the question! It may seem like a silly one to folks neck deep in React or Vue, but there are lots of benefits I think we can still get out of jQuery (and plenty of older sites still built on it)
@DazzyDude00
@DazzyDude00 6 жыл бұрын
Even tough, there is a lot of talk in Dev community, about jQuery being dead, I would like to say that there are hundreds/thousands of established companies who are still using jQuery, simply because it is easier and cheaper for them to stick to it, rather than migrate to new platform/technology such as Angular, React or Vue. For this reason, I think jQuery will still be relevant in next 5-10years, at least.
@PsoMyth
@PsoMyth 6 жыл бұрын
Great video! This is really helpful to someone like me who is trying to get back into web. I started learning JQuery back in the day, but there is so much more now it's been a lot to take in and know what's going to be useful in todays market.
@asmodeos666
@asmodeos666 6 жыл бұрын
For me the number one reason why jQuery is still relevant is simply not-so-old-but-still legacy app's. If you're a professional Web Developer working with a pre-existing corporate app that was built not so long ago, chances are that it uses jQuery and those big legacy apps won't migrate to more recent frameworks in the blink of an eye or just because new frameworks/libraries showed up in the more recent years. Of course this reason will fade away more and more with time. I'm working with a mix of legacy app and new projects and I still have to use jQuery quite often.
@TheFABIOCOOL
@TheFABIOCOOL 6 жыл бұрын
Exactly, seems like all these framework devs don't need to support older browsers
@rzohit
@rzohit 6 жыл бұрын
you are one of the most awesome teachers for coding...i think you should create something like laracasts but for javascript where you could post short length courses...rather than those long courses from udemy
@pyromanci2736
@pyromanci2736 6 жыл бұрын
For me personally JQuery's relevance comes down to 3 questions. 1). Do i need to make and special allowances for IE? If the answer is Maybe. I instantly pickup JQuery. Have a few sites that i have to maintain that still gets a fair amount of IE 7 traffic on them (legit traffic and they are low traffic sites). Dispite the warnings of "Optimized for blah". 2). Is there a plugin already made that will get me 50% of the way to my end result (example jquery's datatable/fullcalendar/Jquerui/bootstrap/Materialize)? If yes I will use it. 3). If there was no plugin will creating one be easier in raw or jquery? This one i end up having to look at a lot of the specs of what i'm doing. It normally ends up 50/50. Over all for me question 1 is normally almost yes. Cause most of what i have to do is Ajax and i'm given specs that require me to ensure functionality in IE (not edge). So why reinvent the wheel?
@NedumEze
@NedumEze 5 жыл бұрын
Dear Brad, Your presentation was truly compelling. My concern is, we are having this discussion because of JQuery's maturity. New Frameworks with different flavors entering the space offer novelty. Soon too, they will reach 'maturity '. We'll then seek to move on to somethings else. The second issue is the fact that Cross-browser issues remain with ES6! I need to bring in 'babel, etc., to sort that with ES6! As long as jQuery remains supported, everything else (React, Vue, Angular etc.) may just be playing catch-up until their maturity and fadeout. Any take on these?
@eugeniosalce
@eugeniosalce 6 жыл бұрын
Awesome video, I just found you on youtube and I am already addicted to your videos, keep up the excellent work!
@MrHumanwarrior
@MrHumanwarrior 6 жыл бұрын
I basically have the same opinion as you, Brad, but I came in the comments section to see a different point of view. By the way, I bought your Bootstrap 4 course and it's awesome. ;) requires a bit more explanation here and there, but I manage my curiosity with Google. Great content, both here and on Udemy.
@jilanbasha201
@jilanbasha201 6 жыл бұрын
Hi Brad, I just want to thank you for your MEAN Front-to-back series, as a thank you.. I have purchased "Modern JavaScript From The Beginning" course on udemy(which of course I liked and hope will teach me something new.). Thanks again.
@LaughterOnWater
@LaughterOnWater 5 жыл бұрын
I'm curious when Wordpress will start moving jQuery out of core. Also: no need to apologize for plugging your classes. You have to eat.
@jirikadlec1058
@jirikadlec1058 6 жыл бұрын
In jQuery I put most of my code inside $(document).ready function. How do you recommend to do that in javascript? Is my dom manipulation JS code going to work when my is in the tag? Or do I need to move all my javascript code after the tag?
@patiencelarson4128
@patiencelarson4128 6 жыл бұрын
I enjoy developing in vanilla JS more than I enjoy developing jQuery, however, as others have mentionned, it is useful in projects with very short deadlines. I was working on a project as a student where I almost spent all my free time on, and still didn't meet my deadlines eventhough I was using jQuery, and the syntax of most things is just quicker, be it Ajax, using dollars instead of querySelector, just seems quicker to write. However, I say it again, I hate its performance hit as such a heavy library to load, and I enjoy vanilla JS way more.
@elliemay1748
@elliemay1748 6 жыл бұрын
Robin Thomas Nowadays though it probably provides very little in terms of speed of coding. Especially with ES6
@hyphenmusic8931
@hyphenmusic8931 6 жыл бұрын
Great video, watched with pleasure! One note: *someArray.indexOf(item) > -1* now would be *someArray.includes(item)*
@UgandaFilmTalks
@UgandaFilmTalks 6 жыл бұрын
I came across a site that does not allow users to copy text from it.How is that made.SOME HELP PLIZ
@VKMilling
@VKMilling 6 жыл бұрын
So here are several issues that I contend with when looking at something like this: 1) Without jQuery, for each action I want to take that jQuery natively does, I have to either download a new lib that does it or I have to write it from scratch. 2) Given that time = money, when doing this for a living, all the time you spend researching, installing, learning and/or modifying a new lib or debugging / testing roll your owns, is money out the door that you're not getting back. 3) As stated so many times here, with such a huge dependence on jQuery out in the world, not learning / using it is going to be problematic for you unless you are writing all new stuff.4) Older browser support. In most corporate and government environments, you are not going to be working with the newest up to date browsers. You're still going to be dealing with the likes of IE 7/8/9, legacy versions of FF, Safari etc. In those cases, you're screwed.
@AthensHorseParty
@AthensHorseParty 6 жыл бұрын
Hey, I'm really enjoying your videos. If you have time to answer a question, can you expand upon why exactly you think it's so important to avoid using a relatively "bigger" library like jquery versus a smaller/"lighter" one as you describe in the video? I get that in theory it makes the overall footprint of your project smaller at the relatively low cost of just using a different syntax / API but I mean in practical terms is this a really relevant factor? I wrote a static site recently that imports jquery directly from google's CDN and there just doesn't seem to be much of a "cost" to using it this way in practical terms. Is there something I'm missing? (I'm new to web development so that's entirely possible.) I've really been enjoying the content on your channel, thanks again!
@alexisaddicted
@alexisaddicted 6 жыл бұрын
Really good info! Had no idea how far JS went though these last years!
@PaulMcKillop
@PaulMcKillop 6 жыл бұрын
Thanks, Brad. Don't worry about having a particular view when you have such a strong justification for it. What you said is absolutely logical and practial.
@julianklumpers
@julianklumpers 6 жыл бұрын
“IE always gives us shit” hahaha so true. IE has one purpose and that is to install chrome!
@AndrewErwin73
@AndrewErwin73 6 жыл бұрын
I would really love to get rid of jquery in my site (smaller and faster is what I am thinking) - I just don't know javascript well enough to rewrite the 20 or so functions. I think I can figure it out since the vast majority of the functions are literally just DOM manipulation (adding and subtracting CSS classes more than anything)... thanks for this! I have been inspired.
@jamesharrison4272
@jamesharrison4272 5 жыл бұрын
jQuery is so deeply ensconced especially in areas with ongoing development for any length of time that it will continue to be relevant. It's not like the heart breaking scourge of early IE herpes that had defiantly persisted resulting in mutated development in order to nurse along its festered blight, though unified library it was able to take a bit of the edge of the festered IE stench. Would I learn jQuery front to back - NO. Do you need to know what you are looking at when you encounter it - YES.
@michaelbradley9559
@michaelbradley9559 6 жыл бұрын
Thank you for this. I'm a designer who learned that jQuery was easier than JS (ES5). I still use it, though still learning JS (ES6 now) and the rest of the 'stack'. Maybe a future dev convert from design. =P Though you suggest using specialized libraries, I would think that one library that can do all the things several specialized libraries can do would be ideal. In the case where there is one or two libraries needed, that makes sense, but if I have a stack of six specialized libraries...I'd default back to jQuery to do all of it.
@Sam-mn4vl
@Sam-mn4vl 6 жыл бұрын
I very good video. An honest and sincere one with depth and explanation. I have used jQuery for a few years now, but I've just been opened my eyes to es6 by yourself and others. Not to mention to learn node.js Javascript is imperative. I will definitely take your course! Thank you for the video.
@NBGTFO
@NBGTFO 6 жыл бұрын
Great topic! I still use jQuery, but in a very limited capacity. I could easily replace all jQuery code I write with plain JS, but I don't because jQuery is always a dependency on some other package(s) I use so it's there anyway, why not use it?
@politibetjent
@politibetjent 6 жыл бұрын
Thanks, very useful. Love your content. For some reason you seem to be able to explain difficult concepts in a beginner-friendly way. Calm, taking your time and not rushing anywhere. Thanks again! :-)
@emilywong4601
@emilywong4601 5 жыл бұрын
I will use it in my web development course in a community college for Fall 2019.
@loftonharmon609
@loftonharmon609 6 жыл бұрын
jQuery is great in 3 scenarios, cross browser support, if you don't have a transpiler for es6 to es5, and if you just need quick dom manipulation and ajax. jQuery is my go to when I'm doing simple web app/site without a lot of user interaction.
@rahulmathew8713
@rahulmathew8713 6 жыл бұрын
Yes it is , As a developer I dont have time reinventing the already existing time tested controls at the expense of my clients.
@rod7517
@rod7517 6 жыл бұрын
Just started to learn javascript about 4 months ago now i am familiar with it and it was time to start learning some framework to improve frontend i found that jquery for newbies alot easier to learn so i tryed and liked it but i also looked for angular or react and ended up choosing vue for simplicity. The big point is javascript libraries can get alot time to be specialized on it and if you choose another one on the long run you will need to learn everything again. The point about Vue is that is simple and straight forward integration with the code specialy for begginers like myself maybe this is the future of all the frameworks "less code is more" sometimes
@Ralexlol
@Ralexlol 6 жыл бұрын
I was about to learn AJAX. Should I skip that?
@nishanthsubramanya1931
@nishanthsubramanya1931 6 жыл бұрын
Learn AJAX and XHR like a skip through!! Fetch is the new API which is a lot easire, also, if you are going to use frameworks like Angular, you will hardly use both AJAX and FETCH, it has it's own HTTP module.
@ABHISHEKHARSHVARDHAN
@ABHISHEKHARSHVARDHAN 6 жыл бұрын
Hi Brad, I feel it's still quite useful. I recently worked on a Web application and it was easy to use jQuery interested if writing big line of codes using vanilla JavaScript.
@Boudiccanyc
@Boudiccanyc 6 жыл бұрын
jQuery is relevant for as long as companies pay top dollar for it. So it’s not going anywhere.
@harjitsingh7308
@harjitsingh7308 6 жыл бұрын
nick johnson yeah and if you do wordpress development its used there for plugins and the bootstrap framework use it and there's probably a ton load of other open source projects using jQuery so i dont think its goind anywhere any time soon, untill people stop using it is when it will go
@davidconnelly1793
@davidconnelly1793 6 жыл бұрын
Great video, with a very diplomatic ending. I'm hoping to do a response video within the next few weeks. Basically, I think jQuery is for the trash can. However, very respectfully, I don't think you're going quite far enough with this one. I happen to think that the very concept of using frameworks is for the chopping block. Anyway, that's for another day. In the meantime - thanks for this interesting video.
@bruff19
@bruff19 6 жыл бұрын
I'm working my first job as a FED and we don't use jQuery. We use React since it's much faster. However, we do use jQuery when we use bootstrap but we don't use it directly.
@jasonwitt95
@jasonwitt95 6 жыл бұрын
The only thing I use jQuery for is AJAX. The rest of it was basically created for cross browser compatibly, and you don't really need that anymore.
@Kaiss69
@Kaiss69 6 жыл бұрын
Jason Witt you should look into "axios", jQuery is too big to be included just for ajax
@realfolo
@realfolo 6 жыл бұрын
yeah, dont do that, a lot of unnecessary code for just 1 function. use fetch instead with a polyfill.
@busyrand
@busyrand 6 жыл бұрын
I was just thinking about this issue. I still would like to learn it because it exists out there in projects you come across in the industry. It's important to understand what I'm looking at.
@TheMarcoDahms
@TheMarcoDahms 3 жыл бұрын
Just started a new project using jquery and i think it still kicks. I will replace it in a few months soon, as i find time for better solutions then. But for a quick mvp it rocks
@Feavy
@Feavy 6 жыл бұрын
*$.inArray(item, anArray)* can also be replaced by *someArray.includes(item)*
@Tatinoar.
@Tatinoar. 6 жыл бұрын
It's ES6 ! It's not gonna work in IE. Prefer indexOf
@ErnestGWilsonII
@ErnestGWilsonII 6 жыл бұрын
Wow, you heard the man! Always learn jQuery first! Even before folks learn to use a web browser, they should learn jQuery! Just kidding of course! Thanks for another great video! I especially appreciated how he laid out the jQuery command beside the vanilla JavaScript command, that is helpful for a noob like me! I am of course subscribed with alert Bell turned on and thumbs up!
@hrgwea
@hrgwea 6 жыл бұрын
6:51 Try doing this with pure javascript and compare the amount of code: $('div:has(span):first, div:contains(hello)').addClass('class').css({color:'red', display:'block'}).show(400) SPOILERS: It'll take you about 30 lines of code and half an hour. 7:10 Try this with pure Javascript: $('multiple_selector_1').closest('div').appendTo('multiple_selector_2').addClass('class') SPOILERS: make sure you count the amount of FOR loops you used. 9:05 Try this delegated event with pure Javascript: $('multiple_selector').on('change input', 'input, select, textarea', function(evt){ console.log( $(this).val() ) }) SPOILERS: 1 hour of work to get it right. TL;DR: Of course it's still relevant, and it will keep being relevant simply because it allows to do a lot of work in much less time and with very few lines of code.
@MapOfCydonia
@MapOfCydonia 6 жыл бұрын
If you want to minimise LOC and spend less time doing DOM manipulations then stop writing code that does DOM manipulation altogether. Delegate that task to one of the many modern libraries and frameworks that have battle-tested, elegant approaches to templating without the need to write code and manage the state of your view manually. Spend that time doing something more important.
@hrgwea
@hrgwea 6 жыл бұрын
Those frameworks are not enough unfortunately. They cover common use cases, but if you want to build specific UI behavior you'll have to manipulate the DOM anyways.
@charlesbyrneShowComments4all
@charlesbyrneShowComments4all 6 жыл бұрын
Hr Gwea Agreed. I've used closest then findNext for Dom traversal. Sure I could have written plain JS with dynamic data attribute mapping to access elements, but jQuery is a convenience. Most developers are familiar with jQuery. I do use document.querySelectorAll etc and other modern JS alongside jQuery. In some apps I have created another alias instead of the $ variable and wrapped it so that it could later be replaced, but... I cannot tell you how many enterprise apps that are shared and use jQuery where I have adapter methods because I use but cannot change another groups code/library where there are requests made to change order committees, and QA staff who have to test other applications that would be affected by removing jQuery. Believe it or not we finally upgraded an app in 2017 that required IE9 in quirks mode and heavy doses of jQuery, jQueryUI and other plugins because the vendor didn’t support other browsers and newer IE. It wasnt as simple as replacing the system with another because of the amount of resources, data and inter dependency with other apps. The company finally moved the platform to support mobile and modern browsers. People would be amazed at the number of libraries in use that directly or indirectly use jQuery. I do agree with the video author in learn jQuery, but also modern Javascript. To newer developers and detractors of jQuery it's not always as simple as stop using jQuery and start using ES6. Some developers are constrained between vendor apps and IT policy of locking browser updates and support.
@anzefajfar3072
@anzefajfar3072 5 жыл бұрын
But you will still have those 30 lines of code with jQuery, only in your main file it would be more readable, but performance wise i think its the same if not even worse when using jQuery..
@hollyplyler9840
@hollyplyler9840 6 жыл бұрын
I use it for ajax and dom manipulation. Because it's just easy. I'm working on learning angularJS right now. I like it somewhat, It's cleaner for one thing, but the file system does tend to get cumbersome with the amount of files needed.
@saschametz9018
@saschametz9018 6 жыл бұрын
Good Points. Im excited if new developers are still going to learn jQuery (before JS), because its much easier for beginners. I think (not only) because of that jQuery is still gonna stay for a long time. But its our good ol' friend.
@punstress
@punstress 4 жыл бұрын
If I disagree with everything you said, then I disagree that I can disagree with everything you said. Thanks for helpful video. Just once every year or two I have a need to work on websites and it's like relearning everything from day one.
@AlexanderRomanenko
@AlexanderRomanenko 6 жыл бұрын
There are still huge number of JS widgets, including commercial, written in jQuery. Virtually all templates from ThemeForest are jQuery. For developers who need to get work done with premade designs and components, either because they do not have design skills, or the core of the project is more business-logic focused (even if its implemented in full modern ES6) so there is no value in spending time making own designs, jQuery is inevitable dependency.
@BoBoC21
@BoBoC21 6 жыл бұрын
I'm not using jquey ... Never used it .... But I've seen that jQuery is irrelevant since 2016 so I think that your video makes sense ... I do really think that vanilla JavaScript is taking over quite rapidly and plus all the frameworks are based on it so it makes sense to use vanilla JavaScript to get used to it.
@Mickey_McD
@Mickey_McD 6 жыл бұрын
How about for JQuery UI functionality like date pickers, calendar widgets, and the table plugin? If you don't use JQuery UI for these what would you use, instead?
@ThiagoTAV
@ThiagoTAV 6 жыл бұрын
Fantastic as always Brad.
@BrianBerneker
@BrianBerneker 6 жыл бұрын
jQuery is still necessary (like it or not) if you want full functionality in Bootstrap 3.3, but Bootstrap 4 makes it entirely optional. This could represent the end of jQuery's popularity on new site development. Given the emergence of front end frameworks like Vue, Angular or React, it seems that DOM manipulation is less and less necessary. Between ES6, Axios and Lodash, there is very little need for jQuery any more.
@rja421
@rja421 6 жыл бұрын
3 years ago when I had just started coding I learned some jQuery as part of a course but have I never used it since. It was starting to go out of vogue at that time. I think you are correct that it is mostly only used in legacy websites now.
@slimyelow
@slimyelow 5 жыл бұрын
TY Brad. Simplified may day AGAIN !!
@chakradhar009
@chakradhar009 5 жыл бұрын
Very Objective Analysis. Keep going. Nice Job.
@joshualawson7604
@joshualawson7604 5 жыл бұрын
As of June 2019, still use jQuery and Bootstrap daily on the Laravel app for my dayjob...
@marcindomanski5654
@marcindomanski5654 6 жыл бұрын
Little understatement. Lots of examples in this video is not equal. For example: el.parent() !== el.parentElement. - because in jQuery you can add selector in bracket to test parent (and use parents()) el.clone(true) !== el.cloneNode(true) - because in jQuery element is cloned with data and events el.on('click') !== el.addEventListener('click') - because in jQuery you can add name to event and then remove anonymous function etc.
@hobbyhub-91
@hobbyhub-91 6 жыл бұрын
these are always fun to watch
@lamamasters
@lamamasters 6 жыл бұрын
jQuery is still used in websites and in most SPA applications :) Although even the authors do not know about it :) Especially useful when you need to use jQuery-based components (carousels, sliders, switches, etc)
@akshatbhatt9934
@akshatbhatt9934 6 жыл бұрын
u are the best teacher..like for brad
@ahmedelbohoty3708
@ahmedelbohoty3708 6 жыл бұрын
Hey Brad . Thanks for everything you are doing . Every lesson you make , give me a push to learn more and more . I started learning web development . i learned by myself basics of Python HTML CSS JS and im planning to study data structure and algorithms and SQL . But i have problem i dont know how i can put all this stuff together to build websites and how to deal with servers . im so confused . we will be happy if you can make one video talking about steps to build website and THANKS again for everything
@Knards
@Knards 6 жыл бұрын
I use it! 80% of websites use it. But then again I am not in a position where I need to learn the newer or even the older JS. I stayed away from JS simply because I had no desire to write out all the long words. I look at what you need to write the new and I just say no thanks
@dafimperator
@dafimperator 6 жыл бұрын
I agree with you. I realize that vanilla JS is faster and more pro, but for most simply static websites i do in my daily job jQuery is simply faster to write.
@seth4402
@seth4402 6 жыл бұрын
Great video, and side by side comparison!
@ismann9148
@ismann9148 6 жыл бұрын
I still use jQuery almost exclusively and still prefer it over anything else.
@haruruben
@haruruben 6 жыл бұрын
I just used it today. If I don’t have jquery I wind up creating the couple of functions I need for don manipulation. Sometimes you can’t use angular or vue because of requirements of the project
@saitcihangiraldemir5214
@saitcihangiraldemir5214 6 жыл бұрын
If i'm not wrong es6 doesnt support adding event listeners to dynamically added elements very well. Jquery "on" syntax has a built in method for this. Also i'm still having some trouble on posting to certain API's with fetch.
@MaximillianHeth
@MaximillianHeth 6 жыл бұрын
sait cihangir Aldemir Sure it does! Do you know what event delegation is? That's what the second argument in the .on method is doing, and it's very easy to replicate in ES2015 (i.e., ES6) if you understand how it works.
@saitcihangiraldemir5214
@saitcihangiraldemir5214 6 жыл бұрын
Event delegation? What is it sir. İ didn't say it does not support, i just said doesnt support very well. My statement is based on problems i run into previously. It didnt work well for me. Maybe jquery comes handy and i m too lazy to try new things.
@ruslanuchan8880
@ruslanuchan8880 6 жыл бұрын
Thanks for this video! I'm new to Javascript (now learning the DOM stuff) and was wondering if JQuery still relevant because I've heard that it's bloated. I think I'll go for the pure vanilla path first. Thank you, sir! :)
@rahulvanmali1406
@rahulvanmali1406 6 жыл бұрын
hey brad sorry i forgot to wish u! anyways happy easter to you and your family! i completed your angular front to back ! should i study NGRX or start with React with redux because i have basic knowledge of react without Redux or flux!
@TraversyMedia
@TraversyMedia 6 жыл бұрын
Same to you :) It depends on what you like better. React and Angular are both very popular. I have always said I liked Angular better but after working with React/Redux for the past few months, I'm not sure anymore. I think you will be good with either one so choose what you enjoy more and are better at
PHP vs. Python - My Take...
19:44
Traversy Media
Рет қаралды 254 М.
Async JS Crash Course - Callbacks, Promises, Async Await
24:31
Traversy Media
Рет қаралды 1,4 МЛН
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 99 МЛН
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 8 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 18 МЛН
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
Does anyone use jQuery in 2023?
22:23
Dev tips by MoHo
Рет қаралды 1,4 М.
JQuery 4 BETA Released!
9:42
ThePrimeTime
Рет қаралды 78 М.
Flexbox CSS In 20 Minutes
19:59
Traversy Media
Рет қаралды 1,8 МЛН
What Is A RESTful API? Explanation of REST & HTTP
18:38
Traversy Media
Рет қаралды 1,4 МЛН
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,5 МЛН
What To Learn Before A JavaScript Framework
23:19
Traversy Media
Рет қаралды 232 М.
JSON Crash Course
24:49
Traversy Media
Рет қаралды 1 МЛН
Starting A Serious Web Development Project
19:04
Traversy Media
Рет қаралды 534 М.
Fetch API Introduction
30:54
Traversy Media
Рет қаралды 500 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 99 МЛН