Geeks With Blogs
.net alternatives by Michel Grootjans
We're nearing the end of our second iteration on a new project. I started out by setting myself a few goals to explore. I'd like to write them down here, so I can come back in a few months to see what remains of them. You're welcome to comment on these goals.

- readable, intent revealing software
- DRY, YAGNI, BOYSCOUT et all...

- IAggregate root has interface
- No ID (I'm not sure if I can pull this one off with NHibernate)
- No (public) setters except for things like name, description, ...
- State based tests
- Testdata: take a look at NBuilder

- almost no logic
- infrastructure: queries, mapping, ...
- hosted in
- Behaviour based tests

- no logic
- only view concerns
- choice of view to render
- navigation (redirect)
- forward call to service
- Behavior based tests
- hosted in

- only handles aggregate roots
- only the following methods: add/remove/query

- Separate query objects that get passed in the 'query' method of repository
- Preference in this order: LinqToNH, Criteria, HQL
- Integration tested

- RhinoSecurity?

- Service hosting in Spring

- Heavy emphasis on readability
- Intent (test) Driven Development
- Fitnesse first (red), then unit test(R=>G=>R), integration test (R=>G=>R), Fitnesse green

Posted on Wednesday, January 27, 2010 11:58 PM | Back to top

Comments on this post: Starting up a new project

# re: Starting up a new project
Requesting Gravatar...
Great goals and good luck.. I had been trying to adopt atleast some of these but always have struggled with how to start. May be your blog will throw some light..
Left by Magesh on Jan 28, 2010 1:14 PM

Your comment:
 (will show your gravatar)

Copyright © Michel Grootjans | Powered by: