18
techpines BONE.IO Realtime HTML5 Framework

Bone.io for HTML5 Apps

Embed Size (px)

Citation preview

techpines

BONE.IO Realtime HTML5 Framework

techpines

BRAD CARLETON Founder/CTO at Tech Pines

TECH PINES Builds cutting-edge HTML5/Node.js Apps

techpines

ASSET RACK (2,346 installs/mo, 196 Github Stars)

EXPRESS.IO (820 installs/mo, 206 Github Stars)

techpines

WHY WOULD I WRITE THIS

BONE.IO THING IN THE FIRST PLACE?

techpines

STARTED OUT WITH THE BACKBONE,

AND THOUGHT, WOW THIS IS GREAT.

techpines

THEN DECIDED TO THROW IN

SOCKET.IO...

techpines

techpines

PROBLEM #1:Socket.io is really low level,

listening for ‘connection’ events just feels dirty.

techpines

PROBLEM #2:Oh wait, Backbone kind of sucks…

techpines

•Backbone.View based on a single DOM element

• I’m not smart enough to Memory manage

views (that’s why I’m a javascript developer)

•Models and Collections, are we even modeling anything?

•Why is there no middleware for the router?

•Backbone.sync breaks with every new version

•Events everywhere, never really know what’s going on

techpines

WHAT I’D LIKE TO DO:

•Hookup “hot” data to the DOM

•Build reusable, practical, realtime widgets

techpines

WHAT IS BI-DIRECTIONAL

COMMUNICATION FROM 30,000FT?

techpines

techpines

ENTER THE SKELETON MAN:

techpines

BONE.IO MODULES TO THE RESCUE:

techpines

VIEWS THAT ARE BASED ON “SELECTORS” NOT INDIVIDUAL DOM ELEMENTS:

techpines

TALK IS CHEAP, SHOW ME TEH CODEZ.

techpines

We bought the beer and pizza!

We node what we’re doing, and also we’re hiring...

techpines