Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# martijnb 3/16/2006 4:40 PM
Guys,

I just comitted the first revision of the new Cuyahoga core to SVN. Everything goes via the Castle IoC container now.
To ensure backward compatibility, I created an adapter for the former CoreRepository that uses the new services. As far as I can see, everything, including the modules still work.

The next step is refactoring the pages and replacing all CoreRepository calls with calls to the appropriate services. The services will become available via dependency injection into the .aspx code-behind pages.

Please give it a try and especially take a look at the code to see if it's clear what happens behind the scenes.

I haven't tested anything on Mono yet and I'd be glad if someone would try and see if it still runs on Mono. There is a lot of magic going on now behind the scenes and I wouldn't be surprised if anything is broken on Mono.
# mgaerber 3/16/2006 11:26 PM
Rock'n Roll !
# vovachaka 4/11/2006 4:59 PM (edited 4/12/2006 10:39 AM)
mgaerberRock'n Roll !
Rock'n Castle!

I have tryed it on Mono and there are some issues directly and indirectly related to Castle integration:

Cuyahoga-Jira-CUY-78
Cuyahoga-Jira-CUY-79
and Cuyahoga-Jira-CUY - 80

I am working on porting my patch from 1.0 to svn head revision.

A thought about understandness what is happening bihind tte scenes...
Castle IoC container realy brought in an aspect of decoupling. Cuyahoga core became more loosly coupled.
And that is why now it is quite hard to understand what is happening behind the scenes.
Newcomers will need more time...
# martijnb 4/12/2006 9:58 AM
vovachakaCastle IoC container realy brought in an aspect of decoupling. Cuyahoga core became more loosly coupled.
And that is why now it is quite hard to understand what is happening behind the scenes.
Newcomers will need more time...

Sure, but that's only for core developers. For the occasional module developer, things become easier.
But I see your point. When integrating the Castle stuff I was wondering from time to time if it wouldn't be overkill and raise the barrier too high.
# vovachaka 4/12/2006 10:43 AM
martijnb... if it wouldn't be overkill and raise the barrier too high.
I believe we all will manage it and gain from it!
# chrisortman 4/25/2006 2:25 PM
I've been looking through these changes and seeing as how it's my first time diving into Windsor, MicroKernel and the Transactional stuff....wow....lot's to digest, but man some of this stuff is just great!

There is one thing however that somewhat bothers me, which is the declarative transaction model. For some reason this has always rubbed me a little funny. It also seems that right now the only way to have my stuff participate in the transaction is to put that logic into my module which is not a good fit for what I'm trying to build.

I really like the way ActiveRecord works with the explicit model ie
using(TransactionScope ts = new TransactionScope()) {
  
}

I've been looking at some ways to try to make the 2 behaviors work together but wonder if any of you have some thoughts on this

thanks
# martijnb 4/26/2006 9:58 AM
The transaction stuff with attributes was something I was really curious of and therefore I gave it a try. I'm fine with replacing it with a more explicit approach when necessary.