按一个网页的来,最好最后能到EXPRESS.JS。

http://www.nodebeginner.org/index-zh-cn.html

这样就能对比DJANGO,看看两者的WEB框架,加深认识。

var http = require("http");

function onRequest(request, response){
    console.log("Request recevied.");
    response.writeHead(200, {"Content-type":"text/plain"});
    response.write("Hello, World.");
    response.end();
}

http.createServer(onRequest).listen(8888);
console.log("Server is listen at 8888....");

最新文章

  1. 关于Android中ArrayMap/SparseArray比HashMap性能好的深入研究
  2. (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about t
  3. Quartus II9.0 使用中文输入的方法
  4. LeetCode——Find the Duplicate Number
  5. Ogre中OctreeSceneManager
  6. 一起学CUDA(零)
  7. The 7th Zhejiang Provincial Collegiate Programming Contest->Problem B:B - Somali Pirates
  8. office web apps
  9. libsvm java 调用说明
  10. asp:cookies的属性
  11. iOS 图形编程总结
  12. cookie,session,token的定义及区别
  13. 数控G代码编程详解大全
  14. C++数组和指针加减法和sizeof问题
  15. Mybatis动态SQL单一基础类型参数用if标签
  16. openEntityForm如何给关于(regardingobjectid)类型查找字段赋值?
  17. Python正则匹配之有名分组
  18. G1收集器的收集原理
  19. Spring boot FastJson
  20. document.head.appendChild(element) 在 IE8 及以下报错

热门文章

  1. GCC安装
  2. mysql - 启动错误InnoDB: mmap(137363456 bytes) failed; errno 12
  3. ASP.NET问题处理---targetFramwork=‘4.0’错误
  4. SqlServer 由于未在SqlServer的此实例上安装复制组件解决方法
  5. jdk在windows中的配置
  6. hadoop_集群安装_2
  7. spring boot 配置文件提示自定义配置属性
  8. 从零基础到App Store
  9. js获取任意元素到页面的距离
  10. c#面向对象小结