Should database only store data?

| category: Design | author: st
Tags: , ,

Very old subject I remember to discuss in the middle of 1990s... But some people still says that a clean architecture should remove all business logic from the database.

Let's start from referential and domain integrity rules (constraints). Are they business ones? Of course, yes. The e-mail column should be …

When you still need use the singleton pattern?

| category: Design | author: st
Tags:

The singleton pattern has come a long way since early 1990x. The programmer interview question "Write a singleton" in 1995 has evolved to "Write a lazy initialized singleton" in 2000x, and finished by "Why we do not use a singleton?" in 2010x.

Indeed, the unproved using of multiple singletons should …

GenieLamp

| category: Design | author: st
Tags:

GenieLamp is the software factory and model-driven development framework. You have no more to write a boilerplate!

Quick start on the project's wiki.

I'm looking for contributors, please, contact me at Github

how it works