Jun 13 2008

Slides, links and source from the Ajax Monorail talk

Published by gojko at 9:57 am under presentations

I really enjoyed talking about Developing Ajax web applications with Castle Monorail yesterday at Skills Matter. It was great to see so many familiar faces — thanks for coming again and I hope that you enjoyed it as well. Here are the downloads and links that Dave and I promised to put online:

Downloads

Links with more details on the stuff from our talk

Some general links


Add to Del.Icio.Us bookmarks

4 Responses to “Slides, links and source from the Ajax Monorail talk”

  1. Danyalon 14 Jun 2008 at 8:07 pm

    Hi Gojko

    Thanks for the talk - I found it really useful.

    Maybe you remember me as somebody who asked a question about validation when developing Ajax applications. I wasn’t actually asking about client-side validation. For me, client-side validation is just a bit of sugar. The server-side is more important. What I am concerned about is how to keep the validation models DRY on the server side while developing applications in MonoRail that involve both normal form submissions (for example, to submit a form to create a new expense) and AJAX form submissions (for example, to edit the date of that expense, later). If databinding is used with each, you need two separate transport models for these two submissions, because you don’t want the validators of the whole form to be executed when you are just editing one field. So there is some repetition and the validation is no longer DRY. And every new AJAX action needs another transport model decorated with validation attributes.

    I think RoR tries to solve this by specifying which controllers/actions a validator runs on, so you can reuse the original transport model but ‘turn off’ validators as necessary. Do you know if MonoRail tries to solve it?

    It’s not a terrible thing if it can’t be solved - it just means I’ll have to use my copy and paste magic a bit more.

    Anyway thanks again and I hope to see you at another talk!

    Thanks
    Danyal

  2. gojkoon 17 Jun 2008 at 7:07 am

    Hi Danyal,

    I’m not sure that I understand what you are getting at. Format validation is fairly cheap, so there is little harm in validating the whole object every time (and that will also make sure that any inter-field dependencies are validated as well). Having said that, if you use castle component validations, and you know which field you want to validate, then you can get the validation attribute on that actual property and execute the validation yourself.

    See the source code for ValidationRunner.cs — that should help you with validating individual properties.

  3. Rodneyon 03 Aug 2008 at 2:38 pm

    I enjoyed the slides. Can you tell me where the video is as the one at http://skillsmatter.com/podcast/open-source-dot-net/developing-ajax-web-applications-with-castle-monorail never plays?

    Thanks.

  4. gojkoon 03 Aug 2008 at 3:07 pm

    Hi Rodney,

    you can see the video also here: http://video.google.com/videoplay?docid=-383418991140556188

Trackback URI | Comments RSS

Leave a Reply