Trifork Blog

Category ‘Custom Development’

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/)

In a Continuous Delivery set up, the biggest discrepancies usually exist between the two furthest endpoints of the delivery pipeline: Development environment and Production environment, with each components in the pipeline then approaching “production-like” as you move closer to production endpoint.

An ideal set up would be to have the development environment 'exactly' like the production environment, but we do not live in an ideal world, and for various reasons, there exists valid constraints that prevents this; from licensing constraints to privacy constraints (where production data is concerned).

It is then not an unusual occurrence to encounter bugs in production environment that cannot be successfully reproduced in the development environment.

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.

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 »

Brightcenter, the multi-user classroom solution for educative app(lication)s

May 15th, 2014 by
(http://blog.trifork.com/2014/05/15/brightcenter-the-multi-user-classroom-solution-for-educative-applications/)

Tablets inside the classroom

brightcenter_logo_xl

For years now, PC/Desktops have been present in the classroom providing children and students digital learning environments. These learning environments are helping the teachers by providing interactive learning aids where children and students can independently work and learn. In primary schools, classrooms are filled with just a couple of PCs in order to allow children to learn how to use a computer. Many of these PCs include special software written specifically for kids, where they can learn to practice basic mathematics, writing, language, etc. Most of the time these PCs are not even connected to the Internet, because of the nature of the applications and run on local machines. Read the rest of this entry »

Advanced theming: dynamic SVG backgrounds with SASS, the right way!

May 14th, 2014 by
(http://blog.trifork.com/2014/05/14/advanced-theming-dynamic-svg-backgrounds-with-sass-the-right-way/)

Theming an application is easy, right? A solution like SASS allows you to define variables like colors and sizes in your CSS and then compile them into your theme/template. However, this doesn't work for images, especially if you want to go further than just using a transparent PNG. For a product or solution to be truly dynamic in colors and styling, you want to be able to use the same variables and apply them to the background images for your icons that you want to have the theme colors. People typically resort to writing a batch script for Photoshop, that does the work for you. Or even have your designer create the images manually. These solutions will require that you put a designer on every project which makes use of your product/solution even for minor color changes, this doesn't sound efficient does it? However, there is a more elegant solution and has something to do with SVG... Lets look at a real usecase below. Read the rest of this entry »