Trifork Blog

Posts by Roberto van der Linden

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 »

Linking apps together with App Links

June 3rd, 2014 by
(http://blog.trifork.com/2014/06/03/linking-apps-together-with-app-links/)

When developing apps for mobile phones you want to offer your users the best user experience. Sometimes this includes showing information outside of your app, in another app. Up until recently, there was no real good way to do this. Luckily, now there is a new initiative App Links that provides an open source and cross-platform solution for app-to-app linking. The initiative is supported by many mobile app developers, like Dropbox, Facebook, Spotify and Pinterest. In this post I will show you an example how to link between two Android applications using the open source implementation for Android Bolts. However, the same principles apply when you want to link between two iOS applications.

Read the rest of this entry »

My GOTO Amsterdam Experience

September 20th, 2013 by
(http://blog.trifork.com/2013/09/20/my-goto-amsterdam-experience/)

goto
With GOTO Aarhus around the corner I would like to share with you my GOTO "experience".
I could tell you more about all the presentations I visited and how nice it was to listen to some great speakers, but I won't :)

Instead I would like to tell you more about the whole GOTO Amsterdam experience and the feeling I had after the conference.

Read the rest of this entry »

Hippo CMS Favorite Folders Plugin

July 17th, 2013 by
(http://blog.trifork.com/2013/07/17/hippo-cms-favorite-folders-plugin/)

hippo_logoAfter doing a number of big projects with Hippo CMS, I came up with the idea of creating a plugin. I'm always looking for ways to optimize the user experience as I think user experience is one of the most important parts of a product. Hippo allows you to store your content in a folder structure. In my projects I've noticed that most users only use a few folders to work in. Sometimes this folder is located on a deeper level in the folder structure, which makes the user need to click even more before he reaches his content. My plugin allows the user to mark a folder as a favorite folder. A link will be created on the dashboard (the first screen after log-in). Using this link, the user can quickly navigate to that folder. The favorite folders will also be available in the link picker as a separate section. Continue reading to find out how it works!

Download Hippo CMS plugin

Read the rest of this entry »

Creating a mobile version of your website with Spring Mobile and Sitemesh

May 3rd, 2012 by
(http://blog.trifork.com/2012/05/03/creating-a-mobile-version-of-your-website-with-spring-mobile-and-sitemesh/)

About a year ago I developed an Android app for my website, but as not everybody has an Android device I wanted to create a mobile version of my website. In the mobile version I want to present slightly different data to make it look more like the app. In this post I will show you how I have used Spring mobile to determine which version of the site the user wants to visit and how I used Sitemesh to select the correct decorator.

Read the rest of this entry »

Using Android Preferences in a background service

August 12th, 2011 by
(http://blog.trifork.com/2011/08/12/using-android-preferences-in-a-background-service/)

In this post I will explain how I have used the Android Preferences in a background service. The preference is used as an interval for updating a listview with some simple text items.
Read the rest of this entry »

Android basics - Applying some UI patterns

May 6th, 2011 by
(http://blog.trifork.com/2011/05/06/android-basics-applying-some-ui-patterns/)

When I started with my Android application, I had the idea to create a home screen and an action bar just like one of the Android developers described in a blog item. I was really helped by the source code of the Google I/O Schedule app. In this post I will explain how I used several layouts to create my app.

Read the rest of this entry »

Creating an Android app for your website with Spring Android and REST

February 7th, 2011 by
(http://blog.trifork.com/2011/02/07/creating-an-android-app-for-your-website-with-spring-android-and-rest/)

As Android is really hot at the moment (and I have an Android phone), I wanted to create an Android app for my website. In this blog post I will explain the changes I had to make on the part of my web application and how I used Spring Android to interact from Android to my web application.

Read the rest of this entry »

Migrating from Spring Integration 1.0.3 to 2.0.0.RC2

November 17th, 2010 by
(http://blog.trifork.com/2010/11/17/migrating-from-spring-integration-1-0-3-to-2-0-0-rc2/)

Spring Integration 2.0.0.RC2 is out and I really wanted to upgrade in my current project. Few of the reasons to upgrade were the dependency of Spring 3 and the support for JMX. Because SpringSource changed a few things in the 2.0.0 release, I want to share the steps I had to take and issues that I solve to migrate from Spring Integration 1.0.3 to the latest version 2.0.0.

Read the rest of this entry »

Creating an Android app with Google App Inventor

October 27th, 2010 by
(http://blog.trifork.com/2010/10/27/creating-an-android-app-with-google-app-inventor/)

After a few times filling in the registration form and weeks from waiting, I finally got an invite for Google App Inventor. In this post I will explain how I have tried to rebuild an app that I created before with “normal” programming.

Read the rest of this entry »