Skip to content

Commit

Permalink
Revised proposal, object-oriented patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
hallettj committed Feb 7, 2012
1 parent 1c76152 commit 480cd24
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions proposals/object-oriented-patterns-in-javascript_jesse-hallett.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,32 @@ Object-oriented patterns in JavaScript

* Speaker : Jesse Hallett
* Available : All Day, both days
* Length : 90 minutes
* Length : 45 minutes

Description
-----------

JavaScript is a language that is tremendously flexible, but that comes
with few clear conventions. Code organization is one are that has been
reinvented perhaps more times than there are JavaScript programmers.
I will examine a few tools that are intended to improve the experience
of writing object-oriented code.

Some of the specific tools that I plan to examine are [traits.js][],
[CoffeeScript][], [Prototype][], and [JiverScripts][]. The goal is to
get a look at different ideas to see what each approach has to offer.
We will discuss inheritance versus composition, and question when it is
or is not appropriate to use object-oriented code.
with few clear conventions. Code organization is one area that has been
reinvented time and again, with perhaps more implementations than there
are JavaScript programmers.

A good code organization pattern should allow code to be easily reused
in new contexts, should provide encapsulation and clean separation of
behaviors, and should minimize risks of name collisions. In this
presentation I will examine some techniques that aim to address these
concerns. In particular I will focus on [traits.js][] and on type
classes / protocols, comparing and contrasting the particular benefits
that these techniques introduce.

[traits.js]: http://traitsjs.org/
[CoffeeScript]: http://coffeescript.org/
[Prototype]: http://prototypejs.org/learn/class-inheritance
[JiverScripts]: https://github.com/jivesoftware/jiverscripts

Audience participation is encouraged: if you have a favorite OO
implementation, or experiences with JavaScript code organization, feel
free to come and to share.


Speaker Bio
-----------

I am a Senior JavaScript Engineer at Jive Software. I also organize the
Portland JavaScript Admirers group; and I enjoy participatng in other
local user groups. And yes, I have written a couple of my own
JavaScript OO libraries.

local user groups.

Links
-----
Expand Down

0 comments on commit 480cd24

Please sign in to comment.