The singleton design pattern has its place in the desktop environment where there will be only one user running the application, and when that user quits the app the singleton is destroyed. This doesn’t fit the requirements of a multi-user environment such as the web where many users will be accessing the application at once. I recently came across this issue when porting a desktop app to the web which required me to design a singleton class that is session sensitive. Here’s a walk through of how I achieved my goal. Please note that scopes are particularly important when creating this class.
Comments closedMonth: April 2020
Learn a new tool to evaluate your app marketing. This is a tool commonly used in the food industry, but I’ll show you how you might be able to incorporate this tool into your business practices.
Comments closedUPDATE 2024: Beginning with Xojo 2024r1, new and existing Xojo Lite licenses are version control ready. Plus, use Xojo’s free IDE to build Linux desktop and console apps without a license. Learn More
Xojo is an easy-to-use Integrated Development Environment (IDE) and programming language that allows you to create and deploy all kinds of native apps and solutions on Desktop (Windows, macOS, Linux), Web, iOS and Raspberry Pi with Android on the horizon.
We often get questions from newcomers about how Xojo licenses work and what license options available. Read on to learn what Xojo license is right for your needs. At the end, if you still aren’t sure what license is right for you, you can get in touch with us and we’ll help you get what you need.
Comments closedWhile we all hope that the current pandemic will soon pass, it is prudent that we prepare for the possibility that it will not. That…
Comments closedIt has been tradition in software development for a new version of an app to go through a number of stages. Typically this starts with…
Comments closedAPI 2.0 added Var as an alias for Dim. Var is more recognized by coders from other languages and that’s great. Easily readable code is the goal, so I use both.
Comments closed