Node.js MVC 框架 Paloma
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/palomajs/paloma
软件介绍
Paloma 是一个类 Angular 的 Node.js MVC 框架。
特性:
依赖注入
基于 koa@2
例子:
'use strict';
const Paloma = require('paloma');
const app = new Paloma();
app.controller('indexCtrl', function (ctx, next, indexService) {
ctx.body = `Hello, ${indexService.getName()}`;
});
app.service('indexService', function () {
this.getName = function () {
return 'paloma';
};
});
app.route({
method: 'GET',
path: '/',
controller: 'indexCtrl'
});
app.listen(3000);
Introduction to Computer Science Using Python
Dierbach, Charles / 2012-12 / $ 133.62
Introduction to Computer Science Using Python: A Computational Problem-Solving Focus introduces students to programming and computational problem-solving via a back-to-basics, step-by-step, objects-la......一起来看看 《Introduction to Computer Science Using Python》 这本书的介绍吧!
