node platforms
TRANSCRIPT
Node platforms
2015-05-23 Yosuke Kumakura
Yosuke Kumakura (kumatch)
@kumatch
Feedtailor inc.
Agenda• 現在 Node Platform (使われ方) を紹介
• 間に個人ポエムを挟みながら
Node introductionNode's goal is to provide an easy way to build scalable network programs.
スケーラブルなネットワークプログラムの 構築を簡単に
Server software• Server site scripts, Web applications
• ネットワークを扱うソフトウェア
• 他言語の代わりに Javascript で
• 「サーバプログラムで必要になるもの」が多数作られた
Server software• アプリケーションサーバ (Application layer)
or APIサーバ (Orchestration layer)
• ビジネスロジックをNodeで書く
• クライアント毎に特化した「中継機」
Build tools (for Web)• Web に必要なリソースを構築する
• JS, CSS, Images, Fonts, etc…
• Gulp - The streaming build system
Build tools (for Web)• Web module bundler (with dependencies)
• Browserify
• Webpack
Build tools (for Web)• Transpiler (source to source)
• AltJS (CoffeeScript, TypeScript, Hexe, etc..)
• Babel (next generation javascript)
CLI tools• npm install -g ですぐ使える
• Cons: Node 自体が OS 標準じゃない
• 今後に期待 (ex. Windows)
Micro computers• RasberryPI, Arduino, Tessel
• 「制御」API を Node で
Desktop applications• Electron, NW.js
• Cross platform
• 1 source multi platform は疑問
• モダンなWeb技術 (実装も利用も)