Upgrading site
I am going to upgrade my site from Cuyahoga 1.0 to 1.5, the blog should not be affected, but the main site may be down.
Update: I have successfully migrated the site to Cuyahoga 1.5. The process was very painless, and I can see visibile improvement in the performance of the site.
I also fixed the problem with downloads from IE not working correctly. :-)
Comments
We are evaluating Cuyahoga as well. Can you please give us some feedback about the quality and direction of the project? From what we can gather, the project move toward more "castle" but it's still using WebForms. Do they have any plans of porting it to monorail?
Good to see the migration went well. About the performance: did you run 1.0 under .NET 1.1 or 2.0? In .NET 2.0 caching of regexes has changed which makes Cuyahoga 1.0 sites on the 2.0 framework a little bit slowish.
@John:
We're definitely going to use more Castle stuff, (MonoRail or Igloo, still undecided).
@Martijn,
The old site run on 2.0, so it may have to do with that.
It is good to know about more Castle stuff.
I would suggest using MonoRail, Igloo is nice, and I am using it in my current project, but MR is much better.
Martijn,
Do you know what is the timeframe for this to happen either going to Igloo or Monorail? We have evaluated both and we like them both. Anything is better than WebForms. The selling point is testability.
Igloo in my opinion has one main advantage: it can use without any difficult the ms ajax framework, yes I know ajax shouldn't be an important evaluation target, but in the case it's necessary i prefer to use something that I can use simpler than Prototype o Scriptacoulos.
And the main MonoRail disadvantge I think is the lack of intellisense with nvelocity or brail, it seems to write with notepad.
Roberto
@Roberto,
You can use MsAjax with MonoRail.
You can even use WebForms with MonoRail, if you feel like it.
There isn't a need to anything beyond a HTML editor for MonoRail templates, IMO, since they are basically HTML.
Maybe snippets can help you there?
msajax with monorail? Honestly I dind't give a try, but if it's not a great challenge I colud try it
webforms with monorail: if i choose to use monorail, I wouldn't do it to use webforms ;-)
html editor: the problem isn't the html, i never use anything else also with classic asp.net, the problem is in the code sections, i really don't like to write code as if I were in notepad.
what do you mean with snippets?
Roberto
I use monorail quite extensively. The velocity templates are by far better than coding with asp.net forms. I believe it is because of the clean separation of concerns.
The vm templates are pretty much html with a couple of basic directives that manages the output. So I edit the vm templates in visual studio and set the default editor to HTML editor. Works like a charm.
@Roberto,
You rarely put significant code in the view.
The most I can think of is iterations, things like:
<?brail
for item in items:
output "
${item}
"end
?>
What I meant by snippets is just that, a snipper like the above, although I don't see it that helpful
Ok, maybe when I used MonoRail I wrote to much code in the view checking around bools or other vars from flash collection. instead i tend not to emit html from controller, and maybe this is the real mistake if the BL is quite tricky (I mean if and then).
Roberto
If you want complex presentation logic in mono rail, the place to do it is in a view component, IMO.
thanks Ayende, my last question... :-)
did you find some trouble with ms ajax in monorail, I don't have any idea now if it could be tricky to use it in MonoRail.
Roberto
You can use MsAjax client lib from PHP, so that isn't an issue.
Personally, I don't see that it bring me much that I can't have already (prototype / scriptacolous) and it loses a lot of its advantages when you don't work with web forms, since a lot of what it does is overcoming web forms limitations.
I didn't the existence of Cuyahoga, it sounds interesting. Today I'm using Community Server in web-site, but I'm willing to change it. By the way, do you have any integration between Cuyahoga and SubText?
Simple a seperate ASP.Net application, no integration at all
Comment preview