| Comments

If you already pay attention to the IronRuby dev group and are on the distribution list, apologies for the dupe.  I’ve just got back from a camping trip and rifling through all my emails now.  I checked in on the IronRuby group and noticed a new project emerging from someone.

It’s from Ivan Porto Carrero and he calls it IronNails.  It was previously called something else (quite frankly I liked the other name better myself) but there was already a project named after his chosen name.  So alas, IronNails it is!  Ivan describes this as:

IronNails is a framework inspired by the Rails and rucola frameworks. It offers a rails-like way of developing applications with IronRuby and Windows Presentation Foundation (WPF). This framework uses the pattern Model - ViewModel - View - Controller (M-VM-V-C). It should be able to run on both WPF and Silverlight.  The idea is that the views can be created using a design tool like Blend for example and just save that xaml as is. The designer should not need to use anything else than drag and drop to create a GUI design. The behaviors are then added to the view by using predefined behaviors in the framework or by defining your own behavior. Source: IronNails GitHub homepage

The project is really just started so don’t expect a ton of meat there just yet, but it has a great goal and I can’t wait to see it evolve.  Ivan’s using the Rails-like framework of MVC where the XAML can serve as the view for either a WPF or Silverlight application.  The idea being that someone can create a view using a rich interface design surface like Expression Blend and write the code that targets the view which can be fine tuned to either Silverlight or full WPF.

The vision is something like this:

   1: class MyController < IronNails::Controllers::Base
   3:   view_object :some_model, :refresh => :refresh_some_model, :refresh_interval => 2.minutes
   5:   view_action :some_action, :target => :my_button, :action => :some_action_implementation
   7:   def refresh_some_model
   8:     # code here
   9:   end
  11:   def some_action_implementation
  12:     # code here
  13:   end
  15: end

If you are interested in contributing or lurking, get on over to GitHub and watch the project!

| Comments

The MountainWest RubyConf 2008 is upon us just 2 weeks away in Salt Lake City, Utah.  Unfortunately I'm not going to be able to be there given my travel with The Code TripIronRuby, however, was able to be a sponsor of this year's conference as a Gold Sponsor.  This sponsorship is one part that enables video production of the conference for afterwards as well as a few other things.  The organizers have done a great job getting great sponsors to make this happen, and IronRuby is grateful to be a part of that.

One thing that was recently released was the Dynamic Silverlight support in Silverlight 2.  This enables Ruby (via IronRuby) to be the language that you can write Silverlight applications with.  I would have loved to be at MountainWest this year to demonstrate this as I think some Ruby developers doing web programming with Rails would find this interesting.  Essentially writing Ruby on the server and Ruby on the client (not Ruby translated to Javascript, but real Ruby).  That end-to-end language implementation I think might be interesting for some developers.  So in case I'm confusing the issue...IronRuby enables a developer to use Ruby as the scripting language in the browser using Silverlight as that bridge in the browser.  The Dynamic Silverlight site has the bits and John Lam's blog has a 3 part quick tutorial of implementation that you can check out.

I've been clamoring to get some Ruby in my Silverlight for a while and hope to post some samples of that scenario of using IronRuby in Silveright and Ruby on Rails on the server...anyone got a scenario that is common that you may want to see?

| Comments

John Lam just announced that the Dynamic Silverlight bits are now available.  What that does is enable you to write code targeting Silverlight in Ruby (IronRuby) or Python (IronPython).

The Dynamic Silverlight bits are implemented as Silverlight extensions which means that they will be downloaded on an as-needed basis.  The additional download is currently about 712KB download in size.  If you are interested in looking at running Ruby in the client on the desktop in addition to if you are running Ruby on the server, this might be of interest to you.  Check it out and some of John's tutorials as well as an update on IronRuby from his MIX08 session.

| Comments

the guys at sapphire, whom i'd previously written about their ruby in steel developer tools, just posted a preview of 'visual rails workbench,' which is a visual designer for ruby on rails.  here's one of their preview shots:

this design mode with ERb is just one of the elements of the workbench it looks like.  get the full details (as well as some comments on IronRuby support in their other tools that they've been working on) by reading the update on the sapphire site.

| Comments

the guys over at sapphiresteel software released ruby in steel text edition, a full-featured ruby on rails IDE built on the visual studio 2008 shell.

as a microsoft developer interested in looking at ruby on rails early on, i loved when the sapphire project was first released.  i had played with earlier version and after re-paving my machine need to take a look at the updated versions.

if you don't own a copy of visual studio 2008, when you get the ruby in steel text edition, you get visual studio 2008 (ruby language support only) -- so this isn't an add-on only, it is a full deal.  if you already have vs2008, this will install into your current environment.  it has all the goodness you'd expect of an IDE: color coding, snippets, code folding, integrated debugger, and interactive consoles.

the sapphire guys also have the developer edition which is a little more full featured, and includes a faster debugger and few other features like dynamic update intellisense.  DHH was quoted as saying:

"Ruby In Steel is particularly interesting to developers coming over from the Microsoft world as Visual Studio is a familiar environment to them. That'll likely ease the transition." source: InfoWorld

i think this is great for people interested in learning new environments as well as new languages.  already being familiar with a tool like visual studio may help you understand about ruby without having to learn any new tool.

and no, it doesn't run on a mac.