Archive for April, 2008

Castle Workshop in London

April 23rd, 2008

I was asked to help in spreading the word about it, so here it goes.

Skills matter is going to host a free workshop on agile web development with Castle. I wish I was there, I love London – on summer time!

Gojko Adzic also blogged on what makes a good application framework.

Categories: Castle | Top Of Page | No Comments » |

Incremental development with Monorail

April 23rd, 2008

Just bumped into this. Great work, Ben.

Just personal preference-wise:

- I’d prefer not to use the BaseControllerTest class
- Instead of writing the form tags, I’d use the form helper: $Form.FormTag(“%{action=’save’}”) and $Form.EndFormTag(). Then you take advantage of automatic form field validation if you want.
- For actions that change things, I’d use [AccessibleThrough(Verb.Post)]
- I’d configure Windsor through code
- The mapper/wrapper sounds like iBatis. Why not using Repositories with Castle ActiveRecord?
- Instead of DTO you could use the domain class as a prototype. I think that simplifies the code.

The cool thing is that Ben knows TDD. He creates a dummy implementation, get the test passing, corner it, triangulate it, and then is forced to get rid of the dummy implementation. That’s the essence of “test-driven”.

The series is also a good way to compare MonoRail with MS MVC. The goals are the same, they just provide different ways to get the same result, up to you to use the one you like the most.

Now accepting donations

April 23rd, 2008

Let’s see how much the community likes Castle

Categories: General | Top Of Page | 9 Comments » |

Dual licensing

April 21st, 2008

Very interesting argument, especially the last sentence “By selling commercial licenses, we are able to staff a dedicated development team to ensure continued progress, quality enhancements and first-class technical support for developers using Ext products.”

Seems to go against the usual mindset of users that want everything for free, like using an OSS project was a favor to the creator.

Categories: OS | Top Of Page | 3 Comments » |

In vacation

April 17th, 2008

So my vacation was divided in two pieces this year. First I drove north, about 700km, to the country-side of Minas Gerais. Fantastic lakes and waterfalls. Awesome cuisine especially if you like fish.

Then I work for more two weeks on donjon, and began the second part of the vacation, driving way south – 1200km – to Gramado and Canela. So frigging cold here that you would believe it’s Brazil! Excellent cities, if you like warm clothes and chocolates you will be delighted — awful restaurants, though. On my way there I made a quick stop on Florianopolis — whatta beautiful city! Seriously, I’m considering moving there!

Gonna drive home tomorrow, felling refreshed. There a few dozens patches to be reviewed and applied to castle, and hundreds of unread e-mail waiting for me :-)

Categories: General | Top Of Page | 6 Comments » |

You know you’re doing too much javascript when…

April 11th, 2008

At very end of your page you see

var histManager = new CriteriaHistoryCoordinator(criteria);
viewMng.addObserver(new ViewManagerHistoryManagerObserver(viewMng, histManager));

criteria.addObserver(new HistoryCriteriaObserver());
criteria.addObserver(new CurrentSearchObserver());
criteria.addObserver(new CriteriaViewObserver(viewMng));

donjon first public demo – sort of

April 10th, 2008

Hmm, thinking about it, I guess the post title might be a bit misleading :-)

Today I showed donjon during the lunch to two IT-world friends. Seems that they really really liked it. My biggest concern was that the all usability points wouldn’t be well received, or that the interface wouldn’t communicate the intentions very well.

My test was showing them the app, making them look at a specific piece of the page and asking ‘what do you think this is for’. They were able to immediately tell what it was. And if you’re wondering, no, I wasn’t using some labels or text to identify the functionality.

Wow, I’m happy – and I’m not known for being happy about the things I create. Certainly tells me I’m in right path.

Bashing Castle and its committers

April 10th, 2008

Today I had lunch with two friends/former co-worker, on a project I’ve blogged about earlier. Nice to hear some things I’ve implemented – and which I completely forgot about – are still being used.

Anyways, this project obviously used Castle, from a local build on my machine back in 2005. A huge effort was taken to port it to RC2 – yes, Release Candidate 2 -then it was decided to skip RC3 altogether and go with whatever comes after, which I hope would be 1.0.

I was told that porting was a nightmare. Dealing with compiler errors because some interface changed or some method was renamed is one thing, I dare to say somewhat easy to deal with to some extend. The biggest problem lied elsewhere. Helpers were changed, specifically methods being added, removed and renamed, and those completely broke views.

I argued that these changes are considered important changes, and are registered on the changes.txt that every project under the Castle umbrella has. This document is used to later compile a list of new features, breaking changes and bug fixes.

My friend replied that they looked into that very document, and no mention to these specific changes were there. These at very minimum can be used to drive an smart Find/Replace on the views and get them ported.

To err is human, certainly, build those slips have high costs. This project started being used in Brazil, then South America and now it’s going world wide. It’s ridiculously big. My complain to him is that this went so long unstated. People should complain about these and similar problems.

Do it nicely, though, or I will ask you to contact our customer service to get your money refunded.

And yes, I’m to blame as well as all commiters. We are directly tight to the reputation Castle has, be it bad or good.

.netrocks on Windsor

April 7th, 2008

…has just been recorded. I gotta tell that an hour might not be sufficient to explain properly what IoC, IoC container and Windsor are, how they fit and how to make use of them. When it ended I was sure that there is a lot to be said on these topics. :-(

Categories: Castle | Top Of Page | 4 Comments » |

Oh no!

April 7th, 2008


This not good. Not good at all.

Categories: Castle | Top Of Page | 1 Comment » |