AngularJS, Front End Development

Fullstack 2016, London : Day 2 (The fun continues)

We were already spell bound by the city of London, its culture, people and must mention the weather . Day 1 at Fullstack conf was like a dream. Awesome people, apt venue, lots of goodies , what not. Filled with excitement we reached Code Node before time, just to attend Todd Motto's keynote. About Todd Motto, if you are reading...

by Sakshi Tyagi
Tag: nodejs
22-Jul-2016

Agile, AngularJS

FullStack 2016 Day 1

As some of you might already know, FullStack 2016 was recently concluded in London and was a full packed house this time with the tickets being sold out about a week in advance. I was fortunate enough to be a part of the event as a speaker and was talking about PolymerJS. But more than the speaking opportunity, what got me excited was the...

by Komal Jain
Tag: nodejs
19-Jul-2016

Node.js, Technology

Caching in NodeJs using Redis

Whenever we talk about nodejs development, the first thing that comes to our mind is managing concurrent requests in an efficient way. We can leverage our server performance and efficiency even more by providing a mechanism to cache it's processed data(response) which seldomly changes. Such as products list, country codes, application...

by Vibhor Kukreja
Tag: nodejs
30-Apr-2016

Technology

What are middlewares in express

Middleware is a simple javascript function with three parameters request, response and next Apart from handling http request it can perform the following tasks: Manipulate request and response objects Perform isolated tasks Terminate request flow by sending response Pass the control to another middleware We load middleware...

by Satyam Chaudhary
Tag: nodejs
17-Feb-2016

AWS, DevOps

Running multi-container Nodejs application using docker-compose

This blog post is about using docker-compose, a tool provided by docker to define and run multi container application using a single command. It uses a docker-compose.yml file as default input file. I got a use case which was to run a Nodejs application behind a Nginx acting as a reverse proxy in two different Docker containers. This...

by Navjot Singh
Tag: nodejs
18-Oct-2015

Node.js

Adobe Behance Portfolio development API’s: node-behance-api

Behance is an online portfolios website. Here a user can create and see his/her/others portfolios. node-behance-api is an utility wrapper built on node.js for Adobe Behance rest services. This utility is developed for node.js only. Currently it supports most of the API's of Adobe Behance. You can upgrade or add other new API's via...

by Deepak Vishwakarma
Tag: nodejs
24-May-2015

Node.js

Introduction To Mocha [Part-1]

  Introduction To Mocha Recently I have started learning MochaJs for unit testing of my NodeJs application. Although  http://mochajs.org/ is very well documented and refine in its own. But that is most respect to Mocha itself. I tried and created lots of example so that it can relate to NodeJs. Before starting further, Clone/download...

by Deepak Vishwakarma
Tag: nodejs
23-May-2015

Automation Testing

Connect to PostgreSQL using JavaScript

One of the best practices of Automation testing is to leave the system from the state where you started your test from. While doing functional testing for an angularjs application using Protractor and Cucumber (BDD framework), there was a need to clean up whatever data was being generated in the Data setup (generally the Given) of the...

by Anuj Verma
Tag: nodejs
20-May-2015

Node.js

Handlebars : A step ahead

In the previous blog on Handlebars, we learnt the basic concept of handlebars and how to use them in your web applications. Now we will extend our knowledge, a bit more and see how we can use and create helper methods in handlebars to have more flexibility on data. Predefined/Built-in Helper methods: There are a number of built in...

by Rishabh Dixit
Tag: nodejs
18-Mar-2015

Node.js

High performance find query using lean() in mongoose

Lets start with a basic find query in mongoose and observe its execution time. [js] Event.find({'schedule.closing': {'$gte': +new Date()}}, {}, {limit:20, skip:0} ).exec(function (err, events){ ........ ........ } ); [/js] In my last project on Nodejs, I have used the above query to fetch the events...

by Sakshi Tyagi
Tag: nodejs
13-Feb-2015

Technology

Check Global Object Pollution using global-object-guard

JavaScript is language for Ninjas some time mistake happens by Ninja also which slow down our Node Application, because unknowingly we are dynamically creating the property on GLOBAL objects or some time we get stuck in some closure issue's which are not easy to trace and becomes a memory leak for the application. These are the common...

by Kashish Gupta
Tag: nodejs
06-Sep-2014

Node.js

Easy app scaffolding with Yeoman

Ever wondered that the most time consuming tasks are the one you have done numerous times on numerous projects, and why the hell am i doing it again? The most basic of examples of this is Scaffolding an app, you have to do a lot of things, repetitive things to get the app structure up to speed. This is an even bigger problem with...

by Manoj Nama
Tag: nodejs
06-Jul-2014