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.
Encrypt your own data with the 4D algorithm
As you may have noticed some time ago, 4D offers you a simple way to encrypt your data. Now, 4D also allows you to use the same algorithm as the one used for data encryption, but this time for your own needs. So now you can encrypt and decrypt any information you want, be it a single field in a table or external files.
Get ready for the new SameSite and Secure attributes for cookies
Cookies’ abilities have grown and evolved over the years, but they have left some legacy issues. To handle this, browsers (including Safari, Chrome, Firefox, and Edge) are changing their behavior regarding the SameSite and Secure attributes for a secure-by-default model for cookies.
As a 4D web developer, you may be concerned about the 4D web sessions session cookie if you want to prevent your application from Cross-site request forgery.
To prevent your web session cookie from circulating on the web pointlessly or being misunderstood by browsers because of a default value applied, you should ask if it is:
- a third-party cookie: associated with a domain name different from that of the page where the cookie is encountered. A third-party cookie is placed by a page object (e.g. an ad) originating from a domain other than the one hosting the page
or
- a first-party cookie: associated with the domain of the page
Depending on your use case, you should choose the appropriate value for the SameSite attribute of your web session cookie.
To reinforce security, the Secure attribute must be set for the web session cookie when the connection is secured (HTTPS) to indicate to the browser that the cookie can be sent safely.
Keep reading to learn how 4D has your back to improve privacy and security across the web.
4D Write Pro – Find and Replace
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!
Code Editor: Multiple themes, your choice!
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.
4D for Android: Use your Favorite Virtual Devices
In a previous blog post, we announced the launch of 4D for Android. But how to build, visualize and play with your Android app on your favorite virtual device? This blog post covers all these questions with answers and concrete examples.
Easily Manage your Application’s Information
To build your application, you use the BUILD APPLICATION command with a set of XML keys that allow you to configure the built application. For most of you, this option is enough for application building. However, we want to make sure we meet your specific needs too, so we’ll simplify the BUILD APPLICATION command by splitting it. This will allow for more flexibility while creating applications.
From docx format to 4D Write Pro!
A couple of months ago, we were happy to announce the ability to export 4D Write Pro documents to Microsoft Word.docx format. Now we’re thrilled to announce that the reverse operation is also possible!
Starting with 4D v19, you can import .docx documents into 4D Write Pro. Let’s have a closer look.
4D Write Pro: Easily locate all the breaks
4D Write Pro documents support five types of breaks:
- line breaks
- paragraph breaks
- page breaks
- section breaks
- column breaks
Sometimes, you need to locate a certain type of break to replace it with another, or simply delete all its occurrences in the document. To make this possible, we developed a new function: WP Get breaks.
Dark Mode support on macOS has arrived.
Dark Mode is awesome and creates an exciting user experience. That’s why, starting with 4D v19, 4D now supports Dark Mode, which activates automatically if Dark Mode is turned on at the macOS level.
This is just the beginning, and there is more to come in future versions such as Dark Mode support for all components (e.g. the 4D Write Pro widget) and Design Mode.
Want to see how Dark Mode transforms the look of 4D elements? Keep reading!
Contact us
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy