components vs frameworks
TRANSCRIPT
•Twitter: @secoif
•Github: github.com/timoxley
•meetup.com/singapore-js
•campjs.com
Tim Oxley
component/inheritmodule.exports = function(a, b){ var fn = function(){}; fn.prototype = b.prototype; a.prototype = new fn; a.prototype.constructor = a;};
component/domify
var domify = require('domify')domify('<p>Hello</p><p>World</p>')// => [<p>Hello</p><p>World</p>]
500+ Componentshttps://github.com/component/component/wiki/Components
•AJAX•WebSocket•Routing•CQRS•Data Modelling•Data Structures•Dependency Injection•UI Elements•DOM Interaction•Conversion Utilities•Control Flow
•Function Utilities•Date Utilities•Array Utilities•String Utilities•Number Utilities•Math Utilities•Object Utilities•Canvas•Shims•Testing•Styling
•Templating•Audio•Other•MVC•Backbone•Ember•Gaming•Themes