Sunday, August 10, 2014

AngularJS–Part 16 - Forms

This post will discuss about data entry in an Angular application and analyze what Angular has to offer us in this regard.

Read More

AngularJS–Part 15 - End to end tests and mocking

This post will show how we solve the problem when we need to write an E2E test that involves connecting to and getting some data from an external service provider that is either not under our control or that we explicitly do not want to include in our tests.

Read More

Angular JS–Part 14 - End to end tests

Automated end to end tests are an important part of the continuous integration and continuous delivery cycle. Without automated end to end tests delivering a new release of an application becomes burdensome. Manual regression testing can take weeks depending how complex the application is. That implicates that code freeze has to happen a long time before the product is ready to be deployed or ready to ship. Not only does this slow down the development or improvement of the application, no, it is also very expensive.

Read More

Angular JS–Part 13 - Services

This post discuss about services and how they are constructed and tested.

Read More

AngularJS–Part 12 - Multi language support

Our application is a product used by many global companies and thus we support multiple languages like English, French, Spanish, German and more. The question is now, how does AngularJS help us to provide our product in all the necessary languages?

Read More

AngularJS–Part 11 - Promises

Using callback functions to achieve asynchrony in code becomes just way too complicated when you have to compose multiple asynchronous calls and make decisions depending upon the outcome of this composition. While handling the normal case is still somewhat feasible it starts to become very ugly when you have to provide rock solid exception handling.

Comes the Promise to the rescue!

Read More

AngluarJS–Part 10 - Intermezzo

This post shows how a simple REST API can be implemented.

Read More

AngularJS–Part 9 - Values and constants

Sometimes we need some data that is globally available but at the same time we do not want to pollute the global (window) namespace with the definition for this data. Angular provides us the value and constant services which can do exactly this. Values and constants declared in this way can be injected into any controller or service like any other dependency (e.g. $scope, $http, etc.).

Read More

AngularJS–Part 8 - More choice when testing

While digging a bit deeper into the world of testing in and around Angular I was made aware of testem, another awesome framework agnostic test runner. This test runner is extremely simple to setup and we are up and running in no time.

Read More

AngularJS–Part 7 - Getting ready to test

Test driven development (TDD) is very important when developing a web application with a rich client since JavaScript is a dynamic language and thus there is no compiler making sure that our code behaves like expected. Tests are our only safety net. Writing tests in JavaScript and running them in a browser is not trivial. Lately the situation has improved quite a bit. Still, to get up and running for the first time is a non trivial task.

Read More

AngularJS–Part 6 - Templates

In Angular when we talk of a template we really mean the view with the HTML enriched by the various Angular directives and the markup used for data binding (the expressions in double curly braces {{ }}). We can of course go a step further and not only regard a whole HTML document as a template but also any HTML fragment, often called partials.

Read More

AngularJS–Part 5 - pushing data to the server

This post discuss some specifics of the architecture of our enterprise application and what that means for the design of our Web client.

Read More

AngularJS–Part 4 - Accessing server side resources

AngularJS offers different built-in ways of communicating with a server. The service we want to discuss here is the so called $http service. It provides us an easy and elegant way to communicate via HTTP protocol with a web server. We get the $http service in a controller via dependency injection.

Read More

AngularJS–Part 3 - Inheritance

This post discuss the aspects of controller inheritance.

Read More

AngularJS–Part 2 - The controller

AngularJS strongly encourages us to separate concerns and put all logic/code into controllers and keep the view (the html page or html fragment) free from any JavaScript.

Read More

AngularJS Part 1 - Introduction

This is an introduction to AngularJS and is mainly meant as a reference for the development team.

Read More

An In-Depth Introduction To Ember.js

With the release of Ember.js 1.0, it’s just about time to consider giving it a try. This article aims to introduce Ember.js to newcomers who want to learn about this framework.

Read More

A Guide to Building Your First Ember.js App

We’ll build a simple Ember application to catalog your music collection. You’ll be introduced to the framework’s main building blocks and get a glimpse into its design principles.

Read More

Backbone.js Wine Cellar Tutorial — Part 3: Deep Linking and Application States

In Part 3, you add complete support for history management and deep linking.

Read More

Backbone.js Wine Cellar Tutorial — Part 2: CRUD

In Part 2, you add the code to add, update and delete wines. You leverage Backbone’s powerful REST integration.

Read More