Tag Archives: MonoRail

On Pretty Horrible Programming

First, I get the irony of posting this on a blog engine written in PHP… In the past month or two, I’ve had to dig into the sources for a few different PHP projects. It’s not been fun… Though I’m … Continue reading

Tagged , | 3 Comments

On Constructors and Helpers in MonoRail

Helpers in MonoRail provide a very convenient way to extend your presentation logic. However, it’s important to note that MonoRail will initialize helper instances for a controller before the session state has been created for the request. The implication of … Continue reading

Tagged , | Leave a comment

On Cookies and Data Binding with SmartDispatcherController

MonoRail’s SmartDispatcherController will automatically bind controller method parameters to request parameters. So the arg0 and arg1 parameters in the method below – public void DoSomething(string arg0, int arg1) { … } will have the values castle and 5 respectively when … Continue reading

Tagged , | Leave a comment