基于 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'
}
}
MATLAB数值计算
莫勒 / 喻文健 / 机械工业出版社 / 2006-6 / 35.00元
《MATLAB数值计算》是关于数值方法、MATLAB软件和工程计算的教材,着重介绍数学软件的熟练使用及其内在的高效率算法。主要内容包括:MATLAB介绍、线性方程组、插值、方程求根、最小二乘法、数值积分、常微分方程、傅里叶分析、随机数、特征值与奇异值、偏微分方程。《MATLAB数值计算》配备大量MATLAB例子源代码及习题,其中涉及密码学、Google网页分级、大气科学和图像处理等前沿问题,可以帮......一起来看看 《MATLAB数值计算》 这本书的介绍吧!
