Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Deprecated repository: moved to http://github.com/rugui/rugui
Ruby
tag: 1.2.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
rugui_generators
script
spec
.gitignore
Changelog
LICENSE
README
README.rdoc
Rakefile
rugui.gemspec

README.rdoc

RuGUI

RuGUI is a framework which aims to help building desktop applications. RuGUI was mostly inspired by the *Ruby on Rails* framework, taking most of its features from it.

RuGUI approach is to provide a MVC design for the application, separating business logic from application presentation, making it easy to maintain and evolve the application.

Also, a Observer/Observable pattern is implemented so that you can define observable properties in your model which are observed by controllers that should react to changes in the model. This makes the application code even more clean when dealing with applications that have multiple data entry points. For example, when receiving data from a network one may update a value in a model, and the controller will update all needed widgets (progress bars, labels, status bar, etc).

The initial framework was based on the great Ruby/GTK API, but RuGUI has evolved so that you may use other GUI frameworks with it. Since version 1.1.x it has placed all functionality specific for GTK wrapped in a framework adapter. This has made it possible to write a QT adapter and now it is possible to use all of the RuGUI features together with QT. As the framework evolve other framework adapters may be written, enabling the use of RuGUI with any other GUI frameworks.

Instalation

Download the source from:

http://github.com/intelitiva/rugui/tree/master

Next, build and install the gem:

gem build rugui.gemspec
gem install rugui-X.X.X.gem

To check if the installation was successful type in a console:

rugui -v

Dependencies

RuGUI depends, of course, on the Ruby binding for the GUI framework that you'll use. It is known to work on Linux and Windows plataforms. Currently it depends on the ActiveSupport gem, which can be installed by:

gem install activesupport

To be able to generate applications and controllers/models/views, you will need the rubigen gem, which can be installed by:

gem install rubigen

Generating an Application

To generate an application, go to the directory where you want to create the application and type:

rugui <app_name>

For more options type:

rugui -h

More info

rugui.org

Something went wrong with that request. Please try again.