# Magic - a new project for ironruby-contrib

**URL:** <https://www.ruby-forum.com/t/magic-a-new-project-for-ironruby-contrib/161814>\
**Category:** IronRuby\
**Created:** [March 2, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/magic-a-new-project-for-ironruby-contrib/161814 "2009-03-02T18:10:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [March 2, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/magic-a-new-project-for-ironruby-contrib/161814/1 "2009-03-02T18:10:01Z")

</div>

Hi,

I extracted a gem called Magic from my IronRuby UI experiments.

It’s on GitHub here: [GitHub - thbar/magic: IronRuby sugar for WPF, Silverlight and Windows Forms.](http://github.com/thbar/magic/tree/master) with a  
decent README (also see the main spec here:  
[http://github.com/thbar/magic/blob/bdced06811d71ec7f1946a32a5a60d60afb99774/spec/magic\_spec.rb](http://github.com/thbar/magic/blob/bdced06811d71ec7f1946a32a5a60d60afb99774/spec/magic_spec.rb)).

Roughly, it makes it quite easy to build Windows Forms (including  
controls and menu\_items), with sugar for CLR enums, class names,  
properties and handlers.

It’s also compatible with non-menu-items/controls stuff, like the  
BackgroundWorker (I’ll upload more samples later on).

My rough guess is that it will be useful to much more than Windows  
Forms UI building (including WPF, Silverlight, or any nested object  
construction).

I hope you’ll like it!

Before I release this as a gem (through GitHub), I’d like to ask - do  
you like the name (Magic) ? I thought about switching to MagicCandy to  
make it easier to google.

any feedback will be most appreciated,

cheers,

– Thibaut
