C
There are 5 entries for the tag
C
Previously in this series: WhoDaBest - Post 1, WhoDaBest - Post 2, WhoDaBest - Post 3, WhoDaBest - Post 4 I think I've been spending more time running and working out than doing dev lately. I made an attempt to get refocused for a bit today and accomplished a few things. First of all, I just don't like the term "Foundation", so I renamed my WhoDaBest.Foundation project to WhoDaBest.Commons. I was also trying to think of the best way to set up my IOC container today, for which I have chosen Castle Windsor. It...
Previously in this series:
WhoDaBest - Post 1, WhoDaBest - Post 2, WhoDaBest - Post 3
OK, so I've already realized there is a problem with my base repository class. I was getting ready to create my first domain entity, which will be a "Role" class, and it's associated concrete repository and I realized that with the way it is set up, if I just extend the base repository, there is no way of doing any kind of unit tests without putting together some kind of test database and this just won't do. I don't want the overhead, especially since I don't...
Previously in this series:
WhoDaBest - Post 1
WhoDaBest - Post 2
So I've made a couple of decisions. The first is that I'm going with tools from CastleProject.org for my object-relational mapping (ORM) and for my inversion of control (IOC). I'll talk about IOC later, but first I want to focus on ORM. Castle's ActiveRecord is open source and sits on top of NHibernate. I've used NHib by itself, and it's a great tool, but there are a number of nice little features that Castle ActiveRecord gives you that I like a lot, such as transaction management, mapping attributes (so no hibernate mapping xml files),...
Previously in this series:
WhoDaBest - Post 1
So I've done some initial infrastructure for WhoDaBest.com. What is "WhoDaBest"? You'll just have to wait and see as it develops.
Subversion Setup
The first step was to set up version control for which I'm using Subversion. I've got an old desktop in the other room which has become my Subversion server. Amazing how easy it was to set this up. I've been a user of Visual SVN for a little while now, and I noticed a while back that they had put together a Visual SVN server. This installer pretty much makes it idiot proof...
So I'm going to be creating a new .Net project from the ground up. Typically I inherit projects from others so I don't get to build things the way I'd like from the ground up. What I want to try to incorporate are the following technologies:
NHibernate / Castle ActiveRecord - Probably NHibernate via active record. I will use the Active Record Mediator instead of inheriting
Castle Windsor - For dependency injection.
TDD - Try to actually write tests with the code, optimally before the code. Probably NUnit here....