Section Manager Flow Chart
January 23rd, 2008
Last night I was trying to figure out the logic for a Section Managing class I am creating for a new site. The class is really simple but there were some steps and testing I needed wrap my head around so I fired up an old friend of mine omnigraffle and started mapping out how I wanted things to work.
So the name of the class I was working on is called “ExternalSectionController”. This class is going to handle opening new sections and as each is loaded, the class looks to see if section is an external swf or a url. To make it a little more interesting, each external swf section has an open and close method. So it is important to test if a section is open and close it first.
Here is the diagram I drafted up to show the logic and some basic methods I will need.
So as you can see even a slightly complicated set of logic can be easily straightened out by simply drawing it out. I will post the class as soon as I clean it up for mass consumption.












Leave a Reply