Ayende @ Rahien

Unnatural acts on source code

How to read a single customer entity from the database

And that is without taking into consideration all the infrastructure...

image

Comments

bobfox
07/02/2007 04:13 PM by
bobfox

about your nomenclature: which classes do you call XxxxImpl ?

Ayende Rahien
07/02/2007 04:32 PM by
Ayende Rahien

@bobfox,

Usually, very few.

But I wanted to make a clearer separation of the service and implementation

peter
07/02/2007 06:45 PM by
peter

Isn't this awfully... Heavy?

Ayende Rahien
07/02/2007 07:29 PM by
Ayende Rahien

Peter,

That is for a talk that I am going to give tomorrow. It is showing an aspect of how to build a real application.

Brendan
07/02/2007 08:47 PM by
Brendan

Ayende would you put the talk presentation online. I have recently been thinking about best to develop applicatings using Castle and Monorail. Most examples use the model as a data access layer but the problems I have with this is that if you want to introduce services things get tricky. This example would really help.

I know the way around this is to introduce the repository pattern but I haven't investigated this thoroughly.

Ayende Rahien
07/02/2007 08:51 PM by
Ayende Rahien

I would like to, but it is going to be in Hebrew, and I don't know if I will be able to have a mic to the computer there.

Brendan
07/02/2007 08:53 PM by
Brendan

That scuppers that plan. Maybe you could put the example up for download when you are done with it? IT would be nice to see how you go about unit testing it etc.

Patrik Löwendahl
07/02/2007 09:15 PM by
Patrik Löwendahl

Kind of pattern happy there are we ayende ;)

Ayende Rahien
07/02/2007 09:23 PM by
Ayende Rahien

And I didn't even started posting about my new ProxyDecoratingMomentoStrategyImpl !

Yeah, it is something for a presentation, so show it important.

Mats Helander
07/02/2007 10:18 PM by
Mats Helander

Funny, I was just writing a Visitor for one of those!

/Mats

Peter
07/03/2007 03:27 PM by
Peter

As for offering services based on a model: What about creating a Service Layer that both the external service and the application use?

Comments have been closed on this topic.