Skip to content

Tag: Xojo Programming Language

Singletons and the Web

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 closed

Xojo License FAQ

UPDATE 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 closed

Var, Dim or both?

API 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

Starting Graphics with GraphicsPath

In Xojo there is a new class, GraphicsPath, that you can use to create graphics as a mathematical description of shapes and lines; ranging from simple lines to Bézier curves, arcs, rectangles, there are many advantages to using these! For example, as a class on its own, it doesn’t even needs a graphical context (Graphics) in order to describe the shapes you want to use, and the mathematical representation means more control and precision. Simply put, you only need to join the points!

Comments closed

14 Days: A Beginner’s Gateway to Coding

It’s always a good time to learn something new! And maybe you have some free time on your hands now? We know our screen time is up this year, so let’s put that extra screen time to good use and learn a new skill – programming. If you are going to add programming to your skillset, it’s logical to begin with a language that makes it simple to learn the basics of programming. Let me show you a learning path you can follow over 14 days that is aimed at giving you a confident and capable to start to programming.

Comments closed

2020 Xojo Design Award Winners

Today we are pleased to announce the winners of the 2020 Xojo Design Awards. Judging is never an easy job, but this year the submissions were such a diverse range of apps we found it both exciting and difficult! The Design Awards honor excellence in software design. These awards are a great opportunity to learn about some of the best apps made with Xojo. Support Xojo and the Xojo community by sharing and congratulating these winners!

Comments closed

The Powerful World of Delegates

Delegates are one of those advanced features you can find in the Xojo programming language, and it’s a really powerful one! Once you discover and comprehend all the flexibility you can get from Delegates, I’m pretty sure you’ll start to start using them! Through the use of Delegates, you can dynamically change the code to execute.

Comments closed