Trifork Blog

Category ‘Custom Development’

Creating charts with C3.js

July 29th, 2014 by
(http://blog.trifork.com/2014/07/29/creating-charts-with-c3-js/)

Everybody remembers that project where you need to display some data in a chart. When you select a library to create these charts you will obviously have a few requirements. One of the requirements will probably be that the charts must look good to impress your customer and if they don’t look the way you want, they must be at least be easy to style. But the most important requirement will be that the code to achieve your goal must be minimal and easy to understand. So one of the well known JavaScript library to create all kind of charts is D3.js. This library provided us the option to create a simple line chart with a tooltip that shows some data. So we thought that this would be a good fit for our project and started to create a chart. But wait… I see you thinking.. the title said C3.js and now you’re using D3.js?! Keep on reading to find out why! Read the rest of this entry »

Trifork NewsBites - July 2014

July 25th, 2014 by
(http://blog.trifork.com/2014/07/25/trifork-newsbites-july-2014/)

Dear reader,

The international software development conference GOTO, designed for software developers, IT architects and project managers was back on June 18th-20th at the Beurs van Berlage, Amsterdam. Trifork, GOTO Academy and Axon had each a stand there. 

On June 26th-27th Allard Buijze gave a training on the Axon framework. On July 10th we held a Docker MeetUp in our Trifork office in Amsterdam. Below we relate these events and provide further information about upcoming trainings and more.

Read the rest of this entry »

Angular Directives, a beginners guide - part 2

July 22nd, 2014 by
(http://blog.trifork.com/2014/07/22/angular-directives-a-beginners-guide-part-2/)

Angular logo

In my previous blog post (part 1) about Angular Directives, I provided you with an introduction into what Directives are and how to use them. The short recap is that you can use Directives to add markers to a DOM element and then tell the AngularJS compiler to add behavior or modify that element. In this blog post, I will discuss the two remaining directive types (class and comment).
Read the rest of this entry »

How to manage your Docker runtime config with Vagrant

July 20th, 2014 by
(http://blog.trifork.com/2014/07/20/how-to-manage-your-docker-runtime-config-with-vagrant/)

Vagrant LogoIn this short blog I will show you how to manage a Docker container using Vagrant. Since version 1.6 Vagrant supports Docker as a provider, next to existing providers for VirtualBox and AWS. With the new Docker support Vagrant boxes can be started way faster. In turn Vagrant makes Docker easier to use since its runtime configuration can be stored in the Vagrantfile. You won't have to add runtime parameters on the command line any time you want to start a container. Read on if you like to see how I create a Vagrantfile for an existing Docker image from Quinten's Docker cookbooks collection.

Read the rest of this entry »

How to Remotely Debug Application Running on Tomcat From Within Intellij IDEA

July 14th, 2014 by
(http://blog.trifork.com/2014/07/14/how-to-remotely-debug-application-running-on-tomcat-from-within-intellij-idea/)

This post would look into how to tackle and debug issues in scenarios where they only occur in production (or other remote environment) but not in development environment. As anybody who has been in this kind of situation would acknowledge, trying to pinpoint the cause of these kind of "issues" might quickly end up being a practice at taking shots in the dark: a very time-consuming and inefficient process.

It was this kind of situation I recently found myself, where, I had to rectify certain issues that were occurring in the production environment but could not be reproduced on the development machine.

Fortunately enough, the said issues could be reproduced in the testing environments (which is as close to the production environment as possible). But having the issues reproducible in the test environment was good In that it confirms the issues needed to be fixed, but it was of little help in actually tracking the issues down, finding the cause and fixing it. Relying just on log outputs was not enough...What if I could debug the test environment from my machine?

Read the rest of this entry »

Validating epubs

July 10th, 2014 by
(http://blog.trifork.com/2014/07/10/validating-epubs/)

In one of my recent projects, I had to deal with the validation of epubs. Unfortunately there are not many references on this topic on the internet. Therefore I thought it would be good to write a small blog entry about the validation of an epub file. In the first part I want to explain in short what an epub file is and show what issues and problems may occur when dealing with them. The second part is a manual on how to solve these issues and problems. If you have any questions do not hesitate to leave a comment. Read the rest of this entry »

Trifork News Bites - June 2014

June 17th, 2014 by
(http://blog.trifork.com/2014/06/17/trifork-news-bites-june-2014/)

Dear reader,

In 2 days Trifork will be at the famous GOTO conference in Amsterdam, only a few days left to sign up! End of June Allard Buijze will give a training on the Axon framework, there are only a few seats available. Finally beginning of July Frans Van Buul will give a training on AngularJS. Many other events, trainings and projects are coming ahead, stay tuned! And enjoy reading!

Read the rest of this entry »

This is a tough one! Which session would YOU like to attend at GOTO AMS?

June 12th, 2014 by
(http://blog.trifork.com/2014/06/12/this-is-a-tough-one-which-session-would-you-like-to-attend-at-goto-ams/)

GOTO Amsterdam the conference is in less than one week and we cannot wait. So we believe it's time for our developers at Trifork to share with us which talks they would like to attend and why. So we asked them the question and here you can find their answers. Maybe you will get inspired as well!


Jan Groot - Software Pilot- cannot wait to see the talk from Juergen Hoeller - Spring 4 on Java 8

"I'm looking forward to see Juergen Hoeller's talk on Spring 4 on Java 8. How are the cool new language features leveraged by my favorite framework? It's java.time for some lambda expressions and method references in my tool set.I'm sure this talk will answer this question and help me boost my performance in future projects." Read the rest of this entry »

Trifork News Bites

June 10th, 2014 by
(http://blog.trifork.com/2014/06/10/trifork-news-bites/)

Dear reader,

Trifork hosted a GOTO Night in Amsterdam about the programming language Erlang, specifically why it was one of the driving factors for the success of WhatsApp. In May we had our first AngularJS training in NL which was a great success as it was completely sold out. The next training is planned in July and you can register for it on the website. Many other events, trainings and projects are coming ahead. Enjoy reading!

Read the rest of this entry »

3 reasons to sign up Today for GOTO AMS 2014!

June 6th, 2014 by
(http://blog.trifork.com/2014/06/06/3-reasons-to-sign-up-today-for-goto-ams-2014/)

With an average of 10 new registrations per week for GOTO Amsterdam we are expecting a bigger event than ever. There is still a chance to attend!

GOTO is less than 4 weeks away! Here are 3 good reasons why you should not miss the conference:

  1. You can meet some of the key thought leaders from the Internet of Things, DevOps, Java, Mobile, Agile, JavaScript, Web, UX and Architecture Communities all in one place.
  2. You can attend the Conference Party on Thursday evening with "Meta-eX - the music of code". Live Coding. Live Synths. Live Music. Meta-eX is a live coding DJ duo formed by Jonathan Graham & Sam Aaron, who is speaking at GOTO Amsterdam.
  3. And last but not least, you have the opportunity to attend presentations of impressive speakers such as:
Dan North Rod Johnson Georges Saab Linda Rising Chad Fowler Kevlin Henney
Dan North Rod Johnson Georges Saab Linda Rising Chad Fowler Kevlin Henney

Read the rest of this entry »