treeline ってなに

イシュー

  • Sails.js のCLIツールである Treelineについて調べる

参考

treeline は、プログラミングのWebサービス

Treeline makes it easy to build custom, high-performance apps for Node.js. It is designed for building practical, enterprise-grade backends in a matter of hours - not months.

Treelineは、簡単にNode.js.のカスタム、高性能アプリケーションを構築することができます。それは1ヶ月ではなく、数時間の問題で、実用的な、エンタープライズ級のバックエンドを構築するために設計されています。

nodemachine

What are Machines?

The machine specification is an open standard for Javascript functions. Each machine has a single, clear purpose—whether it be sending an email, translating a text file, or fetching a web page. But whereas traditional functions are supposed to have only a single result, machines are aware of multiple possible outcomes. Machines are self-documenting, quick to implement, and simple to debug.

Machines are published to NPM through the use of machinepacks, or node modules that implement a standardized interface. In other words, when you require() a machinepack, you always know exactly which actions are available, what to provide as input values, and what you're going to get back.

Ready to get started? Check out the list of available machinepacks or learn how to write your own.

Machines とは何か? Machine の仕様は、JavaScriptの機能のためのオープン規格です。各マシンは単一の明確な目的、たとえば電子メールを送信する、テキストファイルを変換する、またはWebページを取得を持ちます。伝統的なfunctionは、1つの結果だけを持つようになっているのに対し、マシンは複数の可能な結果を認識します。マシンは、セルフドキュメンテーションであり、実装が迅速であり、デバッグが簡単です。

マシンは、machinepacksや標準化されたインタフェースを実装したノード・モジュールを使用してNPMに公開されます。言い換えれば、あなたはmachinepackを必要とするときに、あなたは常にアクションが利用可能であるか、入力値として提供されるものは何か、あなたが戻り値で取得するつもりだったものが何か、正確に知ることができます。

始める準備はできましたか?利用可能なmachinepacksのリストをチェックしたり、あなた自身で書き方を学びましょう。

参考