SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Aug 2007
    Posts
    328
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What Should I learn about javascript/dom/jquery

    Hi,
    I'm quite new to javascript, so I'm not really fully aware of it's capeabilities just yet.
    I'm a web designer, not really a backend developer, so I probably wont want to learn about form validation and such right away, just the visual stuff, like web 2.0 gadgets such as a fancy window that pops up when you hover over a text link or something.

    I've recently bought books on javascript, dom scripting and am about to recieve a book on jquery, as I plan to eventually learn everything about javascript.

    However, my question is, since I want to work on the fancy looks of things, what exactly should I be learning first?
    I'm also very interested in webservices and pulling data from other websites, be that via apis or by scraping it (I've got no idea how to do either of these things, but presumably javascript can do it).

    As I've said, my initial focus will be on how to do things that people will actually see visually, then work on the webservices stuff in the future.

    Should I just jump right into jquery or do you think that I'll find that 'm in way over my head and should start at the very beginning of javascript, then dom, THEN jquery?

    Your expert opinions will be appreciated

    regards
    steve

  2. #2
    We're from teh basements.
    Join Date
    Apr 2007
    Posts
    1,205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Jump right in and play with jQuery right away. Have fun with the effects, widgets, and what-not. However, you still need to learn everything about the JavaScript language - its idioms and conventions, what's happening "under the hood" - and the DOM. If you do not master these tools and truly understand them inside and out, you won't be competent to fix things when they break, or to contribute anything original to the evolution of the Web.

  3. #3
    SitePoint Addict
    Join Date
    Aug 2007
    Posts
    328
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the reply.
    So your saying that I should be able to get started right away with jquery and do all the fancy stuff I want to right away, and probably wont have any problems?

    In terms of regular javascript, what are the most important bits that a newbie learn? And what about dom, what bits of that should I learn first.

    Also, where do webservices and api's fit into the equation? Which particular element of javascript would I be using to take advantage of those?

  4. #4
    We're from teh basements.
    Join Date
    Apr 2007
    Posts
    1,205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The DOM is a sort of API for an XML or HTML document. Once you've learned to use it, all other APIs will come easily. So I'd say learn the basics of the language first - the built-in objects (Object, Array, Date, etc.), their native methods, and how to extend their prototypes with custom methods. Then start learning all the DOM objects and other browser objects (window, history, navigator, etc.) and their methods. In particular, read a bunch of online tutorials like these:

    http://www.webmonkey.com/tutorial/JavaScript_Tutorial
    http://www.webmonkey.com/tutorial/Ad...cript_Tutorial
    http://w3schools.com/js/default.asp

    and play around with scripts from copy-and-paste sites like these:

    http://javascript.internet.com/toc.html
    http://www.javascript.com/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •