Home » JavaScript » Page 27

JavaScript

Angular.js App Structure

There are thousands and more developers working daily on apps, regardless of their being web, desktop or mobile applications and independently of the technologies used in them. A very big number of these apps launched daily are built with AngularJS, and they can be of different sizes: very small, small, medium or large scale apps. Keeping in mind the size ...

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 »

Dynamic component loading with Angular2: replace compile

Just a quick article to show how you can do dynamic compilation in Angular 2. In Angular 1 we had the $compile directive, which we could use to programmatically compile a string and resolve any directives and other variable interpolations. In angular 2 there isn’t really an alternative for this and we have to jump through some hoops to get ...

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 »

AngularJS Navigation Example

By now you’ve surely heard of the superheroic Javascript framework named Angular, and if not, then you’ll hear about it very soon if web programming is a part of your world, so you had better take a look here! Angular is by far the best in handling dynamic views in HTML, and it appears that the trend will continue. Now ...

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 »

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 »