forked from rmurphey/jqfundamentals
/
README.txt
123 lines (88 loc) · 4.25 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
= Welcome to jQuery Fundamentals! =
Thanks for signing up for the jQuery Fundamentals class! In the interest of getting right to work when we meet, I've put together a few notes about things to do before the class. Your help in doing this housekeeping beforehand is much appreciated.
== Setting up a Server ==
You'll need a server for the AJAX exercises we'll be doing in class, and you'll need to have it set up before you come to class so we can get right to work. You have a couple of options here:
* Set up a server on your local machine, using tools such as MAMP or WAMP. If you're not familiar with these tools, they are fairly easy ways to get a server up and running on your computer, allowing you to access and modify all files locally.
* Set up space on a hosted server, such as Dreamhost, MediaTemple, or similar, and access it via FTP or SSH.
If you have questions about how to do this, please don't hesitate to contact me.
== Getting the Code ==
The code we'll be using in class is hosted in a public repository on Github:
http://github.com/rmurphey/jqfundamentals
You can download a .zip or .tar file of the code, then uncompress it to use it on your server. (If you're git-inclined, then you can fork the repository instead, if you'd like.)
== Software ==
You'll want to have the following tools to make the most of the class:
* The Firefox browser
* The Firebug extension for Firefox
* A plain text editor
* For the AJAX portions: An FTP or SSH client (if you're not using a local server)
= Course Outline =
== About the Instructor ==
Rebecca Murphey is a front-end architecture consultant based in Durham, NC. She is a regular contributor to JSMag, the magazine for JavaScript professionals; an active member of the jQuery community; and a contributor to an upcoming jQuery Cookbook from O'Reilly.
== Part 1: JavaScript 101 ==
* JavaScript vs. jQuery
* DOM manipulation issues
* Selection issues
* Traversal issues
* Cross-browser issues
* JavaScript fundamentals
* Logic and operators
* Booleans, strings, numbers, arrays, objects, and functions
* Scope and closures
== Part 2: jQuery Basics ==
* Selectors
* best practices
* optimizations
* find
* filter
* is, not
* .length
* Chaining
* getters vs. setters
* CSS
* changing the style of elements
* changing the style of elements via JS is a bad idea (use classes instead)
== Part 3: Accomplishing things with jQuery ==
* Traversing
* next/prev
* parents, closest, children, siblings
* Manipulating
* append, prepend, appendTo, prependTo
* remove, empty
* before, after
* insertBefore, insertAfter
* attr
* val
* creating new elements
* Events
* convenience methods (click, mouseover, mouseout, focus, blur, etc.)
* combination methods (hover, one, toggle)
* bind and trigger
* Effects
* built-in effects
* show/hide
* fadeIn/fadeOut
* slideUp/slideDown
* toggle
* custom animations
== Part 4: XHR and other Goodies ==
* XHR (AJAX)
* choosing a data type
* POST vs. GET
* convenience methods vs $.ajax method
* load, get, post
* $.ajax
* Utility methods
* trim
* inArray
* extend
* ... and more
* Plugins
* Finding
* Using
* Writing
= Reference Material =
* jQuery documentation: http://docs.jquery.com
* jQuery Google Group: http://groups.google.com/group/jquery-en
* Delicious bookmarks: http://delicious.com/rdmey/jquery-class
= Copyright Notice =
Licensed by Rebecca Murphey under the <a href="http://creativecommons.org/licenses/by-sa/3.0/us/">Creative Commons Attribution-Share Alike 3.0 United States license</a>. You are free to copy, distribute, transmit, and remix this work, provided you attribute the work to Rebecca Murphey as the original author and reference the GitHub repository for the work at http://github.com/rmurphey/jqfundamentals. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. Any of the above conditions can be waived if you get permission from the copyright holder. For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to http://creativecommons.org/licenses/by-sa/3.0/us/.