Relative Content

Tag Archive for patterns-and-practices

TDD with repository pattern

In my new project, I decided to try with TDD. And in very beginning I encountered a problem. First thing that I want to do in my application is to give ability to read data from data source. For this purpose, I want to use repository pattern.
And now:

Combining Patterns: Fluent Builder and Null Object Pattern

I am currently wrestling around with some GUI code where I have a table whose rows correspond to some object, let’s say a Person object. When the table initializes, it fills the table with the Person objects that it knows about – say Bob, Andy, and Tom. The rest of the rows item’s (row.getItem()) are null. In this particular GUI framework, one cannot highlight/select rows who’s getItem() returns null – but in my particular use case I want to allow this functionality.

Combining Patterns: Fluent Builder and Null Object Pattern

I am currently wrestling around with some GUI code where I have a table whose rows correspond to some object, let’s say a Person object. When the table initializes, it fills the table with the Person objects that it knows about – say Bob, Andy, and Tom. The rest of the rows item’s (row.getItem()) are null. In this particular GUI framework, one cannot highlight/select rows who’s getItem() returns null – but in my particular use case I want to allow this functionality.

Combining Patterns: Fluent Builder and Null Object Pattern

I am currently wrestling around with some GUI code where I have a table whose rows correspond to some object, let’s say a Person object. When the table initializes, it fills the table with the Person objects that it knows about – say Bob, Andy, and Tom. The rest of the rows item’s (row.getItem()) are null. In this particular GUI framework, one cannot highlight/select rows who’s getItem() returns null – but in my particular use case I want to allow this functionality.

Combining Patterns: Fluent Builder and Null Object Pattern

I am currently wrestling around with some GUI code where I have a table whose rows correspond to some object, let’s say a Person object. When the table initializes, it fills the table with the Person objects that it knows about – say Bob, Andy, and Tom. The rest of the rows item’s (row.getItem()) are null. In this particular GUI framework, one cannot highlight/select rows who’s getItem() returns null – but in my particular use case I want to allow this functionality.