基于 koa 的 node 应用框架 epii-server
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/epii-io/epii-node-server
- 软件文档: https://github.com/epii-io/epii-node-server/blob/master/README.md
- 官方下载: https://github.com/epii-io/epii-node-server
软件介绍
epii-server是基于koa的node应用框架,服务与构建渲染工具分离,提供更纯粹的MVC开发体验。
具有以下特性:
MVC 管道
(Request) => Middleware => Controller => View => (Response)
ASP.net-liked
不同的ActionResult会产生不同的响应
// controller
module.exports = [
{
path: '/',
verb: 'get',
body: async function () {
// response text/plain
return this.epii.text('text output')
// response application/json
return this.epii.json({ state: true })
// response text/html by ViewRender
return this.epii.view({ name: 'Li Lei' })
// response application/octet-stream
return this.epii.file('dataset.csv')
}
}
]支持自定义布局
// client/index.meta.js
module.exports = {
base: 'simple', // inherit simple layout
head: {
styles: 'client/index.css'
},
body: {
holder: 'client/index.html',
scripts: 'client/index.js'
}
}
// layout/simple.meta.js
module.exports = {
head: {
title: 'EPII Avatar',
metas: [],
styles: 'reset.css',
favico: 'epii-icon.png'
},
body: {
scripts: 'jquery-2.2.2.min.js'
}
}
机器学习及其应用2007
周志华 编 / 清华大学 / 2007-10 / 37.00元
机器学习是人工智能的一个核心研究领域,也是近年来计算机科学中最活跃的研究分支之一。目前,机器学习技术不仅在计算机科学的众多领域中大显身手,还成为一些交叉学科的重要支撑技术。本书邀请相关领域的专家撰文,以综述的形式介绍机器学习中一些领域的研究进展。全书共分13章,内容涉及高维数据降维、特征选择、支持向量机、聚类、强化学习、半监督学习、复杂网络、异构数据、商空间、距离度量以及机器学习在自然语言处理中的......一起来看看 《机器学习及其应用2007》 这本书的介绍吧!
