Stoyan Stefanov is a member of Yahoo's Exceptional Performance team; he's worked on a variety of performance-related projects at Yahoo, including the popular YSlow plugin for Firebug. He's also a contributing author here on YUIBlog.
Among the coding patterns explored in this chapter:
- Separating behavior
- Init-time branching
- Lazy deﬁnition
- Conﬁguration objects
- Private variables and methods
- Privileged methods
- Private functions as public methods
- Self-executable functions
Design patterns include:
The sample chapter is an excellent standalone resource, but the full volume is outstanding as well. Our thanks to Stoyan and his editors for allowing us to freely share the coding and design patterns content here.