Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 8.6

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.