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.
Stoyan’s latest project is Object Oriented JavaScript, a new book from Packt whose simple goal is to help you learn how to “think in JavaScript.” Stoyan and his editors were kind enough to let us share with you Chapter 8 from OOJS — “Coding and Design Patterns.”
Among the coding patterns explored in this chapter:
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.
September 26, 2008 at 2:25 pm
[...] 8 of the Object-Oriented JavaScript is available at the YUIblog.com. [...]
September 26, 2008 at 11:40 pm
On page 285:
var obj = {
function: doSomething() {
console.log(‘sure, asap’);
}
};
Should probably be:
var obj = {
doSomething: function() {
console.log(‘sure, asap’);
}
};
September 27, 2008 at 2:46 am
Ha, nice catch, thanks very much, Matt!
September 28, 2008 at 12:11 pm
[...] YUI blog 那里看到,Stoyan Stefanov (是个牛人,好像Yahoo UED 的就没有不是牛人的) [...]
October 2, 2008 at 6:39 am
[...] Fonte: YUI Blog [...]
October 2, 2008 at 12:13 pm
[...] Free Chapter: “Coding and Design Patterns” from Stoyan Stefanov’s Object-Oriented JavaScript … Stoyan’s latest project is Object Oriented JavaScript, a new book from Packt whose simple goal is to help you learn how to “think in JavaScript.” (tags: yuiblog.com 2008 mes9 dia2 OOP JavaScript book capítulo_de_livro blog_post) [...]
October 14, 2008 at 1:45 pm
Thanks for the chapter, I read a lot of it and bookmarked it for reference. Thanks!