Tips blank

How to define sleeping timeout for remote 4D applications

To prevent session loss, 4D monitors the sleeping state of remote 4D applications.

When a user is connected from a remote 4D application to a 4D Server and their computer goes into sleep mode, the information is sent to 4D Server. At the moment the user’s computer wakes up, the remote 4D application then recovers its execution context.

Tips blank

How to automate the compilation

Since 4D v19, you can start the compilation of a project with a simple command. You might be wondering what you can use this for!

Your team may consist of several developers, so why not automate the compilation at each code push on your source control server? It is always easier to identify an error when it is quickly detected.

Another case is when your project consists of several components. You can write a method that compiles, builds, and then copies the component to the host database.

This blog will discuss the different technical points that are very useful to create your own automation tools, along with an example application.

Guest Post blank

4D v19 performance on Apple M1

by guest author Roland Mulder, CEO Micro Consulting SA, Switzerland

My company develops Office Maker and BiblioMaker, a business and library management software mainly used in Switzerland by thousands of users. The first lines of code were written in 1986 on a Macintosh Plus with 4D version 1 (“4e Dimension” back then).
I remember my astonishment in 1989 when I first launched our software on a Macintosh SE30. Everything was suddenly so fast! I simply could not believe my eyes.
These fond memories came back when I first launched our applications on a new iMac M1 after compiling natively with 4D v19. As you can imagine, after 35 years of constant development, they have become much larger and sophisticated beasts. My eyes opened wide as soon as I double-clicked on the first one. Such a fast launch! And my jaw fell to the floor when I opened elaborate multipage entry layouts with plenty of filled list boxes. Absolutely instantaneous!

News blank

4D v19 is here

We’re thrilled to announce that 4D v19 is now available. It’s a major release that takes building business applications to new heights.

Tap into the power of Apple Silicon and immediately experience a performance boost thanks to Apple M1’s remarkable capabilities. Discover 4D’s redesigned architecture with Project mode and how it paves the way for the future. Run on-the-go businesses with 4D for iOS and achieve much, much more with the new features for the 4D language, ORDA, 4D Write Pro, and 4D View Pro.

Download 4D v19  

Although it is by no means exhaustive, here’s a list of features we’ve got in store for you:

Product blank

4D v19: Evolution of Client/Server Application Building

On Mac, application signature has become a standard, and since Big Sur, you can’t even run unsigned applications. In the past, we published a workaround to build client-server applications running on a Windows server and accepting connections from Mac clients. With the release of 4D v19, we have updated the application building in 4D to handle this case. Here is how you can build a single platform or a cross-platform application in v19.

Product blank

4D for iOS: Sign In With QR Code

As app users, we don’t pay much attention to the sophisticated authentication technologies that secure our applications. But they are essential to help prevent malicious people from usurping our identity. That’s why the authentication process that is included in 4D for iOS is so important to us. But many 4D for iOS users have been asking for more, and specifically, for new modern ways to login.

The new SignInWithQRCode login form template lets users log into their apps by scanning QRCode, and grants access directly to already authenticated users.

Tips blank

CSS Media query for a dark or light UI

Dark mode has been gaining a lot of ground recently. That’s why we’ve added support for it in 4D v19, and mentioned a few ways you can adjust it to your needs in the related announcement.

In this blog post, we’ll focus on CSS and explain in detail how to set CSS styles for light and dark modes using CSS media queries.

Product blank

Launch a compilation by programming

In continuous integration systems, every time code is submitted, or on an hourly basis, a compilation of the source code is automatically launched. This approach allows you to check merges on the code management server.

Starting from 4D v19, a new command allows you to launch code compilation, so you can set up this type of system.

Product blank

Evolution of the 4D Log Format

We recently reviewed the formats of our logs to increase their readability and their compliance with automated analysis. We made these improvements in response to real-life situations we experienced, directly addressing issues that were hindering our ability to use 4D logs. In this blog post, we’ll explain in detail what changes we made so you can adjust your log analyzing tools accordingly.