Giving Meteor a little Posture

I'd like to show you my initial sketch of Posture, a Meteor package that provides Module and Class support

Start Watching Loading...

That's it for "Giving Meteor a little Posture". Good job!

Next

Need a second look? Watch again.

Giving Meteor a little Posture

I'd like to show you my initial sketch of Posture, a Meteor package that provides Module and Class support. Key features include inheritance, extending class methods, including (mixing in) objects, and hooks for plugging into the inheritance and include processes. Another neat feature is that it works great with Coffeescript! This is a private package for now. I'll be open sourcing it in the near future.

**Correction:** At about 3:00 in the video, I must have accidentally deleted that video segment. My apologies. Here is an explanation: <p class="code-block-title">app.js</p> ```javascript // MyControl inherits from Class, just like Form MyControl = Class.extends({ // This is the same as calling MyControl.include(Form) // It mixes in the Form class. I can mixin multiple classes or objects // this adds behaviors to my class include: Form, // another example: [Form, Draggable, Droppable] controlMethod: function () { return 'controlMethod'; } }); ```