Singleton Design Pattern
The Singleton design pattern is probably the simplest of all the common design patterns. Its purpose is also simple: to ensure that only once instance of a class is ever instantiated.
You might be thinking that you could just use a module for this purpose. A module is close to a singleton, but since...
Databases 103: Creating Tables and Data
Let’s take the entities we created last time and turn them into tables. Once we do this we’ll create these tables in a REALbasic database using SQL.
Mapping entities to tables is fairly straightforward. Typically each entity becomes a table and each attribute becomes a column. You may have...
