tower-archive/tower
关于
已停止维护——用于构建应用、处理数据以及自动化分布式基础设施的小型组件。
系统与基础设施实测星标增长
- 24小时
- -1
- 7天
- 0
- 15天
- 0
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Tower.js
Small components for building apps, manipulating data, and managing a distributed application.
Tower represents a different way to build applications. We present a non-monolithic, distribution of modules that can be used in together, to form Tower, or separately in a normal Node.js program. This ensures that Tower isn't a lock in, and provides extremely coordinated modules.
Currently, many applications are developed as a single unit. This makes it much harder to develop in teams and to manage the complexity. Thus, Tower provides you the tools to create fully modular applications in a manageable way. This includes tools for both the client-side and server-side. Tower uses the standard Node.js platform (NPM) on the server and component for the client-side.
Note: Tower is currently under active development and isn't fully ready for use. Please be aware of this before opening any issues.
Tower is very low level now. It has minimal dependencies. It doesn't depend on jQuery, underscore, mongodb, or any such "limiting" factor. It's all JavaScript. Each micro component is around 1kb, so if you wanted to make things super lean, you can just grab the bare bones you need.
If there's anything in particular you're wondering about, create a new issue. The IRC is no longer used much.
The source for the guides on the site are here: https://github.com/tower/guides. They're very much a work in progress.
Installation
node.js:
$ npm install tower -g # You may need to prepend with `sudo`
browser:
$ component install tower/tower
This is installed through component.
Example
This main module is just a collection of tiny components to make it easy to get going. See the individual repositories for details on how to use each one. Enjoy!
var tower = require('tower');
tower.resource;
tower.query;
tower.adapter;
tower.router;
tower.route;
tower.validator;
tower.type;
tower.memory;
All of those modules are available on both the client and the server.
If you're on the client, you also have template rendering components (they're just about ready for the server too):
tower.template;
tower.content;
tower.directive;
Tower Cli
$ tower <verb> <object> [options]
Examples
$ tower create recipe my-recipe
$ tower start mongodb
$ tower stop mongodb
$ tower enter mongodb
$ tower start
$ tower stop
License
MIT.
探索相关项目
加载中…