This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Framework: jQuery


  1. How has this framework evolved ways of accessing, creating and modifying DOM objects, properties and events?
  2. What elements of AJAX are handled by jQuery?
  3. What other benefits does jQuery offer to web developers??

 

Recommended Resources

UPDATED AUGUST 12, 2011

Rebecca Murphy's: "jQuery Fundamentals"
(the rights to this document have recently been bought by jQuery and files have been moved to a new repository on github)

The Future Project Home Site
http://www.learn.jquery.com

NEW Github Repository(project files)
https://github.com/jquery/web-learn-jquery-com

Old Site WARNING!! no longer maintained. use at own risk
http://jqfundamentals.com/book/index.html

 

 

Learn more about jQuery at School of Webcraft

Task Discussion


  • Anonym   May 29, 2011, 3:23 p.m.

    Another way of approaching this question is to write some code that does something with the DOM and then consider how you would turn that code into a jQuery plugin.

    If that seems too difficult, then do it the other way around, take a jQuery function and rewrite it as ordinary js code to do something independant of jQuery.

  • Anonym   May 29, 2011, 2:25 p.m.

    You might find this helpful:

    http://www.keyframesandcode.com/resources/javascript/deconstructed/jquery/

    eg scroll down to Attributes (say), choose removeAttr (say), click on the right arrow to see the code or click on the function name to see the jQuery docs.

  • Carlos M. Cornejo   May 29, 2011, 2:30 p.m.
    In Reply To:   Anonym   May 29, 2011, 2:25 p.m.

    Excellent resource, added to my cooking book ^^

    Thanks!

    Carlos M.

  • Pippa Buchanan   May 30, 2011, 7:23 a.m.
    In Reply To:   Carlos M. Cornejo   May 29, 2011, 2:30 p.m.

    Carlos, this is a great idea - and it sets itself up as a bridge from a task to a independent group on jQuery.

    Do you want this task to act as a discussion - or as a resource that will answer beginner's questions about how jQuery is related to Javascript?

  • Carlos M. Cornejo   May 30, 2011, 8:56 a.m.
    In Reply To:   Pippa Buchanan   May 30, 2011, 7:23 a.m.

    Hi Pippa,

    I dont really think that this task should become a discussion. I better think that we could integrate it into the Js Frameworks as a subitem or a subsection(Inside jQuery). But I will agree whatever your decision be, ok?

    Thanks for your attention.

    Carlos M.

  • Pippa Buchanan   May 30, 2011, 9:13 a.m.
    In Reply To:   Carlos M. Cornejo   May 30, 2011, 8:56 a.m.

    Yeah, I agree. I'm editing the task to make it a little clearer - I'm not an expert on Javascript so am adding some suggestions of how to make it clearer.

  • Pippa Buchanan   May 30, 2011, 9:21 a.m.
    In Reply To:   Anonym   May 29, 2011, 2:25 p.m.

    Sorry selfstudier for addressing Carlos in my earlier comments- I wasn't sure who had created the task - I'm adjusting the wording to make it a little clearer.

    I'd suggest that diving too deeply into jQuery might be out of the scope of this group - which is already huge!

    I do like that you're explaining libraries and frameworks as part of this group.

    Adding suggestions to the task that encourage people to create, clone or join a jQuery group.

  • Anonym   May 30, 2011, 9:40 a.m.
    In Reply To:   Pippa Buchanan   May 30, 2011, 9:21 a.m.

    Carlos did create the Task; as he says it is logically a part of a more general discussion about libraries and frameworks.

    Of course this does not prevent the creation of a new jQuery group (or indeed a new group for any of the other libraries since jQuery is DOM focused).

    I think there is a difference between "Understanding jQuery" and "Using jQuery", the latter being achievable without the former.