Skip to content

bryanchang/ACM_Nodejs_Phantom_Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##[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
or
(If Macports is installed on your Mac)
port install nodejs
or
(If Homebrew is installed on your Mac)
brew install node
###Windows
download the installer here 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published