Skip to content

Year: 2024

Advanced File Processing Techniques: Using Chunks for Handling Large Files

A recent blog post, A Beginner’s Guide to Handling Text Files in Xojo, covered the basics of text file handling in Xojo. This post delves into advanced techniques for reading and writing large files in chunks. This method is crucial for managing large datasets efficiently, minimizing memory usage, and maintaining application performance.

1 Comment

Effortless HTTP Requests in Xojo: Using Curl in Xojo with URLConnection

If you’re familiar with the command-line tool curl, you may wonder how to use curl in Xojo effectively. Curl is a powerful tool for making HTTP requests, but it’s not always the most convenient for working within a graphical application like Xojo. That’s where Xojo’s URLConnection class shines! It provides a simple and elegant way to make HTTP requests directly from your Xojo code, making it easy to use curl in Xojo. In this article, you will learn how to adapt common curl commands to Xojo’s URLConnection. Let’s get started.

Comments closed

Docker, Database Servers and Xojo

There are many ways to develop with Xojo and use Database Servers. You might be working on a multi user Desktop Application that stores data in a Database. Or you’re creating a multi user Xojo Web Application that needed to be scaled up to a couple of running instances – and use a Database for data storage. Or maybe you’ve written a mobile application that connects to a Backend REST API – again possibly written in Xojo (e.g. with the open source Express, or with Xojo Web).

Comments closed

A Beginner’s Guide to Handling Text Files in Xojo

As developers, we often need to work with text files. This could be for reading configuration settings, parsing log files, or generating reports. Text files are a common part of software development, and knowing how to access and manipulate them is important for building strong and flexible Xojo applications. In this article, we will make use the key Xojo classes and techniques for working with text files. We will start by looking at how to read the contents of text files using the TextInputStream class. You will learn how to read an entire file into a string and how to process the file line-by-line.

1 Comment

Avoiding Memory Leaks with WeakRef

This is not that common of an issue, but it happens – when searching for memory leaks, remember to check any cross-referenced objects. Cross-referenced objects are, well, just that, objects that need to reference each other. For example, when “ClassA” needs to know about “ClassB”, and “ClassB” needs to know about “ClassA”. Continue reading to see how this can cause memory leaks in your projects and how to use Xojo’s WeakRef to fix it.

Comments closed

Xojo MVPs Pointing Xojo in the Right Direction

It’s been too long since we last recognized the enormous amount of valuable assistance that the Xojo MVPs provide to Xojo and the community. We are so grateful to have such an amazing group of dedicated, passionate Xojo experts with so much Xojo knowledge. You may occasionally see MVPs on the forum, but much of their help is behind-the-scenes and some of what they have helped us with just might surprise you.

Comments closed

Using Xojo and GitHub

Now that Xojo Lite includes support for saving projects in version control format, it seems like a good time to revisit how you can use Xojo with GitHub, the popular online Git hosting service.

Comments closed

Android Design Extensions 2.5 for Xojo 2024r1 +

The first Xojo version in 2024 is ready and so it’s time again for an update of the Android Design Extensions, which are now available in version 2.5. This version runs for all Xojo versions from 2024r1 upwards and offers over 70 new declares. The focus of this release was on the integration of pictures in controls, such as MobileButton, MobileDateTimePicker, MobileTextFields, MobileSlider etc.

Comments closed