--- date: "2004-09-28T18:15:42Z" title: Raggle Reorg Notes --- <p> <a href='http://richlowe.net/'>Richard (richlowe)</a> will kill me for saying this, but this (roughly) how I want code for the next version of <a href='http://raggle.org/'>Raggle</a> to look: </p> <pre><code> require 'raggle/engine' require 'raggle/interface/ncurses' # load raggle config Raggle::Config::load_config # start raggle engine engine = Raggle::Engine.new # start interface and bind it to engine iface_class = Raggle::Config::interfaces[$config['interface']] iface = iface_class.new(engine) </code> </pre> <p> (He'll be pissed because he was pushing or that forever, and I kept saying I wanted <a href='http://raggle.org/'>Raggle</a> to be all one file, simple to install and use). Well, it's getting bigger and bigger, and I don't see any other way to keep the code manageable and to do some of the things I plan to do other than splitting it up into separate files. </p>