Home » JavaScript (page 4)

JavaScript

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 »

Getting Started with Angular.js

There are new tools and technologies appearing in the internet everyday, all with their special characteristics and their similarities and differences with the rest of all what have already been established. While a big number of them flop just as quickly as they were made visible (with good reason too!), Angular.js will be around for quite some time in the ...

Read More »

Fiddling with RxJs Streams

In this post I’ll touch on the emergence of JavaScript reactive streams. We’ll look at a cool online interactive tool that is useful for checking behavior of stream operators. I’ll finish by showing six RxJs JSFiddle examples that you can run and modify. Background Rich applications, such as modern SPAs, deal in state changes due to events. We’re accustomed to ...

Read More »

Consider VueJS for Your Next Web Project

Whether or not you’ve ever heard of VueJS before, never fear. I’m here to share some insights on how and why we at Codeship used this “new” library for our Docker-builds UI, Jet. What Is VueJS? To get a rough idea of what Vue (pronounced “view”) does, think about it as the ‘V’ in an MV* pattern. If you’d like ...

Read More »

Create DynamoDB tables with Node.js

On this post we will create Tables on a DynamoDB Database using node.js Before getting started we need to have local dynamodb installed since we want to avoid any costs for dynamodb usage. There was a previous post on local dynamodb. In case you use docker you can find a local dynamodb image or you can create one on you own ...

Read More »

Angular.js Scope Apply Example

If you’re even a little bit into learning Angular and have researched the main points and have the basic understanding of it, you will have noticed that the first thing everyone should have a good grasp on, is the two-way data binding that AngularJS offers. But what is data binding and how can you implement it in your Angular apps? how simple ...

Read More »

Insert Items to DynamoDB Tables using Node.js

On a previous article we learned how to create DynamoDB Tables using Node.js. Next step is to insert items to the DynamoDB Tables previously created. Keep in mind that for the insert action the most basic step is to specify the the primary key. For the table users the primary key is the attribute email. You can add as many attributes ...

Read More »

TypeScript example using RequireJS

1. TypeScript with RequireJS In this article we are going to explain how to create a TypeScript application and separate its components in modules. After that we are going to show how to load these modules using AMD with RequireJS and the TypeScript compiler options to support it. All code and examples used in this tutorial are available in the ...

Read More »

Scheduling jobs on a Sails.js application

In one of my projects there was the need to put scheduled tasks on my Sails.js application. Agenda and node-schedule are the tools of my choice when scheduling jobs on a node.js app. What we are gona cover is adding scheduling to our Sails.js application using node-schedule and agenda. To get started let’s create our application sails new SailsScheduling cd SailsScheduling ...

Read More »

Scheduling jobs on Node.js with agenda

There are many ways to schedule jobs in your application. A very common practice is to back our jobs with persistence. By doing so we will be informed in the future if the job did fail or succeed and when it should be the next execution. Agenda is a light-weight job scheduling library for node.js. It is backed with mongodb. It is ...

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