ACM_Nodejs_Phantom_Examples
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:
##[Phantomjs Installation Guide] (http://code.google.com/p/phantomjs/wiki/Installation)

##Nodejs Example -         

try the socket.io example [here] (http://tinydots.org/ACM_Nodejs_Phantom_Examples/nodejs_examples/httpChatServer/index.html)

1.Simple Chat Server - "net" Module, "carrier" Module   
	 ==>http chat Server on Socket.io
2.File I/O - Manipulation of Filesystem - Common "fs" Module    
3.Templating - "Mustache"/"Mu" Module    
4.Child process.
5.Database with MongoDB and Mongoose

##Phantomjs -     
1.Document Scraper     
2.Simple Web Crawler   
3.Inject Jquery   

##Nodejs Setup   
###Ubuntu     
		 sudo apt-get install python-software-properties
		 sudo add-apt-repository ppa:chris-lea/node.js
		 sudo apt-get update
		 sudo apt-get install nodejs     
###Archlinux     
		 sudo pacman -S nodejs    
###Fedora
		 sudo yum localinstall --nogpgcheck http://nodejs.tchol.org/repocfg/fedora/nodejs-stable-release.noarch.rpm
		 sudo yum install nodejs      
###Mac    
download the installer [here](http://nodejs.org/dist/v0.6.8/node-v0.6.8.pkg)      
or      
(If [Macports](http://www.macports.org/) is installed on your Mac)      
`port install nodejs`       
or      
(If [Homebrew](http://mxcl.github.com/homebrew/) is installed on your Mac)     
`brew install node`        
###Windows     
download the installer [here](http://nodejs.org/dist/v0.6.8/node-v0.6.8.msi) and install it following the instruction    

##Telnet Client Setup     
###Windows    
Open the Command Prompt on Windows and type in the following command    
`pkgmgr /iu:"TelnetClient"`     
###Ubuntu    
		sudo apt-get install telnetd     
###Mac OS      
Telnet should come with Mac OS but if you don't have it already, download it [here](http://www.mactelnet.com/)    
   

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。