ClustrMaps

The roadrunner is back as never before! See also: My homepage or my very obsolete site
If by any means entries in my blog are considered to be harmful or damaging, please let me know (add comment) or just mail me. In this (unhopely) case I will remove or change the contents.

Thursday, January 24, 2008

Layering an application

This is a permant struggle with a common goal:
maintainability

See http://javadude.com/articles/layering.html

Application layering

Components fall into layers in your application. Each layer has a specific set of responsibilities, and defined communication with other layers.

Figure 1. Application Layers

The current ideal way to design your application is to provide nice, clean interfaces between layers:

  • Presentation Layer (aka User Interface Layer)
    Displays data to user and accepts i/p -- no business logic at all!
  • Domain Layer (aka Business Logic Layer)
    The "smarts" of your application
  • Storage Layer (aka Data Management Layer)
    The code that fetches and saves data for you

[Note that I said "current ideal". Architecture evolves over time, and this is a current best practice. Newer and better techniques will come along, but they should grow from this approach.]

And also http://en.wikipedia.org/wiki/Business_logic

En deze gedachte van Menno van Doorn is prikkelend:
http://www.computable.nl/nieuws.jsp?rubriek=1444691&id=2317685
Wat zijn de grootste uitdagingen van een ict-onderzoeker?
Je moet je niet gek laten maken door een hype. De ict kent pieken en dalen, euforie en deceptie. Je moet op tijd de zin van de onzin kunnen scheiden. Daarbij moet je de kracht van een Jip-en-Janneke oplossingen niet over het hoofd zien. Complexe ict verliest het altijd van eenvoudigere ict. Het is belangrijk te focussen op het gebruik van ict.

No comments: