JavaScript Function Contexts and the Meaning of This
Many languages have an implicitly declared identifier called this. In languages like Java or C#, this commonly refers to a surrounding object, e.g., to the object on which a method was called....
View ArticleFunctional JavaScript using Lo-Dash, an underscore.js alternative
em { background: #eee; font-family: Monospace; font-style: normal; } Functional programming concepts and functional programming itself are currently all over the news. Languages such as Clojure are...
View ArticleSPA example application with AngularJS and requireJS as a comparison to the...
About three weeks ago, Tobias Flohre published his blog post about a real ROCA application. He has shown that a ROCA application can be developed with ease by utilising tools that have been available...
View Articlecodemotion Berlin 2013 technology lab: The aftermath
Two days ago, at the codemotion Berlin 2013, we, i.e. Michael Lex and Ben Ripkens, gave a technology lab. We had an ambitious plan: In three hours we wanted to show typical agile development practices...
View ArticleJavaScript – Search for text in HTML page
Preface Probably I should start this blog post with a big disclaimer, because so far doing anything with JavaScript to me was like entering a world of pain (sorry, but the movie reference is a must)....
View ArticleTraverson – the HATEOAS Client For JavaScript
A lot of REST APIs offer links between their individual resources. This pattern is commonly known as HATEOAS – Hypertext As The Engine Of Application State. APIs that do this are also referred to as...
View ArticleNear-Realtime Analytics with MongoDB, Node.js & SmoothieCharts
In this blog post we’ll have a look at how easy it is to do some (near-)realtime analytics with your (big) data. I will use some well-known technologies like MongoDB and node.js and a lesser known...
View ArticleCross platform JavaScript with Browserify – Sharing Code Between Node.js and...
Full stack JavaScript! Easier said than done. Especially if you want to use some of your JavaScript code in your Node.js backend as well as in the browser. There are quite a few ways how to achieve...
View ArticleStreams in JavaScript: a versatile Tool
Streams in Node.js are an important and versatile Tool. Unix Pipes were an example for Streams. At the beginning they were just representations of byte sequences or strings, built to improve the...
View ArticleAngularJS: Google+ Sign In Integration
Google+ Platform now enables easy, efficient and powerful multi-platform integration of it’s services with almost everything you can imagine. If you have a need to use Google authentication,...
View ArticleProject Nashorn – JavaScript on the JVM
Suppose you have a password strength checker in your user interface to help users choose secure and easily remembered passwords. Since estimating password strength involves more than just checking...
View ArticleAngularJS And Browserify — The Dream Team For Single Page Applications
Browserify Your AngularJS App Let’s face it, structuring a large JavaScript project is not trivial. The tool Browserify enables you to use CommonJS modules for your frontend JavaScript, even though...
View ArticleHome.Pi Reloaded – Home Automation with Ionic and MQTT
Today I want to inform you about a new release of my home automation solution “Home.Pi”. First I want to apologize to all those whom I have not yet replied to their questions after the first post....
View ArticleSpring Boot Admin – First official Release!
Today we are happy to announce the first official release of Spring Boot Admin. My colleague Thomas has created this Admin Application for Spring Boot a few weeks ago. Basically it gives you an...
View ArticleTesting JavaScript on various platforms with Karma and SauceLabs
The web can be a brutal environment with various combinations of browsers and operating systems (platforms). It is quite likely that your continuous integration setup only covers a small portion of...
View ArticleIonic: An AngularJS based framework on the rise
Ionic is one of those frameworks that you hear about from time to time. It is barely a year old and falls in line with other web-based hybrid app frameworks like Sencha Touch and jQuery mobile. This...
View ArticleCancelable Asynchronous Operations with Promises in JavaScript
Last week my colleague Bastian Krol put up an interesting question on Twitter about JavaScript Promises and the ability to cancel asynchronous (async) operations. What's the idiomatic way (API) to give...
View ArticleWhat are Angular HTTP interceptors anyway?
Sometimes it takes more time or words to describe a concept in natural language, than to express it in code. Angular’s HTTP interceptors are such an example. The implementation is about half the size...
View Article5 Ways to Write Better Angular Services
Angular services are singleton objects that can be used to organize and share code. Services are typically used to interact with REST endpoints, to organize common UI logic or even for business logic....
View ArticleWorking with Same-Origin Policy Restrictions
The Same-Origin Policy (SOP) is a security model that almost everyone gets in touch with when developing websites or web applications. Often, this first experience leads to frustration,...
View Article