21 feb 2013

Eclipse RAP 2.0 QuickStart with IntelliJ IDEA

No Comments Eclipse RAP, Java

Eclipse RAP 2.0 is finally out! As you probably know, developing Eclipse RAP or RCP applications outside of Eclipse can be challenging. Actually, even from the Eclipse IDE itself it’s often no walk in the park to juggle all the tooling required to create and run a RAP application, let alone deploy it to a standalone servlet container like Tomcat as a simple WAR.

I’ve created a quickstart project that will get you up and running with RAP 2.0, including project files for IntelliJ IDEA 12 if that’s your IDE of choice. Read more

03 des 2012

Business Applications in the browser – finally a viable alternative

4 Comments Uncategorized

Web 2.0 applications are great. They are visually appealing, fast, intuitive and responsive. However, for large ERP systems and the like, the paradigms of the browser has traditionally been an ill match.

Read more

29 mar 2012

Makeover av syse.no

1 Comment News, Uncategorized, Web design

I kontinuerlig arbeid med å forbedre brukeropplevelsen av alt vi leverer, relanseres nå syse.no, i en friskere og mer sammensveiset innpakning.

Først og fremst er det jobbet for å skape en lettere og mer unison opplevelse. Sidene er raskere med mer effektiv bruk av CSS og Javascript; typografien er blitt mer sammenfattet; handlekurv er bundet tettere sammen med produktsidene, som forøvrig har fått en tettere integrasjon med resten av nettstedet.
Read more

24 feb 2012

The Importancy of the Geographical Location of your Hosting Provider

4 Comments Hosting, Marketing, Web hosting

While businesses, and government agencies for that matter, are considering buying hosted services and moving data to the ‘cloud’, there is a growing concern about where the data actually is stored or the services are hosted. ‘Cloud’ based services have raised issues of security, control, and trust, but the fact that many tend to disregard is that the geographical location of your hosting provider goes beyond the scope of security for your data.

Read more

06 feb 2012

Better, stronger, faster! Photoshop workflow enhancers

No Comments Graphics, Photoshop, Web design

There are endless of different ways to attack a problem, or task inside of Photoshop, some more efficient than others. Be sure that the things you do regularly are done with the least effort. In this post I will share some simple, but powerful tips to help speed up your workflow, along with some extras.

(SUPERCHARGED: A piece I made for the occasion. The engine is somewhat of a mess and the shadow around the typo is hurt due to interpolation from down sizing, but allover I really like the mood, and might do a tutorial or two, covering some of the techniques used to make this. Feel free to use the image in any way you like. It’s against a transparent background, so compositing should be a breeze :))

Read more

09 jan 2012

Chained ResultMaps in Tornado Query

No Comments Java, Tornado Query

This is another post about Tornado Query. Some times you want to select fields from just one table, and other times you join the fields from that same table as part of your result set. It’s common to have many foreign keys in different tables pointing to the same table. For that reason, you shouldn’t need to repeat what you have already configured in your result map for that table. Let’s use an address example table:
Read more

29 des 2011

CRUD should be DRY and free!

No Comments Java, Tornado Query

In my previous blog post I showed you how Tornado Query takes the pain out of writing SQL and mapping the result to your domain objects. After thinking about how to improve CRUD, I came to think about DRY (Don’t Repeat Yourself) – the ResultMap actually already knows all it needs to create my UPDATE and INSERT statements as well!
Read more

27 des 2011

Elegant SQL Queries and O/R mapping

1 Comment Java, Tornado Query

I’ve used Apache iBATIS for years and always liked how it works, but there are some boiler plate that could be avoided, and I don’t really feel like wrapping my SQL in XML. I’d rather keep the expressiveness of the Java/Groovy language at my fingertips, but still write SQL (Don’t even get me started on Hibernate/JPA and other O/R mappers that do magical things behind your back and try to hide that you are working with a relational database).

These thoughts gave birth to Tornado Query, a simple and elegant way of writing SQL and mapping results to your domain objects.
Read more

20 des 2011

CSS only, equal height faux columns

11 Comments CSS, Web design

While playing around with some CSS, I found a nifty technique to produce equal height faux columns with pure CSS, using the pseudo-element; :after. No background image, and no javascript required. Here is how it works:
Read more

18 des 2011

Smarter, domain specific caching

1 Comment Java

Most enterprise applications employ some kind of caching to boost performance. Traditionally, the database is the most common and most beneficial layer to cache. However, only caching your database often result in some major drawbacks:

  • The cache becomes tied to your particular RDBMS or ORM, making an eventual switch down the road more troublesome
  • You have no way to cache other parts of your application, like the result of remoting calls or expensive calculations

On top of that, a traditional, automatic database cache will often invalidate too much of your cached data, making the cache less efficient. I will explain why that is, and then show you the solution I came up with, and implemented into my Spring Framework alternative, Tornado Inject.

Read more