Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Bool.js: Del desarrollo a la comunidad

Bool.js: Del desarrollo a la comunidad

Pablo Andrés Dorado Suárez

September 08, 2015
Tweet

More Decks by Pablo Andrés Dorado Suárez

Other Decks in Programming

Transcript

  1. bool.js: del desarrollo a la comunidad Pablo Andrés Dorado Suárez

    / Development Researcher @ Bool Inc Sebastian Osorio / Developer @ Bool Inc
  2. - app.js - configuration/ | - database.json | - mail.json

    | - etc.json - controllers/ | - dog.js | - sheep.js - dao/ | - animal.js | - human.js - models/ | - animal.js | - human.js - utils/ | - ... - test
  3. module.exports = function(Schema, mongoose){ var mySchema = new Schema({ name:

    String, mail: String, password: String }); return mySchema; };
  4. module.exports = function(){ var dog = new app.controllers.dog(); return [

    { method: ‘GET’, url: ‘/dogs’, action: dog.list, cors: true } ]; };
  5. ¿Qué sigue? • Unificar soporte para middleware • Más drivers

    para otros web frameworks (Hapi, Koa) • Cross-API • CLI / Generators • i18n https://trello.com/b/aoNqwo6H