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 21.6 ('Differences')
Instant purchase and download via GumRoad!


Design Patterns Part 1

Design Patterns for the Patternless

Issue: 21.6 (November/December 2023)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 31,530
Starting Page Number: 19
Article Number: 21603
Resource File(s):

Download Icon project21603.zip Updated: 2023-10-31 23:51:11

Related Link(s): None

Excerpt of article text...

Last spring I gave a presentation on design patterns at the Xojo Conference in London. I thought it might be nice to do a write-up in xDev on the topic.

While my initial articles will cover the patterns I talked about in my presentation, I may expand this series to additional patterns if there's interest.

Before We Begin

Before I did my presentation I knew little about design patterns. I had read about some and had a vague understanding, and I'd even used a few, but I didn't truly understand them at their core.

One surprising thing I discovered is that to really "get" patterns, you need a solid foundation of Object-Oriented Programming (OOP). That's because patterns are a key OOP feature. Also, the entire purpose of design patterns are to help you use OOP better, so if you don't know or use OOP, patterns are pointless for you.

Thus, we will begin this series with a quick refresher on Object-Oriented Programming.

...End of Excerpt. Please purchase the magazine to read the full article.