Skip to content

Instantly share code, notes, and snippets.

@tancredi
Last active August 29, 2015 13:57
Show Gist options
  • Save tancredi/9781148 to your computer and use it in GitHub Desktop.
Save tancredi/9781148 to your computer and use it in GitHub Desktop.

Kano tech-stack:

  • Stylus
  • Jade
  • Browserify
  • Superangent
  • Vue.js
  • Custom build tools
  • Gulp.js

Stylus:

  • What we use it for

    • Responsive mixins
    • Versioning + SHA for cloudfront
    • Shared functions with Jade
    • Environment variables
    • Nib
    • Griddy
    • Override CSS
  • Pros

    • Native in Node.js
  • Cons

    • Silent failures
    • Incredibly loose syntax

Vue.js:

  • Overview

    • Dead-Simple two-way data binding
    • With and without DOM
    • Easy to compose your own MV*
  • Features

    • Components
    • Directives
    • Filters
    • Templating
  • Pros

    • Lightweight
    • Cherrypick your modules
    • Environments of stand-alone components
  • Cons:

    • Lack of some off-the-shelf modules

Jade:

  • Why

    • Blocks / inheritance done properly
    • Mixins
    • Selectors syntax matching Stylus
  • How we use it

    • Split JSON / Markdown content
    • SHA-SUM query param fom CDN invalidation
    • Shared functions with Stylus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment