express http://www.expressjs.com.cn/ Express 是一个基于 Node.js 平台的极简.灵活的 web 应用开发框架,它提供一系列强大的特性,帮助你创建各种 Web 和移动设备应用. http://www.expressjs.com.cn/starter/hello-world.html var express = require('express'); var app = express(); app.get('/', function (req, r
上一节做了对Express做了简单的介绍,提出了controller,介绍了路由.这一节将重点放到视图和模型上,完成几个静态页面并部署到heroku上. 导航 前端布局使用bootstrap,从官网下载后置于public文件夹下.打开layout.jade 先做一个导航. doctype html html head meta(name='viewport', content='width=device-width, initial-scale=1.0') title= title link(r
starting a new project:(finance project for p2p -- like lending club, or prosper ) ,we considering a js framework framework to help fast developing . most important part for us is: support mongodb rest is well intergrated , and support a standard res