Yeah, MVC would be one way to go; it would be interesting to see how controllers fit into all that. I've used the $app global var myself and it works pretty well-- it seems like the DRYest way to do it right now?
-tieg On Sun, Apr 13, 2008 at 12:40 PM, Phlip <[EMAIL PROTECTED]> wrote: > Tieg Zaharia wrote: > > I think I've seen this approached in some different ways; one way would > > to setup a global var inside the app, and then you can use it outside of the > > app: > > > > Shoes.app do > > $app = self > > end > > > > Try it? > > I've also been wondering lately if anybody has a good solution for > > organizing class files and stuff when a Shoes app gets too big for one file? > > > > >cough<MVC! > > -- > Phlip >
