Using Objects to Organize Your Code 3.72 http://spkr8.com/t/1423

Description:

When you move beyond simple snippets of jQuery and start developing more complex user interactions and applications, your code can quickly become unwieldy and difficult to debug. This talk will show you how to start thinking about your code in terms of the bits of behavior it comprises, and will teach patterns for code organization.

We'll start by looking at jQuery code that doesn't use any organizing pattern, and point out where issues can arise when the code needs to be debugged or modified. We'll move on to look at how the object literal pattern can be used to solve these challenges by encapsulating features and centralizing configuration options. Finally, we'll look at organizational patterns that allow for private variables and methods.

comments powered by Disqus

26 Ratings: 3.72

Delivery: 3.75

Content: 3.69

Last Five Ratings