SlideShare a Scribd company logo
component
                           Ruby Gems for the Browser




Thursday, 13 December 12
Tim Oxley
       •Twitter: @secoif
       •Github: github.com/timoxley
       •secoif@gmail.com




Thursday, 13 December 12
My Problems



Thursday, 13 December 12
Fragmentation



Thursday, 13 December 12
Vendor Lock-In



Thursday, 13 December 12
Useless Knowledge



Thursday, 13 December 12
Only Constant is Change



Thursday, 13 December 12
Leverage, don’t Lean



Thursday, 13 December 12
component
                            Liberate your code.




Thursday, 13 December 12
ruby gems for the browser



Thursday, 13 December 12
328 350 Components
                              As of this morning.




Thursday, 13 December 12
What is a Component?



Thursday, 13 December 12
A Small, Focused Module



Thursday, 13 December 12
component/inherit
                           module.exports = function(a, b){
                             var fn = function(){};
                             fn.prototype = b.prototype;
                             a.prototype = new fn;
                             a.prototype.constructor = a;
                           };



Thursday, 13 December 12
How are Components used?



Thursday, 13 December 12
require()



Thursday, 13 December 12
component/domify
                     var domify = require('domify')
                     domify('<p>Hello</p><p>World</p>')
                     // => [<p>Hello</p><p>World</p>]




Thursday, 13 December 12
ecosystem agnostic



Thursday, 13 December 12
Why not just use jQuery?



Thursday, 13 December 12
jQuery is a monopoly



Thursday, 13 December 12
Diversity leads to innovation



Thursday, 13 December 12
One size does not fit all



Thursday, 13 December 12
A world without jQuery?



Thursday, 13 December 12
More sharing



Thursday, 13 December 12
Open source all the things



Thursday, 13 December 12
errata.io



Thursday, 13 December 12
Questions?

                    https://github.com/component/component



                            My Twitters: @secoif

Thursday, 13 December 12

More Related Content

PDF
WordPress Security
PDF
Pankaj Agrawal: eLearning on WordPress
PDF
The ideal module system and the harsh reality
PDF
The no-framework Scala Dependency Injection Framework
PDF
Clojure, Web and Luminus
PDF
Benefits of Clientside templating for Red Dot Ruby
PDF
Bundling Client Side Assets
PPT
Testable client side_mvc_apps_in_javascript
WordPress Security
Pankaj Agrawal: eLearning on WordPress
The ideal module system and the harsh reality
The no-framework Scala Dependency Injection Framework
Clojure, Web and Luminus
Benefits of Clientside templating for Red Dot Ruby
Bundling Client Side Assets
Testable client side_mvc_apps_in_javascript

Viewers also liked (8)

PPTX
Music1
PDF
Bush Computers Top 10 Free Programs
PPTX
BrandSTIK- USB Flash Drives
PDF
Components vs Frameworks
PDF
Modular vs Monolith
PDF
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
PDF
ES2015 / ES6: Basics of modern Javascript
PDF
Intro to testing Javascript with jasmine
Music1
Bush Computers Top 10 Free Programs
BrandSTIK- USB Flash Drives
Components vs Frameworks
Modular vs Monolith
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
ES2015 / ES6: Basics of modern Javascript
Intro to testing Javascript with jasmine
Ad

Similar to component: ruby gems for the browser (20)

PDF
Augmented Reality with JavaScript and Appcelerator Titanium
PDF
iPad Apps for teachers
PDF
JavaScript DOM Manipulations
PDF
Educause - Building a Responsive Website for the Presidential Debate
PDF
Cloud Messaging With Cloud Foundry
PDF
Presentatie Document lifecycle2012
PDF
Potato02 ViewSticker作りました
PDF
SEMLIB Final Conference | Net7 presentation
PDF
GitHub Notable OSS Project
PDF
40 Drupal modules you should be using in 2013
PDF
Software Libraries And Numbers
PPT
3 reasons to contribute to drupal florian loretan (eng)
PDF
Custom Android Code Templates
PDF
OmniOS Motivation and Design ~ LISA 2012
PDF
Baking Delicious Modularity in Scala
PDF
iFixit @ Monterey Bay Aquarium
PDF
Migrando do App Engine para o Heroku
PDF
Make something real for Firefox OS with Mozilla app templates
PDF
Survive in iPhone App Store@GDC China 2010
Augmented Reality with JavaScript and Appcelerator Titanium
iPad Apps for teachers
JavaScript DOM Manipulations
Educause - Building a Responsive Website for the Presidential Debate
Cloud Messaging With Cloud Foundry
Presentatie Document lifecycle2012
Potato02 ViewSticker作りました
SEMLIB Final Conference | Net7 presentation
GitHub Notable OSS Project
40 Drupal modules you should be using in 2013
Software Libraries And Numbers
3 reasons to contribute to drupal florian loretan (eng)
Custom Android Code Templates
OmniOS Motivation and Design ~ LISA 2012
Baking Delicious Modularity in Scala
iFixit @ Monterey Bay Aquarium
Migrando do App Engine para o Heroku
Make something real for Firefox OS with Mozilla app templates
Survive in iPhone App Store@GDC China 2010
Ad

component: ruby gems for the browser