Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

Writing Plugins

botanicus edited this page Sep 13, 2010 · 10 revisions

Future: there is a plan for support custom generators
TODO: bootloader support


class Rango::Plugin::MyPlugin
include Rango::Settings
end

Take a look at Hooks section in Controllers

Mountable Applications

You may be familiar with mountable applications from Django, it’s clone to Merb called Merb Slices or Rails Engines for Ruby on Rails. In my experiences, the Django applications are simpliest, easy to write, but not so robust, for example in redefining parts of them or in testing them in context of current project. Merb Slices are more robust, they use monkey-patching to allow you customize stuff, but it’s magic and not so easy to use or write. Due to lightweight design of Rango, we believe Django implementation is better for our purposes.

- router
- $: / require + AppName.import

Clone this wiki locally