Subscribe via RSS Feed

node.js

Single page Application with Angularjs, Minimalweb Node MVC and MongoDB

May 24, 2015 2 Comments
Single page Application with Angularjs, Minimalweb Node MVC and MongoDB

In this post, we have made a Single Page Application with Angularjs, Minimalweb Node MVC and MongoDB. Brief Background Lot of tutorial are already there in web regarding the MEAN (MongoDb,Expressjs,Angularjs and Nodejs) stack. Here we have followed the same path, except for the Express.js framework. We have used minimalweb framework for the server MVC. […]

Continue Reading »

Execute Redis Commands with Node.js without Driver

May 22, 2015 0 Comments
Execute Redis Commands with Node.js without Driver

We had written about redis commands through node.js previously. fjällräven kånken big Below is a code snippet, where we have connected and executed redis commands from node.js without using any driver. Nike Air Max Pas Cher Steps taken – 1> First we have started Redis in our machine. 2> We have written a bare minimum […]

Continue Reading »

Implement Caching Server with Express.js custom middleware

May 8, 2015 0 Comments
Implement Caching Server with Express.js custom middleware

In this article, we explored the capability of expressjs custom middleware. nike air max 90 pas cher We have made a minimal cache server implementation in expressjs middleware, which will serve as cache for GET web requests. fjallraven kanken soldes So below is the main server code implementation with inline documentation. Server.js var express = […]

Continue Reading »

Configure node.js application server with nginx

May 2, 2015 1 Comment
Configure node.js application server with nginx

Generally we want to integrate any web application to run as fast as possible. nike air max 90 pas cher To make this case viable as much as possible, our solution approach should be in web front end and back end. For front end there are multiple optimization elements like – A> Load Balancing B> […]

Continue Reading »

Use of process.nextick in node.js

January 9, 2015 0 Comments
Use of process.nextick in node.js

This is a post for a quick go through of node.js process.nextTick method implementation. As we have searched around web, we found that any code snippet within node.js process.nextTick ensures that the mentioned code snippet will execute in next event loop of node.js before doing any I/O bound work. Also we found that process.nextTick function […]

Continue Reading »

Configuring Load Balancer with Haproxy and Node.js

January 5, 2015 0 Comments
Configuring Load Balancer with Haproxy and Node.js

Load Balancing is needed to distribute load of work across multiple resources – in computer science terminology, these multiple resources can be pieces of software or hardware, where same work processes are waiting to be executed on processing request. So in web application, we will need to do load balance to control user requests to […]

Continue Reading »

Configuring Load Balancer with Nginx and Node.js

January 3, 2015 3 Comments
Configuring Load Balancer with Nginx and Node.js

Load Balancing is needed to distribute load of work across multiple resources – in computer science terminology, these multiple resources can be pieces of software or hardware, where same work processes are waiting to be executed on processing request. So in web application, we will need to do load balance to control user requests to […]

Continue Reading »

Server side testing with Mocha for Node.js

January 1, 2015 0 Comments
Server side testing with Mocha for Node.js

This article is a continuation of our previous articles about Single Page Application with Angular.js, Node.js and MongoDB part 1 and part 2. In general, we appreciate unit testing in application, because at the time of delivery, we have much confidence about our piece of software regarding non-breaking of the code-base in production. There are […]

Continue Reading »

Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module) – (Updated for Express 4) – Part 1

December 29, 2014 9 Comments
Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module) – (Updated for Express 4) – Part 1

We had posted article for Developing Web Application with Node.js, Express.js and MongoDB (MongoJS module) . Here we have updated the application with Express 4, added testing for both Angular.js and node.js related methods. We will cover all the testing related works in our other posts, which will come eventually. So our application is now as […]

Continue Reading »

How to Get Started With Node?

July 4, 2014 0 Comments
How to Get Started With Node?

The face of web development today is dramatically different. The things that we can do on the web nowadays with JavaScript running on the server, as well as in the browser, were hard to imagine just several years ago, or were encapsulated within sandboxed environments like Flash or Java Applets. What is node.js? As Wikipedia […]

Continue Reading »

Short introduction on Express.js 4 New Features

May 21, 2014 0 Comments
Short introduction on Express.js 4 New Features

In this post we have tried to explain express.js 4 with some of it’s APIs. First of all, the new features of Express.js V4 – All the middlewares from connect are removed from Express. We have to bind all the middlewares in the project configuration file – package.json. A typical package.json file will look like […]

Continue Reading »

Calling NEO4J Rest API from node.js without any Library

April 10, 2014 0 Comments
Calling NEO4J Rest API from node.js without any Library

As we can call and get results from REST API for any server, following is a test where we have called and got result from Neo4j REST Api using node.js. Here our call is a raw NEO4J Api call from node.js for a GET method which returns a particular node.  May be we will make […]

Continue Reading »

Node.js Synchronous and Asynchronous Functions

December 10, 2013 0 Comments
Node.js Synchronous and Asynchronous Functions

In node.js platform, as the non-blocking programming model is followed as practice, all most all of the functions in the node.js modules are primarily asynchronous in nature. It means, the code block within the function will be mostly non-blocking to the end user and user will not ne prevented to perform different actions for various […]

Continue Reading »

Node.js Non-Blocking IO Model

December 9, 2013 8 Comments
Node.js Non-Blocking IO Model

Now-a-days developers know about Node.js as a server -side javascript execution platform. According to nodejs.org,- “Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.” Now node.js opens […]

Continue Reading »

POST requests with Google DART, Node.js and MongoDB

September 29, 2013 2 Comments
POST requests with Google DART, Node.js and MongoDB

Previously we have posted the article for Handling GET requests with Google DART, Node.js and MongoDB. Current post is an extension of the above post – now this time it is a POST request handling. We have posted in an separate article because we have found some of the critical things (which we will explain here) […]

Continue Reading »

Handling GET requests with Google DART, Node.js and MongoDB

September 25, 2013 1 Comment
Handling GET requests with Google DART, Node.js and MongoDB

Previously we have posted the article for Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module). Also we have written about some initial concepts about Google DART in HTML Handling with Google Dart Google Dart – language of Structural Web Applications Handling Asynchronous HTTP Requests in Google DART Currently we are learning Google DART and […]

Continue Reading »

Real-time Data update with Angular.js, Node.js and Socket.io

August 5, 2013 7 Comments
Real-time Data update with Angular.js, Node.js and Socket.io

Current post is a proof of concept towards make a real time web application with Javascript based Web Server with Socket.IO with Angular.js and Node.js. We have simulated a situation with 4 Product with their Best Buy Price, Best Sell Price and Last Trade Price. To make this possible, we have selected – 1> Angular.js […]

Continue Reading »

Single Page Application with Angular.js, Node.js and CouchDB (Cradle Module)

July 12, 2013 8 Comments
Single Page Application with Angular.js, Node.js and CouchDB (Cradle Module)

This article has been updated with Express 4. Click here to see the updated article. Previously we have posted the article for Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module). Current post is a proof of concept towards make a web application with Javascript based Web Server with CouchDB with Angular.js and Node.js. The […]

Continue Reading »

Calling Remote Rest API from Node.js to integrate PostGreSQL

July 9, 2013 0 Comments
Calling Remote Rest API from Node.js to integrate PostGreSQL

This Post is an odd requirement which evolved during our work. Actually we had started to explore the way to integrate Node.js and PostgreSql based in our Applications. After a little bit of googling, we found the node-postgres module on github. I tried to install the npm in mu windows 7 machine. Unfortunately the module […]

Continue Reading »

Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module)

June 25, 2013 51 Comments
Single Page Application with Angular.js, Node.js and MongoDB (MongoJS Module)

Previously we have posted the communication for Developing Web Application with Node.js, Express.js and MongoDB (MongoJS module). Current post is a proof of concept towards make a web application with Javascript based Web Server. This technological stack is popularly known as MEAN  Stack. To make this possible, we have selected – 1> Angular.js for client side […]

Continue Reading »