I have mastered for the most part taking my designs and coding them as read only web pages. I'm looking to go the next level. I have used some jquery plugin's and figured them out quite easily with a bit of trial and error. I have also started reading a book on Java script but it seems like nothing I'll ever really need as I don't plan on REALLY ever writing my own code. I don't think I will at least any time soon. Is it safe for me to just learn a plethora of jquery plugin uses for now or should i really be trying to learn java script to write my own code. I bought the book "Headfirst Javascript" but it is a lot of basics where jquery plugins give me results fast i can use! Any advice?
jQuery is like any abstraction: you can use it without understanding what it's doing under the hood but don't be surprised if you run into problems from that lack of understanding. Also, you can't do just jQuery without doing any Javascript whatsoever. For example:
These are all important and common things in the jQuery world but are "pure" Javascript.
So all in all I'd recommend having at least a rudimentary knowledge of the DOM and Javascript syntax and functionality before doing jQuery.
Learn JavaScript. Learn the DOM.
jQuery is nice, but if you don't know JavaScript and the DOM, it isn't going to help.
$(function() { /* JavaScript goes here */ });
jQuery does three things well: it enables developers to use CSS selectors to manipulate the DOM, it smooths the rough edges of cross-browser programming, and it offers a plethora of wonderful plugins.
I recommend Douglas Crockford's "JavaScript: The Good Parts." It's full of good advice on how to write good JavaScript, and it has an insightful road map for avoiding the gotchas and pitfalls of bad JavaScript. Perhaps most importantly, it's short enough that you can read and digest in a few days (or hours if you're a fast reader).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With