Nodejs part 6 Socket.io

Socket.io Socket.IO enables real-time bidirectional event-based communication.It works on every platform, browser or device, focusing equally on reliability and speed. Example 1 chats with express app.js var express = require('express'), app =


 

Nodejs Part 5 Express

Routing Routing refers to the definition of end points (URIs) to an application and how it responds to client requests. A route is a combination of a URI, a HTTP request method (GET, POST, and so on), and one or more handlers for the endpoint. It t


 

admin
3 years ago no comment
Tags:NodeJS

Nodejs Part 4 Modules

Modules Node has a simple module loading system. In Node, files and modules are in one-to-one correspondence. As an example, app.js loads the module hello.js  and custom_goodbye.js in the same directory. //hello.jsvar hello = function(){


 

admin
3 years ago no comment
Tags:NodeJS

Nodejs Part 3 Streaming

Streaming A stream is an abstract interface implemented by various objects in Node. For example a request to an HTTP server is a stream, as is stdout. Streams are readable, writable, or both. All streams are instances of EventEmitter You can load t


 

admin
3 years ago no comment
Tags:NodeJS

Nodejs Part 2 events

Events and EventEmitter  Many objects in Node emit events: a net.Server emits an event each time a peer connects to it, a fs.readStream emits an event when the file is opened. All objects which emit events are instances of events.EventEmit


 

admin
3 years ago no comment
Tags:NodeJS

Nodejs Part 1 http server

What is Nodejs  Allows you to build scalable network applications using Javascript on the server side. What could you build - Websocket Server (like chatting system)- Fast File Upload Client- Ad Server- Any Real-Time Data Apps What i


 

Meteor JS The Best Tutorial Completed Part I

Kalau anda masih bingung dengan konsep bahasa ini, anda bisa bayangkan gambar di samping ini, karena meteorjs sangat mudah dan cepat dalam proses production dibandingkan dengan bahasa lain semisal PHP yang sudah menjamur di dunia ini. Saya tidak aka


 

Create Application using MeteorJs

Instalasi instalasi meteorjs di linux sangat mudah, cukup dengan: curl https://install.meteor.com/ | sh di windows, anda bisa download file exe, disini https://github.com/sdarnell/meteor/wiki/Windows install editor dengan memakai webstorm, s