Monday, December 20, 2010

Getting Started with jQuery

http://sixrevisions.com/javascript/getting-started-with-jquery/

Why CSS before JQuery?

One area that is imperative to powerful jQuery development, is strong knowledge of CSS. The reason for this is because jQuery often utilizes CSS-based syntax to manipulate DOM elements. Here are some concepts that you should be quite familiar with before diving into extensive jQuery development:
  • Type selectors
  • Class selectors
  • ID selectors
  • Descendant Selectors
  • Child Selectors
  • Attribute Selectors
  • CSS Specificity
  • The Cascade & Inheritance
Why JavaScript before JQuery?

Understand JavaScript concepts

In order to make full use of jQuery, it is a good idea to learn certain JavaScript concepts. Sure, you can do a ton of stuff in jQuery without knowing much about some of the concepts listed below, but you’ll have a bigger advantage in your jQuery development if you take the time to understand a few fundamentals, including:
  • Object creation
  • Properties of objects
  • Object literals
  • Functions as methods
  • Anonymous functions
  • Closures
Again, it is not necessary to fully understand any of the above concepts in order to start working with jQuery, but your abilities with jQuery’s API will increase greatly if you understand one or more of the above concepts.

1 comment:

  1. One area that is imperative to powerful jQuery development, is strong knowledge of CSS. The reason for this is because jQuery often utilizes CSS-based syntax to manipulate DOM elements. Here are some concepts that you should be quite familiar with before diving into extensive jQuery development:

    Type selectors
    Class selectors
    ID selectors
    Descendant Selectors
    Child Selectors
    Attribute Selectors
    CSS Specificity
    The Cascade & Inheritance

    ReplyDelete