XMPP service. System Facade

In previous posts (here and here) I’ve started describing XMPP subsystem and analyzing requirements. Before we proceed with the analysis of  requirements (8)+ it’s time to create overview of current structure

Read the rest of this entry »

Advertisements

Abstract Factory + Composite = Composite Factory

Some time ago I’ve faced an interesting challenge. I needed to create library that provided clients with my own types (let’s call them built-in ones). On the other side I needed to allow third-parties to extend my library using their own types.

Read the rest of this entry »

Refactoring hierarchy construction

In this article I’d like do talk about refactoring of construction of hierarchy and high cohesion pattern.

Read the rest of this entry »

Factory method pattern – interesting appliance

Today I’m going to talk about factory method pattern and it’s very interesting appliance. Read the rest of this entry »

Repository pattern

In this post I’d like to talk about composition and inheritance on practical example.
Read the rest of this entry »

User management – Service layer

Today let’s talk about User Management use-cases more closely. We need several database mappers, several services and facade pattern.

Read the rest of this entry »

Query Object Part I

Let’s try to apply Query Object pattern to Syslog in order to allow client to retrieve syslog messages from database in natural, flexible way.

Read the rest of this entry »