Home » JavaScript » Node.js

Node.js

AppDynamics and NodeSource Team Up For Enterprise Node.js Monitoring

Discover faster, more efficient performance monitoring with an enterprise APM product learning from your apps. Take the AppDynamics APM Guided Tour! Node.js is a popular choice with application development teams due to its event-driven, non-blocking, flexible, lightweight and extensible framework which enables faster innovation and adoption of microservices. AppDynamics has supported monitoring of Node.js since 2014. It has been a ...

Read More »

Updating a Maintainable NPM Module with Continuous Integration

In Part I of this two-part series, you learned how to write, test a JavaScript module, and publish it as an NPM package. This post will focus on updating your module using continuous integration. Continuous Integration and Deployment with Codeship Continuous integration (CI) is one of those topics that might sound scary and complicated, and of course there are a ...

Read More »

Using Docker Compose for NodeJS Development

Docker is an amazing tool for developers. It allows us to build and replicate images on any host, removing the inconsistencies of dev environments and reducing onboarding timelines considerably. To provide an example of how you might move to containerized development, I built a simple todo API using NodeJS, Express, and PostgreSQL using Docker Compose for development, testing, and eventually ...

Read More »

Building a Node Module That Connects to DB2

The NPM registry contains many Node modules that help you to connect to a wide variety of databases including MySQL, Oracle, Mongo and even IBM DB2. This article demonstrates how to write a very simple Node module that connects to DB2 using the ibm_db Node module provided by IBM. Key concepts covered in this article: Creating a simple Node module Using ...

Read More »

Top 5 Performance Metrics for Node.js Applications

Interested in monitoring your Node.js application performance? Try AppDynamics for Free. The last couple articles presented an introduction to Application Performance Management (APM) and identified the challenges in effectively implementing an APM strategy. This article builds on these topics by reviewing five of the top performance metrics to capture to assess the health of your enterprise Node.js application. Specifically this ...

Read More »

Update DynamoDB Items with Node.js

On a previous post we proceeded into inserting items to DynamoDB using Node.js. DynamoDB also supports updating items. We will use the Login table for the update examples. When issuing an update you must specify the primary key of the item you want to update. var updateName = function(email,fullName,callback) { var docClient = new AWS.DynamoDB.DocumentClient(); var params = { TableName:"Users", ...

Read More »

Scan DynamoDB Items with Node.js

On previous posts we covered how to query a DynamoDB database Query DynamoDB Part 1 Query DynamoDB Part 2. Apart from issuing queries DynamoDB also offers Scan functionality. What scan does is fetching all the Items you might have on your DynamoDB Table. Therefore scan does not require any rules based on our partition key or your global/local secondary indexes. ...

Read More »

Query DynamoDB Items with Node.js Part 2

On a previous post we had the chance to issue some basic DynamoDB query actions. However apart from the basic actions the DynamoDB api provides us with some extra functionality. Projections is a feature that has a select-like functionality. You choose which attributes from a DynamoDB Item shall be fetched. Keep in mind that using projection will not have any impact on ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook