The Hobo Gem Stack and UI Plugins
Hobo 2.0 includes several different Gems. This manual chapter provides a summary of the capabilities and requirements of each of these.
- Base Gems
- UI Plugin
- Optional Plugins
A Hobo 2.0 application will always include the
hobo_jquery gems. It will also include one theme;
hobo_clean are the two most popular themes. It will also include one or both of
hobo_bootstrap_ui. All other
hobo_* gems are optional and are not included by the generator.
Hobo depends on the following three gems:
DRYML is a template language that allows you to create highly reusable HTML components.
The Hobo gem proper provides most of the rest of Hobo, including all of the models, controllers and generators, along with some of the view helpers and plumbing. Parts of Hobo should be pulled out into their own gem, but this has not yet occured.
Hobo Rapid is the standard tag library for Hobo, and as such is a required component.
Each subsite in your application may use a different theme.
It’s not difficult to create your own theme.
You must include either
hobo_bootstrap_ui or both.
hobo_jquery_ui depends on
hobo_bootstrap_ui depends on
hobo_bootstrap_ui cannot be used with alternate themes, such as
If you are using
hobo_jquery_ui you may also remove
jQuery-UI from your system, but you will lose effects and spinner positioning.
As of Hobo 2.0.0.pre8, a default invocation of the Hobo generator includes all three items, with
hobo_bootstrap_ui loaded after
hobo_jquery_ui so that
hobo_bootstrap_ui is preferred when there is overlap.
If a theme other than
hobo_bootstrap is chosen,
hobo_bootstrap_ui is not included in the application but
jQuery-UI is always included by the Hobo generator.
If you are using both plugins, the plugin loaded last will provide these three tags. These tags are just aliases, though: the underlying implementations will still be available.
hobo_rapid provides <datepicker-rails> which requires neither jQuery nor Bootstrap.
hobo_jquery_ui provides <sortable-collection> and <sortable-input-many>, which do not have equivalents in
hobo_bootstrap_ui. These tags are used by Hobo if you add the
acts_as_list plugin to a hobo model.
Both plugins provide other tags that you can use in your application, but which aren’t ever used automatically by Hobo.
hobo_bootstrap_ui contains fewer tags, although that is likely to grow in the future.
Consult the documentation for a full listing.
If you do not use
hobo_jquery_ui in your application, then jQuery-UI itself becomes optional. If you remove jQuery-UI you also lose the ability to use effects with part AJAX as well as the ability to position the AJAX spinner
hobo_jquery_ui from your application, remove references to it in
app/views/taglibs/*_site.dryml, and then run
hobo_jquery_ui is removed, you may remove jQuery-UI from your system by removing references to it in
All other plugins listed on the plugin page are optional, providing additional capabilities to your application.
Edit this page