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);
Essential PHP Security
Chris Shiflett / O'Reilly Media / 2005-10-13 / USD 29.95
Being highly flexible in building dynamic, database-driven web applications makes the PHP programming language one of the most popular web development tools in use today. It also works beautifully wit......一起来看看 《Essential PHP Security》 这本书的介绍吧!
