Java integration tests with Spring

Java integration tests with Spring

Recently, we had to write integration tests because a connection with the database was required in almost all aspects of our business logic. Writing only unit tests without a DB connection didn’t make much sense – we were only able to check if the API returns a proper error message in cases like no records […]

5 Things to Know About Ad Tech for Smartwatches

Ad tech for wearables is dubbed the ‘third wave of digital advertising’, and rightly so: advertisers are set to spend $68.6 million by 2019 on smartwatch ads by 2019, up from an estimated $1.5 million this year. It’s a good bet – people are buying wearables, and the smartwatch – like the Apple Watch – […]

Monitoring with Grafana and InfluxDB

Monitoring with Grafana and InfluxDB

Having multiple distributed services can generate a great deal of data, including health statuses, state changes and many more. One of our projects required a service which could monitor such information and display it in a friendly manner to the user. One of the problems was that we had no influence on some of the […]

AngularJS – how to properly use $watch() and $watchCollection

AngularJS - how to properly use $watch() and $watchCollection

Many AngularJS developers don’t know how to properly use $watch() and $watchCollection(), and they write their own functions to track changes objects. Below is a piece of simple code to demonstrate differences between this two functions and situations when to use them. $watch() is used to watch changes, for example in some input fields. This function always returns old value […]