Product

Secure your app’s resources with a new algorithm

Automatically translated from English

When generating .4dz files, 4D uses a standard zip format by default. If you are a software publisher, you’ll be happy to know that 4D v19 R2 added a feature that allows preventing users of your application from seeing the content of the 4DZ, and therefore from being able to modify it.

Tips

How to take advantage of GitHub actions with 4D

Automatically translated from English

Your project is now on a source control system. This means that managing several versions of your software, monitoring changes, and integrating corrections or new features is much simpler now.

Why not also take advantage of continuous integration?

Starting with 4D v19, you can launch the compilation of your project with a command. As a result, you now have all the building blocks needed to automate your integration chain.

This blog post will give you an example of automation with the GitHub manager and GitHub Actions.

Tips

4D REST API + ReactJS

Automatically translated from English

by Mourad Aouinat, Software Engineer at 4D Morocco

In a previous blog post, we saw how easy setting up a REST API using 4D. In this blog post, we will leverage the powerful 4D REST API in combination with React to build a To-Do app that includes features to open todos, create new ones, modify existing ones, and features for bulk modification and bulk deletion.

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.

Tips

Toggle Dark & Light Mode on macOS in one click

Automatically translated from English

As of 4D v19, you have the possibility to create applications that support the Dark and Light mode on macOS. To do this, you have to modify and check many small details: icons, widgets, texts, background colors, etc.

As a result, you need change the appearance of your mac dozens of times per hour. OK, you might be thinking, “What? All it takes is three clicks. Open the preferences panel, click the general icon, then the light or dark control, that’s it!“. But honestly, if you are a developer or a tester, repeating these actions over and over again becomes very tedious. 

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!

Events

Ready for the 4D World Tour Live 2021?

Automatically translated from English

So far, 2021 has been really exciting for us here at 4D.

This year’s milestones include the release of 4D v19, one of our best LTS yet, the launch of 4D v19 R2 beta, as well as webinars in multiple languages to introduce you to the latest and the greatest, and the list goes on. Now there’s even more exciting news: The 4D World Tour Live 2021 is just around the corner! 

Product

4D for iOS: Sort the Contents of a List Form

Automatically translated from English

Several predefined actions that help your app users manage their content were already available in the Action section: “Add,” “Edit,” “Delete,” and “Share”. 4D v19 R2 introduces a new one, and you’re going to like it! You can now create Sort actions to sort local app data.