4D Blog

Home Tag: programming
Product
Fabrice Mainguené
Fabrice Mainguené

Using Classes Across Components

July 17, 2024

Component developers frequently require the utilization of a class from another existing component.

With 4D 20 R6, when a component has a declared namespace, its classes are now accessible to all components loaded in the host project via cs.namespace.

Read more

3
Product
Avatar
Damien Fuzeau

Force Login Becomes Default for all REST Auth

July 17, 2024

We recently provided a new way of controlling access to the REST API via the privileges and the ds.authentify function: Force Login. This feature offers much more than previously available authentication mechanisms and was clearly explained in this blog post.

With 4D 20 R6, Force Login has become the default mode for REST authentications. Curious about the reasons behind this change and how to manage the transition? Keep reading to find out more.

Read more

1
Product
Vanessa Talbot
Vanessa Talbot

Enhanced Session Storage Access

July 17, 2024

You can store information in the storage of various session types, such as Client/Server, Web, or Mobile, allowing for easy reuse across different processes.

Now, in 4D 20 R6, you can access the storage of a specific session. This enhancement enables users to easily maintain the continuity and consistency of information across multiple sessions of the same user. Imagine being able to pull up the same customer record across different applications such as Client/Server or Web.

Read more

2
Product
Nicolas Brachfogel
Nicolas Brachfogel

Managing HTTP Requests with HTTP Agents

July 17, 2024

In 4D 19 R6, we introduced HTTP classes to modernize syntax and enhance functionalities for our HTTP client commands. Building on this foundation, 4D 20 R6 brings a powerful new feature: HTTP agents. These agents empower developers to customize and optimize their connections to HTTP servers by managing connection persistence and reuse for HTTP requests.

Read more

5
Product
Fabrice Mainguené
Fabrice Mainguené

Class property declarations and assignments on a single line

May 7, 2024

In 4D 20 R5, the streamlined property declaration now offers the convenience of initializing properties simultaneously with their declaration, akin to variable assignment.

This enhancement simplifies code readability and efficiency by allowing developers to declare and initialize properties in a single line. This facilitates smoother integration and reduces the need for separate initialization blocks. It optimizes development workflows and ensures code robustness across compilers and interpreters, promoting cleaner, more maintainable codebases.

Read more

3
Product
Vanessa Talbot
Vanessa Talbot

Customize App Appearance with New Windows Types

May 6, 2024

With 4D 20 R5, unlocking new possibilities in application customization, two additional window types now offer flexible modal or non-modal windows without title bars. This means complete freedom to tailor your application’s appearance to your exact specifications. Imagine redesigning the title bar to match your desired aesthetics, integrating features like a customized search box or other elements seamlessly.

But that’s not all! We’ve also introduced several new commands designed to streamline your development process:

  • Reduce a window in the title bar on Windows or the dock on macOS,
  • Know if the window is reduced in the title bar on Windows or the dock on macOS,
  • Know if the window if the window is maximized.

Read more

4
Product
Vanessa Talbot
Vanessa Talbot

New 4D remote session object with Client/Server connection and Stored procedure

May 3, 2024

In 4D applications, four types of sessions exist 4D Remote session, Stored Procedure session, Mobile session, and Web session.

The Session command already returns Web or Mobile sessions. This gives you access to a wealth of information about the session and an object shared by all processes in the session.

In 4D 20 R5, the Session command has been extended to the Client/Server connection and stored procedure.

Read more

4
Product
Avatar
Damien Fuzeau

Try-Catch Code Blocks Unveiled!

May 3, 2024

After implementing the throw() command and introducing the Try(Expression) keyword, we are excited to unveil the next evolution in 4D’s error handling system: the introduction of Try-Catch code blocks!

Read more

7
Product
Nicolas Brachfogel
Nicolas Brachfogel

Shared Classes

May 2, 2024

Do you want a simplified way to use shared objects, following the classic object syntax and automatically calling use/end use when needed?

Fasten your seatbelts; here come the shared classes!

Read more

6
Product
Nicolas Brachfogel
Nicolas Brachfogel

Singletons in 4D

May 2, 2024

4D 20 R5 delivers a powerful feature for developers: Singletons!

The singleton design pattern creates a single instance of a class accessible throughout your application.

This pattern offers many benefits, including:

  • host for interprocess values,
  • utility classes,
  • a base for the factory design pattern,
  • and many more.

Keep reading for more information about this new concept!

Read more

7
Page 2 of 20
  • ←
  • 1
  • 2
  • 3
  • 4
  • ...
  • Last
  • →
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • 4D View Pro
  • AI
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

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