diff options
Diffstat (limited to 'content/posts/2004-09-28-raggle-reorg-notes.html')
-rw-r--r-- | content/posts/2004-09-28-raggle-reorg-notes.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/content/posts/2004-09-28-raggle-reorg-notes.html b/content/posts/2004-09-28-raggle-reorg-notes.html new file mode 100644 index 0000000..c2469e4 --- /dev/null +++ b/content/posts/2004-09-28-raggle-reorg-notes.html @@ -0,0 +1,34 @@ +--- +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> + |