[Ironruby-core] How can IronRuby replace XML?
Thibaut Barrère
thibaut.barrere at gmail.com
Tue Dec 15 05:00:05 EST 2009
> because XML is often used to simulate dynamic coding a great example of this
> is XAML right?
> XAML is excecutable code expressed as XML every self-respecting enterprise
> architect thinks XML is the second coming and will put loads of it in there.
> So instead of describing stuff in XML and giving your whole team carpal
> tunnel you can do the same thing by using Ruby to configure your application
> The argument is often yeah we did it in XML because then we didn't have to
> compile again to make a quick change.
Spot on :)
Shay, here's a quick example of using Ruby instead of XAML:
http://github.com/thbar/ironruby-labs/blob/master/silverlight/003_using_magic_instead_of_xaml/ruby/app.rb
-- Thibaut
More information about the Ironruby-core
mailing list