Author Archive

Thymeleaf: create page templates for web and non-web environments

12/02/2013 1 comment

Most likely you have found yourself in the following situation: you’re at the start of new web application project and one thing you need to take care of is the layout. Problem is that you can build static HTML templates with dummy data, but then you have to (manually) convert these into JSP. When you don’t have a running system you don’t have any choice but to make static HTML, or model templates a different way. Because of this the main problem will be on how to update the system given this (updated) design. This post will described the Thymeleaf framework which addresses these issues and will allow static templates to run unchanged in a web application.
Read more…

Categories: Frontend, Java Tags: , , , ,

Debugging web pages on mobile devices

As a web developer I often use front-end debugging tools like Firebug (Firefox) or Webkit Inpector (Chrome) to inspect or edit html & css and to run JavaScript (for example JQuery). Regular web pages shown by the browser can be inspected using such tooling as soon as the page is loaded.
With mobile devices however this principle is not (directly) possible. Of course you can run debug tooling opening the html as a file on your pc, deploy the application to a mobile device keeping your fingers crossed hoping it will run ok. It will be frustrating to see that web pages show and act different on a mobile device compared to the content being shown in a web browser on a pc. In this case the device is a black box and most of the times you have no clue what is causing the layout and behavior problem.
Searching the internet I have found a way to actually debug web pages on the mobile device using the browser of the pc. This article will show you on how to set this up, so that you can debug mobile web apps.

Read more…

Quickstart Android 4.0 mobile app development

It probably does not come as a surprise to you that mobile devices & mobile apps are hot. As more and more new mobile devices like smartphones and tablets come to market, the demand of apps increases as well. In 2011 the mobile devices market growth (tablets in particular) has exceeded the pc market growth by far. Based on the statistics of almost half of the smartphones sold in 2011 run Google Android. This post will focus on the Android platform and will give you a few easy steps for setting up, building and deploying a basic Android project using Maven and the Android SDK.

Read more…

Categories: Android Tags: , , , , ,

HTML5 and CSS3 features and browser compatibility

HTML5 is the latest major milestone in HTML, XHTML, and the HTML DOM. It represents an enormous advance for modern web applications and promises to increase the capabilities of browsers and Web applications for years to come. The previous version of HTML – 4.01 – was released in 1999 and a lot has changed since then on the web. Therefor HTML5 has been brought to live in order to meet the demand of the users. When HTML5 is supported by a browser it will go hand in hand with CSS3. One fact is that it will improve the interaction with the user. This article will go into the features of HTML5 as well as CSS3 and the level of compatibility of the current browsers.
Read more…

Categories: Frontend Tags:

Java RAD and scaffolding tools

Most likely you also have found yourself in the following situation: a new project has just started and you have to set up a new project structure by creating the Java structure as well as configurations (like dependencies, storage etc.) manually which can take a lot of time. Writing, configuring and integration of  an application in progress can be as well a big pain. In this blog article I will describe what this tooling does and how it will help in these situations.

We will look at a few mainstream tools: JBoss Forge, Spring Roo and Play  and discuss their pros, cons and features. Read more…

Categories: Java Tags: , , , , , ,

Is MongoDB a good alternative to RDBMs databases (like Oracle and Mysql)?

25/11/2011 1 comment

During the 10th Devoxx at Antwerp a presentation was given about MongoDB by Brendan McAdams from 10Gen.
This was one of the presentations during this event which I attended. I have to say I was pleasantly surprised by the ease of use and the features of this product. MongoDB is a NoSQL (non-relational, next-generation operational datastore and databases) database which is a schema-less database having huge advantages over most current existing RDBM databases.

The main pros of MongoDB can be divided in the following three:

  • Flexibility
  • Performance
  • Scalability

The aim of this article is to give an idea of this product, by giving an overview of advantages and disadvantages. Next, I will give some pointers to take into consideration in order to determine if this type of database is suitable for a specific situation or not. At the end of this article I will provide the link to the presentation that was given, providing more details (like example models & queries). Read more…


Get every new post delivered to your Inbox.

Join 275 other followers