That looks great Ben, could you give an example of the structure of a YAML file?
Cheers James Benjamin Jackson wrote: >>Just a quicky as an motivator for the OFLA. I am hoping someone will >>discuss >>larger OOP projects in general. Taking people through a complete setup >>(class wise) of a normal sized project, not just the abstract >>examples. What >>do we need to do to get a site, with menu's content external loaded, >>etc. >>How do you interweave the handling of animation with the handling of >>data >>loading etc. Possibly even the most used Design patterns like MVC or >>whatever other magic people use. >> >>If something like this is already being handled.. please point me in >>the >>right direction :) I for one find it very interesting to see how others >>tackle these problems. > > > Man, I could talk about this till the cows come home. What I do at my > agency is basically keep anything in the app that could possibly change > in configuration files which are used to determine the behavior as well > as the content of the app. I have an AnimationFactory for my > transitions, a GetText class for localized interface text, etc... my > MVC setup is super-simple, I only have one Model (my Application > class), one Controller and one type of view class which uses a > LayoutManager to layout all text and movieclip assets and load any > dynamic content. All text styling is done with CSS and some ugly hacks > to enable things like lineHeight and styles for tags other than the > pitifully small subset of tags for which MM built support. > > Observer is a godsend. > > I might be interested in doing a presentation on this, but I agree with > Nicolas that getting a site up and running in half an hour is a bit of > a stretch even with MTASC :) Best I've done is still in the range of > days. > > Oh, and for those of you sick of writing your config files and content > in xml, there are other options... > > http://www.unfitforprint.com/articles/2005/09/23/yaml2xml-in-33-lines- > or-your-money-back > > ___________________ > Ben Jackson > Diretor de Desenvolvimento > > [EMAIL PROTECTED] > http://www.incomumdesign.com > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
