New topic: Stack Driven and/or API driven programs
<http://forums.realsoftware.com/viewtopic.php?t=45848> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Dave_ Post subject: Stack Driven and/or API driven programsPosted: Thu Nov 08, 2012 12:17 pm Joined: Wed Sep 15, 2010 1:48 pm Posts: 58 I would like to know how to create a program where all events go to a stack, and are processed. events happen, they go on the stack and the stack ??? somehow knows how to process the events. Would you need several stacks? One for UI, One for Logic and One for transactions. The goal is to know EVERYTHING that happens or could be logged. I do not know if this would violate good oop design. App.open sub_init set up stacks, load stacks with previous session sub_main open gui/windows as needed process stacks I guess to process the stacks you would need a timer. The idea is to have gui, logic, and content mainly as transactions all separated. Is this the way to create an API, or i am I missing something? _________________ rb2011 Pro r2 Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
