Article Preview
Buy Now
FEATURE
Gofer It!
Using the Gofer Pattern
Issue: 8.6 (September/October 2010)
Author: Jens Bendig
Author Bio: Jens Bendig has been developing software since 1982, and doing it as a professional since 1992 with C++, PHP, SQL, REALbasic, Processing, and whatever. Hire him -- he's bored! His motorbike is parked close to New York City.
Article Description: No description available.
Article Length (in bytes): 19,727
Starting Page Number: 29
Article Number: 8607
Related Link(s): None
Excerpt of article text...
What I call "everyday" programming can lead to serious confusion. As a small application grows, it gets more and more windows and you need control between those windows to manage the overall workflow. You need to keep the overview without being distracted by tiny details. That's easy... if you have a focus on this right from the beginning!How do you solve the issue where you have a window open and then you need to open another window for user input, and then you re-open the first window? Do the windows call each other to perform the overall task? Do we need some kind of "window controller" to have the correct window open at the right time? And what if the first window has some data thatpersists that has been edited within the second window -- and we learn that this data should not have been saved? This is what I mean when I say "everyday" programming. Sooner or later, problems like this come up within a growing application, especially if you are coding for a company's workflows.
Twisted View (Biased View)
...End of Excerpt. Please purchase the magazine to read the full article.