IronNails: Some progress
I thought it might be a good idea to update you guys on how IronNails is progressing. I think I've got it so that you aren't exposed to writing many of the boring boilerplate code that comes with taking this approach (M - V - VM- C). Also to execute an action on a controller asynchronously you can by just adding :mode => :asynchronous to your view_action declaration. A lot is still left to do but this proves that it is possible to use IronRuby today to do some pretty cool stuff. From t...
IronNails : Rails like development for IronRuby with WPF/Silverlight
For my book IronRuby I'm working on chapter 4. That chapter is about doing WPF development with IronRuby. I started out with a straight port of Witty to IronRuby. As I was doing that the cogs started turning and I came up with a way to bring the rails style of development to WPF. I decided to investigate that route a little bit further and now I have a small framework that enables you to write WPF applications with the MVC paradigm. I decided to open that code up as open source and h...
Updated my lightspeed model generator
This week I could start a project that has a database that goes somewhat beyond a blog. This seemed to me like the best way to improve my model generator that I built earlier And as expected I needed to tweak it a little so that it would work properly, and I added a feature. Seen as there are 2 files generated for an entity if you add a private field that exists in the database there then the generator will skip it so that you can add more attributes than the ones this script generates for you...
Using Ruby to Generate LightSpeed Models – Part 4

by
admin
Posted February 9th, 2008 at 5:27 am
UPDATE: I have an update here with a new version and the location on google code where the project is hosted now. In the previous 3 parts (part 1, part 2, part 3) we talked about getting the meta data out of the database and generating the lightspeed entities in memory. I won't put the code listings up in this blog post but instead will give you a link to the complete code :) You can download the express edition of LightSpeed and try it for yourself if you want. Instead I'll talk abou...
Using Ruby to Generate LightSpeed Models – Part 3

by
admin
Posted February 5th, 2008 at 8:51 pm
First off I'm writing with windows live writer again, ecto wasn't up to the job. It tried to "clean" my html, granted it was messy but it should leave my text untouched. The whole editing experience wasn't satisfying enough. And Ecto already seemed like the best blog editor for mac, slim pickings indeed. From my tools I expect foremost that they stay out of my way and it didn't. I just talked with Simone about looking at making a .NET based client that runs on mono, we'll see where that plan goe...
Using Ruby to Generate LightSpeed models – Part 2

by
admin
Posted February 5th, 2008 at 9:16 am
This is the second post in the series on generating LightSpeed entities with the help from ruby.
In the previous post we connected successfully to the database and were able to execute some sql.
At the end of the series I'll make the code downloadable.
Today I'd like to talk about the metadata we'll be needing from the database. We're going to need a list of tables, we're going to need to know about the columns of each table. Furthermore we want to exclude the primary keys in the case of Ligh...
Using Ruby to Generate LightSpeed Models – Part 1

by
admin
Posted February 4th, 2008 at 11:00 am
This is the first in a multi-part post on a little ruby application I wrote to generate models for LightSpeed.
The ultimate goal is to consume the entities we generate in this series with IronRuby and perform some data access.
Today I'll post the code I wrote for creating the database connection. At this moment there is only code there to connect tho sql server. But I may want to add providers later if I decide to keep using this code. That's why some bits are in a separate module.
This are...
Re: The difference between meta programming and IL weaving

by
admin
Posted November 27th, 2007 at 7:34 am
Ayende replied to my post from this morning. His point is that the in order to be able to do meta programming Reflection.Emit isn't enough because it happens after the compilation has taken place. And in order to do meta programming you need to be able to do that during the compilation step. This is my reply, hence the title :) Meta-programming can be achieved by having the language implementation change classes or generate classes at some point. In dynamic languages that is generally at run ti...
Ruby-In-Steel is giving intellisense for ironruby in VS

by
admin
Posted November 19th, 2007 at 10:56 pm
The guys over at Sapphire Steel have been doing great work with the current implementation of IronRuby Today they put a blog post online showing you how far they got for implementing intellisense. I'm pretty happy with the progress ironruby is making there are a whole bunch of people contributing. The guys from the Mono team have been following the development as well to make sure you can run ironruby on MS .NET or on Mono which makes it a really good alternative to the C-ruby implementati...
A little browser with ironruby and wpf

by
admin
Posted October 29th, 2007 at 7:46 pm
Whilst preparing for my talk on saturday I got to play a little with Iron ruby and wpf. One of my experiments was to create a little browser which i dubbed biffy :) You can download it here: biffy.zip del.icio.us tags: wpf, ironruby, dynamic languages...