Subscribe via RSS Feed

Single Page Application with Angular.js, Node.js and NeDB (NeDB Module) – updated for Express 4

May 27, 2015 0 Comments
Single Page Application with Angular.js, Node.js and NeDB (NeDB Module) – updated for Express 4

This post is a proof of concept towards make web application with Javascript based Web Server with light-weight database NeDB.It shows how to create a single page application in Node.js and NeDB (NeDB Module) with Express4. To make this possible, we have selected – 1> Angular.js for client side development – Single Page Application 2> [...]

Continue Reading »

ECMAScript 6 Fat Arrow Function – a discussion

May 16, 2015 0 Comments
ECMAScript 6 Fat Arrow Function – a discussion

ECMAScript 6 Fat Arrow Functions – As we have understood from Mozilla Documentation, An fat arrow function is having shorter syntax compared to traditional function expressions and binds the return value inline. These Arrow functions are always anonymous. According to MDN, The function definition will look like – Below is a quick example of Fat [...]

Continue Reading »

Set up Apache Kafka and working with Java Client

May 15, 2015 0 Comments
Set up Apache Kafka and working with Java Client

Apache Kafka Apache Kafka is a publish/subscribe messaging system, which is fast, distributed and having persisting data store over multiple clusters. In our work, we needed to up Apache kafka for continuous data streaming. Here we have shown the basic work to setup Kafka and building a java client (producer) to send message and get [...]

Continue Reading »

Set up a SVN repository in AMAZON EC2 Ubuntu 14.04

May 12, 2015 0 Comments
Set up a SVN repository in AMAZON EC2 Ubuntu 14.04

Setting up a SVN Server for Small to Mid Size Project handling in Amazon EC2 Server with Operating System Ubuntu Server is an general process. But this is an non trivial process, when we look it from a programmer perspective. I have recently configured such one and hence making documentation of the same. May be [...]

Continue Reading »

Basic Introduction to React.js

May 11, 2015 0 Comments
Basic Introduction to React.js

The aim of this article is to make a basic introduction to react.js. Today React.js is gaining much more popularity in Front-end Web Developer world. As we understand, React.js is a front-end developement framework, created and maintained by facebook for their production application. The framework focuses on UI and expect to handle the backend by WEB [...]

Continue Reading »

Develop Web Application with Node.js, Express.js REST Service and Neo4j (neo4j-js module) – Updated for Express 4

April 22, 2015 0 Comments
Develop Web Application with Node.js, Express.js REST Service and Neo4j (neo4j-js module) – Updated for Express 4

We have posted Develop Web Application with Node.js, Express.js REST Service and Neo4j (neo4j-js module) .This article is a proof of concept towards make a web application with Javascript based Web Server with Node.js and Neo4j and this time the same is updated with Express 4 To make this possible, we have selected – 1> [...]

Continue Reading »

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

April 18, 2015 0 Comments
Real-time Data update with Angular.js, Node.js and Express.io

We have posted Real-time Data update with Angular.js, Node.js and Socket.io previously.This article is a proof of concept towards make a real time web application with Javascript based Web Server Node.js and Express.IO with Angular.js.The application is same as the previous one ,but this time it is build up with Express.IO. We have simulated a [...]

Continue Reading »

Web Application with Highchart.js, Node.js, Express.js and MongoDB(Mongo-JS Module) – Updated for Express 4

April 9, 2015 1 Comment
Web Application with Highchart.js, Node.js, Express.js and MongoDB(Mongo-JS Module) – Updated for Express 4

We previously posted an aricle on Web Application with Highchart.js, Node.js, Express.js (version 3) and MongoDB(Mongo-JS Module).This time we updated that same for Express 4.This application is a of concept towards make a web application for graph generation  with Javascript based Web Server. In this application we have used following tools and technologies – 1> [...]

Continue Reading »

Single Page Application with Angular.js, Node.js and CouchDB (Cradle Module) – (Updated for Express 4)

April 4, 2015 2 Comments
Single Page Application with Angular.js, Node.js and CouchDB (Cradle Module) – (Updated for Express 4)

We posted the article on Single Page Application with Angular.js, Node.js and CouchDB (Cradle Module) with Express 3. Current post is a way to migrate the same with Express 4. This article describes a way to make a web application with Javascript based Web Server with CouchDB with Angular.js and Node.js. Here we have selected [...]

Continue Reading »

A quick guide to MongoDB to work with

March 25, 2015 0 Comments

We have used some useful commands of MongoDB in our project work.Here we would like to discuss most of them so that they can be used for quick reference or quick guide.These commands can be executed from MongoDB shell. Before we jump in You can download MongoDB from here. We are skipping the installation part [...]

Continue Reading »

Single page Application with Angularjs, Minimalweb Node MVC and MongoDB

February 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

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

We had written about redis commands through node.js previously. Below is a code snippet, where we have connected and executed redis commands from node.js without using any driver. Steps taken – 1> First we have started Redis in our machine. 2> We have written a bare minimum socket program to connect the redis host and [...]

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 »

Implement Caching Server with Express.js custom middleware

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

In this article, we explored the capability of expressjs custom middleware. We have made a minimal cache server implementation in expressjs middleware, which will serve as cache for GET web requests. So below is the main server code implementation with inline documentation. Server.js var express = require(‘express’); var app = express(); var cache = require(‘./cacheServer’); [...]

Continue Reading »

Nginx Caching Functionality

January 7, 2015 0 Comments
Nginx Caching Functionality

In this post we will explore some of the caching capabilities of nginx. Previously we have explored some functionality of nginx as load balancer. Below are the articles – 1> Configure node.js application server with nginx 2> Configuring Load Balancer with Nginx and Node.js 3> Nginx as a Load Balancer – some details as we [...]

Continue Reading »

Haproxy as Load Balancer – some details as we have explored

January 6, 2015 0 Comments
Haproxy as Load Balancer – some details as we have explored

We had written about load balancing with nginx in our previous article. Now in this article we will try to discuss some of the load balancing schemes in haproxy and their configuration in web applications. Haproxy server can be used to distribute the load balancing of web request to different web/ application servers. The main 2 [...]

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 »

Nginx as a Load Balancer – some details as we explored

January 4, 2015 0 Comments
Nginx as a Load Balancer – some details as we explored

A complex web application will consist Load Balancer at front web request handling. A picture of a typication web application deployment environment can be drawn as below – We had written about round-robin load balancing of nginx with node.js in our previous article. Now in this article we will try to discuss some of the [...]

Continue Reading »

Configuring Load Balancer with Nginx and Node.js

January 3, 2015 1 Comment
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 »

Configure node.js application server with nginx

January 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. 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> Caching C> Serving Static Resources from [...]

Continue Reading »