!--
google_ad_client = "ca-pub-4378340310740210";
/* rectangle-nodemongo */
google_ad_slot = "1751391070";
google_ad_width = 336;
google_ad_height = 280;
//
-->
Nodetime is node js app performance management tool set. This tool is for monitor and tracing application performance.It reveals the...
Saturday, 29 December 2012
Thursday, 27 December 2012
HTTP module
Node fit for http server. To use http module, client must require('http).
To create http server
http.createServer([requestListener]) - it will create a new webserver object.
http.request([port,host]) - refer to the server to connect.
see this simple example
///here we...
Wednesday, 26 December 2012
Features of MongoDB
1. Document oriented storage
2. Auto Sharding
3. Querying
4. Full index support
5. Map
6. GridFS
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37329026-1']);
_gaq.push(['_setDomainName', 'nodemongo.asia']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');...
Tuesday, 25 December 2012
1st WebServer with node.js
In this article, i will create 1st Web Server.
STEPS:
Listen port
Receive Request
send response
loading static files
Http Module:
include http module
var http=require("http");
create a server
var server=http.createServer(function(request, response){
write some headers
response.writeHead(200,{"content-type":"text/plain"}};
response.end("hello");
}).listen(8000);
...
Features of Node.js
Features:
The main features of node.js as follows
Event-Driven
Non blocking I/O
Node Package Manager
Web Sockets
Even Driven:
Node.js is an event driven model. Programming node.js has lots of call backs.It is single threaded. So, only one thing happens at once.
lets take an example,
Paper...
Monday, 24 December 2012
Sunday, 23 December 2012
Node.js Modules
Modules:
In object oriented programming languages like java, we need to include jar files to get the particular functionality if the native jdk does not provide...
Thursday, 20 December 2012
MongoDB Introduction
Mango DB is an open source database developed in C++. It can
be used to store data for high performance applications.It is released in
february 2009
Great Features of MangoDb
Document base storage:
MongoDb is a document based database where as
Oracle,mysql,sql server are relational...
Wednesday, 19 December 2012
Node.js Introduction
Node is a platform for writing server side javascriptapplications uses asynchronous event driven model.Every function in node.js is asynchronous.Node is a platform means you have to do everything yourself.One script handles all communication with clients.Node cannot use for gui applications.It...