- 博客(1)
- 资源 (1)
- 收藏
- 关注
转载 优化PHP代码的40条建议
原文地址:http://reinholdweber.com/?p=3英文版权归Reinhold Weber所有,中译文作者yangyang(aka davidkoree)。双语版可用于非商业传播,但须注明英文版作者、版权信息,以及中译文作者。翻译水平有限,请广大PHPer指正。1. If a method can be static, declare it static. Speed imp
2008-05-30 16:32:00 479
Express - node web framework
express 的官方文档
Getting started
With node installed (download), get your first application started by creating a directory somewhere on your machine:
$ mkdir hello-world
In this same directory you'll be defining the application "package", which are no different than any other node package. You'll need a package.json file in the directory, with express defined as a dependency. You may use npm info express version to fetch the latest version, it's preferred that you do this instead of "3.x" below to prevent any future surprises.
{
"name": "hello-world",
"description": "hello world test app",
"version": "0.0.1",
"private": true,
"dependencies": {
"express": "3.x"
}
}
2012-12-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人