Sharing AngularJS modules with component.js
Component.js has emerged as a very sensible way to package and share web components. It knows about scripts, css, images and html. That makes it a good fit for AngularJS modules. But there's more! :)
Component.js has emerged as a very sensible way to package and share web components. It knows about scripts, css, images and html. That makes it a good fit for AngularJS modules. But there's more! :)
The Thoughtworks' Tech Radar has come out again and there is no change in the recommendation on Javascript testing. The radar recommends to "Adopt Jasmine paired with Node.js". This is…
This is how you can detect existing Node.js and npm, or automatically install a temporary Node.js if none is already installed. About the only things needed are make, bash, curl…
As we all know, Javascript is a very flexible language. In the article I will show different ways to execute conditional code by using some common idioms from Javascript and…
Robotium is a UI test framework for Android applications. With Robotium, test case developers can in easy fashion write function and system tests for Android applications. Robotium has until now only…
If you’re a web developer with prior experience from MVVM/MV* frameworks like Knockout or Batman going into Windows 8 development, one thing you quickly notice is the lack of two-way…
Summary This blog describes One simple approach to access MongoDB using REST, CORS (Cross-Origin-Resource-Sharing) and with simple authentication and authorization. Background This mini-project started because I wanted a way for…
One thing I miss in the tools and templates around HTML5/Javascript development for Windows 8 is a test strategy, or at least some encouragement in the templates to send you…
During a recent re-factoring of some JavaScript I accidentally removed the last line of a function that told the UI to re-render according to the new data. After that I figured, why not move this outside of the…
In this post, we'll perform a refactoring that moves some code that controls the AppBar in a Metro application written in HTML5. The code is currently placed in each page…
Yesterday we had the pleasure to present at TechDays 2012, with a session named "Windows 8 for Web Developers". The topic of the presentation was how to develop Win8 Metro…
For me unit testing Javascript has been an issue for quite a while. Our backend server usually have a lot of tests at various levels but the Javascript service and…
This example assumes that you have a Github account. If you don't have one, you can get one at (suprise!) Github. It also assumes that you have installed Node and…
Recently I got to use the Google Maps Javascript API for the first time, which was a quite pleasant experience. The API is thoroughly documented and most of the parts…
Introduction The choice of client side MV* framework ain’t an easy one. And fairly often a new one comes along. Among the usual suspects we find frameworks like Backbone, Knockout…