My day job dictates most of my work be in .NET using C#, for the most part it works well. The usual drawbacks you hear are the costs of implementing a Microsoft solution using Windows 2003 and SQL Server. The platforms are complex but they do work.
In my spare time I have had an interest in learning a new language, which is Ruby. Ruby is a language written by a Japenese developer and has gotten very popular as of late. If you haven’t gotten the chance to look at Ruby it was developed with other languages in mind and trying to better them, SmallTalk and Perl are a couple of those languages. It is well worth a look.
Well it seems a developer named John Lam has created a Ruby to CLR bridge, known as RubyCLR, so developers can create Ruby code under the .NET CLR. It sounds like a match made in heaven and it has been getting more attention as of late.
I downloaded the latest RubyCLR drop from John’s web site and proceeded to install it. Install is a strong word since you simple unzip the contents of the file into a directory. All of the CLR bridge source code is included as well as a bunch of ruby code to handle the Ruby side of things and a bunch of Ruby files that exercises the bridge to the CLR.
The code below is an example from the drop. It brings up a window running in Windows and databinds a drop down list. It’s just works.
form = Form.new
form.Text = 'Ruby WinForms App'
names = 
names << 'John' << 'Paul' << 'George' << 'Ringo'
list = ListBox.new
list.data_source = names.make_bindable
@form = form
I have installed and tested all of the samples that came with RubyCLR, all but one work and it may be a permission issue on my system I need to work out. John points out his samples were tested in Ruby 1.8.2, but I am running 1.8.4 so it may have something to do with the differing version numbers too.
I plan to write my own .NET apps over the coming weeks using this tool. I report my progress and share the code I create.
Update : 7/30/2007 – the RubyCLR project has moved to RubyForge. The project can be found at http://rubyforge.org/projects/rubyclr/.
Technorati Tags : Ruby, Ruby on Rails, RubyCLR
I have fascination with computer languages as some people do with foreign languages. In searching around for Ruby implementations on .NET I found this list of the available languages ported or developed for .NET. It's really quite impressive to see so many available, some I had heard of but others not.
I don't know how exhaustive this list is but it's very interesting.
Technorati Tags : .NET
Ruby on Rails 1.1 has been released. This is a much anticipated release that touts many new features and a ton of bug fixes, 500+ I hear. Some of the major updates include:
- ActiveRecord – many new features including join models
- Third testing layer – integration, which allows for simulation of multiple concurrent users
Scott Raymond has a complete and thorough list here of 1.1 new features.
I ran and update this morning to my Rails installation using gem update rails and tested the small apps I have running and all worked great. I am sure for more complex applications that you want a real deployment plan.
Technorati Tags : Ruby, Ruby on Rails
The latest and greatest CTP of Atlas is available now. You can check it out here and download it. This CTP also includes the “Go Live” license so you can use this version in your applications and produce production code.
This announcement came from MIX’06 and you can find more information here as well.
Technorati Tags : ASP.NET, AJAX, Atlas, Microsoft
I have been doing a lot of research with regards to AJAX technologies lately. I figured I would share some of the more useful ones I have found:
A very nice and thorough comparison of AJAX frameworks was done by Daniel Zeiss. It gives some nice details as far as browser support, developer support and page rendering size too. It’s well worth the read if you considering implementing AJAX in your applications.
Another nice piece from the Code Project covering the use of the open source AJAX project called Anthem.Net is worth a read.
Technorati Tags : AJAX, Atlas
Thom Robbins is our local Microsoft guy here in New England and he organize the Code Camps for us. He just announced Code Camp 5 : Code Frenzy is open for business or registration and call for speakers, that is.
I attended Code Camp 4 and had a great time learning some new things, networking and relaxing on a weekend. The cost is free, the only catch is you have to use up a weekend but this is a great way to spend it.
The sessions are intense and the days are long but you will walk out with some knowledge and maybe a new friend or two.
Technorati Tags : ASP.NET, Visual Studio 2005, Microsoft, Code Camp
I just found this interesting so I thought I would share. Did anyone notice this little knock at Microsoft? Check out IE7.com, I wonder how long it will take for a lawsuit.