boogdesign posts

Longer posts on standards based web design, portable web development and Linux, intermingled with some stuff on my other nerd interests.

Rob Crowther, London, UK based Blogger, Web Developer, Web Designer and System Administrator - read my Curriculum Vitae

Buy my book!

Book CoverHello! HTML5 and CSS3 available now

Buy my other book!

Book CoverEarly access to HTML5 in Action available now
« WebDD07: Unobtrusive Javascript with Rails (Dave Verwer) :: WebDD07: Quick and dirty Usability tests (Zhivko Dimitrov) »

WebDD07: Ruby On Rails for .NET Developers (Dave Verwer)

07/02/07

04:53:00 pm Permalink WebDD07: Ruby On Rails for .NET Developers (Dave Verwer)

Categories: Web Develop, Server Side Web Development

Review: Ruby On Rails for .NET Developers at WebDD Conference 07 14:30 to 15:30

After a brief spell writing a Ruby on Rails app last summer I always meant to do more stuff with it, but somehow I never got around to it. I was hoping this talk would re-ignite my enthusiasm and give me some good pointers.

Dave started off with some general background for the benefit of the .Net crowd, positioning C#/VB as comparable with Ruby and ASP.Net as Rails equivalent in the Microsoft world. He then moved on to an overview of Ruby:

  • Ruby is Object Oriented - a lot of languages claim to be, but not many are as aggressively object oriented as Ruby, even null is an object
  • Ruby is Readable - there were some good examples: 2.weeks.from_now.utc for the date two weeks from today; punctuation for tests as in x.null?; punctuation for destructive and non-destructive methods as in arr.sort compared to arr.sort!
  • Ruby is Dynamic - and this is taken full advantage of in Rails, there were some more examples using method_missing and the Linguistics add on, which extends built in objects

Next we moved on to Rails, and after some general discussion of convention over configuration the bulk of the presentation was a live demonstration of building a web application. The eye opening part of this for me was that Dave approached this in a completely different way to how I'd previously done it (in my admittedly limited experience). He started by defining his model and then adding fields using Rake migrations. I'd never paid any attention to Rake before but it looks very useful once you know what to do with it, basically you define your database upgrades and downgrades in Ruby so then it's easy to roll databases backwards and forwards.

The talk finished up with some references to how Microsoft is 'borrowing' some of the ideas in Rails, LINQ being quite similar to ActiveRecord and BLINQ performing similar tasks to the Rails scaffolding.

I really enjoyed this talk, what's not really coming across in my dry description of the talk above is what engaging presenter Dave Verwer really is, if you have a chance to go see him present I can highly recommend it. Overall this was my favourite talk of the day, 5 out of 5.

Technorati tags for this review:    

Tweet this!
PermalinkPermalink

Comments:

Comment from: Jane [Visitor] · http://jane.dallaway.com/blog
08/02/07 @ 12:40
This was my favourite talk of the day as well and I agree wholeheartedly with your assessment of Dave's presentation skills - he was very good, and I would definitely watch one of his presentations again.
Comment from: robertc [Member] · http://www.boogdesign.com/
23/10/07 @ 17:20
I've recently discovered the slides for this talk.