Tips

How to automate the compilation

Automatically translated from English

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

4D v19 performance on Apple M1

Automatically translated from English

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

4D v19 is here

Automatically translated from English

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

4D v19: Evolution of Client/Server Application Building

Automatically translated from English

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.

Tips

CSS Media query for a dark or light UI

Automatically translated from English

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

Launch a compilation by programming

Automatically translated from English

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

Evolution of the 4D Log Format

Automatically translated from English

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.

Product

4D Write Pro – Find and Replace

Automatically translated from English

For many years now, 4D Write Pro has made it possible to create simple or complex documents, either via programming using templates or by simply creating new documents from scratch. Starting with 4D v19, both developers and end users will be happy to use the new find (and replace) capabilities of 4D Write Pro. Using not just the interface… but also the code!

Let’s delve into the details!

Product

Code Editor: Multiple themes, your choice!

Automatically translated from English

The code editor’s feature set grows with every release, and 4Dv19 is no exception.

Every developer has their own special – and sometimes peculiar – taste when it comes to their code editor (font, font size, color of the elements, etc.). What looks great and boosts productivity for one developer can be an obstacle for another. That’s why 4D v19 introduces theme management.

If “creating my own theme” is on your bucket list, now is the right time to check it off! 4D v19 comes with basic themes that you can enrich and adapt to your own taste.