Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
使用nodejs实现上传图片并展示的demo
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
node_modules
README.md
demo_nonblocking.js
index.js
requestHandlers.js
router.js
server.js
upload.js

README.md

node_img_load

使用nodejs实现上传图片并展示的demo 该demo功能实现说明:

  • 1.插件模块使用: node本地module:htttp, url, file system.  第三方module: formidable(上传图片插件)
  • 2.通过url模块api,对请求url的分析,进行path name的路由,访问不同的handler处理
  • 3.通过file system模块,存储上传的图片
  • 4.理解node的以事件驱动的非阻塞I/O特征.

todo list:

  • 学习mvc模式node web开发。
Something went wrong with that request. Please try again.