FSM Actors in Akka
This post takes a look at the basic features of the FSM trait in Akka and implements a simple Tic Tac Toe game actor along with tests.
This post takes a look at the basic features of the FSM trait in Akka and implements a simple Tic Tac Toe game actor along with tests.
This is the first in a series of posts in which we will explore building applications with the Play Framework. Today we will focus on creating a very simple barebones application and applying some tests to it. Starting A Skeleton Application Complete sample code for this article can be found at play-samples/minimal. The only prerequisite … Read More
This little problem came up in my recent AngularJS/Ionic app. It all started with an innocent modal dialog. There are several, but for the sake of simplicity, let’s look at the login dialog: The generic dialog plumbing is a div with a surrounding overlay that dims out the rest of the screen. You can click … Read More
Aaron Mulder reviews several mobile CSS frameworks – JQuery Mobile, TopCoat, Bootstrap and Ionic – for a side project. Check out his criteria and selection.
As some of you may be moving from Java to JavaScript, you’ll find there are a number of ways to program – using objects, functions, or a hybrid approach. A common style of API you’ll see in the wild lends itself to expressive object definitions, while at the same time being easy to use to … Read More
Supposedly Scala requires a completely different programming style. But what happens when you just want a Spring application? Is it possible to program in Scala without jumping in the deep end? Chariot’s John Shepard illustrates the difference in approach in this quick tutorial.
AngularJS provides two powerful mock and test support modules, both contained in a single script file. The modules, ngMock and ngMockE2E, provide different features for different purposes, though both modules are defined in, angular-mocks.js. In this post I’ll explain the differences between the modules and how they get mounted in a test scenario.
A number of Angular services return promises: $http, $interval, $timeout, for example. Anything needing to run in the background will need to coordinate with a caller such as a controller or directive, and the promise API is the way to go. But how does it work? We’ll show you how with this short tutorial.
Now that we’re well into the client/server age of the web with client-side frameworks such as AngularJS and Ember, it’s time to start revisiting those typical sample projects and reviewing how they’ll change with a more intelligent client. In this tutorial we’ll wire up an AngularJS single-page web application to communicate with Web Sockets using Socket.IO and host the application using NodeJS for an all-Javascript stack.
In our prior JavaScript build tools posts, we already discussed bower and npm, two tools that help you download and install dependencies. But what about tools to build your application, run tests, distribute minified versions and run quality checks? Enter Grunt.