Remember Rails?
Yeah, of course. It's this famous Web framework with a bunch of cooked-in facilities.
Please welcome its alter-ego for desktop applications: Reactive
So what does reactive provide? It's a development framework for the Ruby language. It targets the desktop environment, so stop now if you are a HTML aficionados. It's built on the same architecture than rails: MVC. Thus, rails developers will feel at home.
Because choosing a GUI toolkit is a matter of taste, religion and also customer needs, reactive does not enforce the developer to use a dedicated toolkit. Enter the view provider system. The view is simply a layer that is not part of reactive but one of its plugins.
Hey, this sounds good, but I want to see some code!. Yeah, the code is hosted on RubyForge. You may already read the code, but wait for an upcoming post showing how to create a simple application.
when will this post comming? (to show how to create a simple application)
Here it is, consult the How-to’s section.
sounds good, are you plannig to support xrc?
Yes, it’s planned.
It already works with an existing xrc file. You may load your xrc file in the initial application view (views/application.rb) and then load your frame, dialog, anything in an action view and display it. (as you would do with any wx application).
What is upcoming is a way to generate XRC code in the views a bit like in Rails when generating HTML code. Thus Erb or Builder will be available (or any other handler).
Cheers,
Pascal