Monkeybars Framework

Monkeybars Framework
Monkeybars
Monkeybars.png
Developer(s) James Britt, David Koontz, Logan Barnett
Development status Active
Written in JRuby
Operating system Cross-platform
License MIT License
Website http://monkeybars.rubyforge.org/

Monkeybars is a library that provides a structured way of building Swing applications using JRuby. Although Monkeybars uses the ideas of models, views, and controllers, its usage of the terms is not the same as in traditional MVC systems. Monkeybars uses the idea of the three discrete components to emphasize a separation of concerns that is often sorely lacking in GUI applications but attributes different roles and responsibilities to each component.

The core of Monkeybars' functionality comes from two classes, the Controller and the View. These serve as base classes for the various controllers and views in your own application. Very few assumptions are made about your model and as such there is no base class to inherit from. Monkeybars encourages the controller, model, and view to each remain very decoupled from each other by acting as a bridge between the components. This acts as a very simple form of dependency injection since the model and view a particular controller interacts with are not explicitly created by the controller but are simply declared there. Substituting a model or view with a mock object is trivial.

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Model–view–controller — A general representation of the MVC design pattern. Model view controller concept. The solid line represents a direct as …   Wikipedia

  • JRuby — Infobox Software name = JRuby caption = developer = Charles Nutter, Thomas Enebo, Ola Bini and Nick Sieger latest release version = 1.1.4 latest release date = release date|2008|08|28 latest preview version = latest preview date = operating… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”