Introducing Code Live Checker: Elevating Code Quality in 4D Development
4D v20 R4 introduces the Code Live Checker, an algorithm used during Compilation, Syntax Checking, and code typing in the Code Editor. In this blog post, we’ll explore the unique aspects that make this feature useful for 4D developers.
A New Way to Handle Errors
We’ve recently introduced a new error-handling mechanism using the new throw() command.
This marked the first step towards a new error handling system, positioned as close as possible to the code generating them.
In the next phase with 4D v20 R4, we’re expanding this approach to intercept errors during expression execution.
Let’s delve into the details.
Streamlined Method Parameter Declarations
In the pursuit of efficient coding practices, 4D developers commonly configure compilation path settings to enhance syntax and typing checks, thereby minimizing errors during code execution in compile mode. Let’s see how #DECLARE method prototypes will gain time and code security.
Structure Definition Export in HTML
Sharing structure definitions with colleagues, users, or customers is simplified through HTML formatting.
In 4D, structure definitions are presented in XML+XSL, which browsers render as HTML for easy human readability and computer-based content parsing.
However, recent browser restrictions prevent local files from using certain external resources unless sourced from the web. To overcome this issue, 4D has now re-factored this export in an HTML+CSS format, providing the option to export either XML as before or directly as HTML.
VS Code Extension: Show 4D Documentation
4D v20 R3 comes with a new Visual Studio Code editor feature thanks to the 4D-Analyzer extension — the “Show 4D Documentation” feature!
Format your 4D Code in Visual Studio Code
A new feature of the VS Code extension arrives with 4D V20 R2: code formatting!
In this blog post, we will delve into the details of this new functionality, exploring how it simplifies your programming experience.
Fortifying Security: 4D Embraces OpenSSL 3.1
In an era where data security is paramount, updating security libraries is crucial.
4D v20 has taken a significant step forward by upgrading its OpenSSL library from version 1.1 to 3.1.
This advancement brings forth a multitude of advantages and improvements for 4D developers, enabling them to build applications that are not only highly secure but also exceptionally efficient.
Now, let’s explore these benefits in detail.
A Tool for 4D Code Execution in CLI
In the development industry, CI/CD has become a standard practice. With each code modification, automated actions such as testing, compilation, building, delivery, and sometimes deployment are generated to ensure the code is high quality and easily integrated into the existing system.
These actions require a tool to execute the necessary code. As 4D developers, we decided to provide a free tool that allows developers to execute elementary actions. This tool is called tool4d, and it streamlines the process of executing necessary actions within the 4D environment.
In this article, we will explore the functionalities of tool4d and how it can be used to enhance your development process.
Integrate your Own Administration Window for 4D Server
When deploying their applications, some developers want to customize the built-in 4D dialogs to fit their needs. It is especially true for the 4D Server Administration Window where they sometimes want some information and actions to be accessible only for their team and not for their customer administrators.
New VS Code Editor Features with 4D v20
As usual, a new release, new VS Code extension features for developers who want to view and edit code with this free editor.
4D v20 brings new capabilities to the Visual Studio Code editor through the 4D-Analyzer extension: Say hello to Document Syntax Checking, which will help the developer to type fewer mistakes, Code Folding and Indentation for a better look, and tool4d to allow faster LSP server starting.
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