【文件属性】:
文件名称:zygote:真正的mvc web框架
文件大小:141KB
文件格式:ZIP
更新时间:2021-06-02 15:19:09
JavaScript
合子
真正的mvc web框架
安装
要求:
-- Node.js
-- PostgreSQL
-- 咖啡脚本
安装命令:
$ git clone git@github.com:voitto/zygote.git
$ cd zygote
[[[ edit the server.coffee file to add your own postgresql settings ]]]
$ coffee server.coffee
[[[ browse to http://localhost:4444 ]]]
例子
app = require ( ' zygote ' ). config
port : 4444 ,
dbname : ' javascriptly ' ,
dbuser : ' brian ' ,
dbpass : ' ' ,
dbhost : ' loc
【文件预览】:
zygote-master
----io.js(99KB)
----lib.js(6KB)
----README.md(2KB)
----require.js(80KB)
----views()
--------post()
----server.js(2KB)
----app.coffee(960B)
----mustache.js(15KB)
----app.js(2KB)
----package.json(463B)
----node_modules()
--------.bin()
--------zygote()
----jquery.js(259KB)
----server.coffee(1003B)
----style.css(3KB)