
nodejs入门 首先,去http://nodejs.org 下载安装。我下的版本是0.6.6。安装很简单,下一步下一步就哦了。 我的安装目录是C:\Program Files (x86)\nodejs。 一、helloworld 在nodejs安装目录中新建一个文件hello.js,里面敲一行代码 ?1 console.log('hello, nodejs.') ; 进入命令行控制台,进入到nodejs目录敲node hello.js 控制台输出了“hello, nodejs.” 二、web版的helloworld 在nodejs安装目录中新建一个h...
by 三里屯摇滚 - Web开发 - 2012-03-03 11:55:20 阅读(1457) 回复(1)
nodejs 小试 js中最简单的事件驱动情况为建立一个简单的服务器,来响应HTTP请求 Js代码[code]var http = require("http"); function onRequest(request, response) { console.log("Request received."); response.writeHead(200, {"Content-Type": "text/plain"}); response.write("Hello World"); response.end(); } http.createServer(onRequest).listen(8888); console...
nodejs运行coffeescript 首先安装coffee-script 引用[code]npm install coffee-script[/code]在js文件中加入下面代码 Javascript代码[code]1.require('coffee-script');//引用coffeescript模块 2.require('./mytest');//指向要运行的coffeescript文件,可加多个文件。 [/code]就可以node xx.js,来运行coffeescript文件了。
首先要配置一个支持Zend debugger的服务器环境,如集成了Zend debugger的Zend Server,或者配置了Zend debugger的Xampp、Wamp,又或者...
无意之中在sourceforge上发现了这个项目, 觉得蛮有意思的, 先把地址记下来吧:http://bashdb.sourceforge.net/ The Bash debugger Project a source-code debugger for bash that follows the gdb command syntax. 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/86696/showart_2080713.html
Document options Print this page E-mail this page Document options requiring JavaScript are not displayed Using XML, but need to do more? Download DB2 Express-C 9 --> Rate this page Help us improve this content Level: Intermediate William B. Zimmerly ( [email=bill@zimmerly.com?subject=Fun with strace and the GDB debugger&cc=renee@studiob.com]bill@zimmerly.com[/email] ), Freelance Wr...
Menu "Debug" 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/16651/showart_1011190.html