Hobo Manual

Welcome to Hobo, we’re sure you’ll enjoy the ride.

Introduction

First you need to Download and Install Hobo.

Next you will probably want to check out one of our fine tutorials.

More information about Hobo is provided on our About page.

Community tells you where to go to get help.

Ruby

Hobo Support is akin to Active Support in that it provides a grab bag of utility classes and extensions that should be useful to all Ruby projects, not just Ruby on Rails projects.

Active Record

Hobo Fields is an extension to Active Record that allows you to add rich types to Active Record and automatically create migrations.

Hobo Scopes are an extension to the named scope and dynamic finder functionality in Active Record.

The Hobo Permission system is an extension to Active Record that allows you define which actions on your model are permitted by which users.

Accessible Associations is an Active Record extension that allows nested models in forms.

Users and Authentication documents the Hobo user model: how to use it, what it provides and how to use Hobo without it.

Miscellaneous Model Extensions document the rest of Hobo’s extensions to Active Record.

Action Controller and Routing

Controllers and Routing documents Hobo’s extensions to Action Controller

Miscellaneous Controller Extensions document the rest of Hobo’s extensions to Action Controller.

Action View

DRYML is a template language that allows you to create highly reusable HTML components.

Rapid is a large library of HTML tags built with DRYML.

Ajax describes how Rapid and Hobo combine to support Ajax in a fashion that’s often easier than using Web 1.0 techniques.

Tags & Javascript

Hobo Rapid is the standard tag library for Hobo, and as such is a required component.

Hobo jQuery provides the Javascript for Hobo Rapid and for Hobo part AJAX. The interface that hobo_jquery uses is well-defined and described in TBD so it is theoretically possible to replace hobo_jquery with a plugin based on something other than jQuery.

Themes

A Hobo application also requires a theme. The default theme for Hobo 2.0 is Hobo Bootstrap, which uses Bootstrap 2.X.

Each subsite in your application may use a different theme.

Hobo Clean was the default theme for Hobo 0.8 through 1.3 and is still available. You can also choose to use its variant, Hobo Clean Sidemenu.

It’s not difficult to create your own theme.

UI Plugin

Hobo also requires a few UI widgets and capabilities that aren’t provided by jQuery itself. These can be provided by Hobo jQuery-UI and/or Hobo Bootstrap UI.

More information about the differences and overlap between these two are explained by UI Plugins

Top to Bottom

Lifecycles lets you define a state machine in your Active Record model which automatically create appropriate actions for your controller and views.

View Hints allow you to annotate your model with information relevant to automatic view generation.

Generators documents the generators that Hobo allows you to access via script/generate.

Hobo allows you to Internationalize your program to support multiple languages.

Once you’ve created useful tags for your own application, how about turning them into a plugin and sharing them with the world?


Edit this page