Skip to content
4D Blog
  • 4D Product Extensions
    • 4D Product ExtensionsExplore blog posts featuring tools and modules to enhance and extend your 4D environment.
      • 4D AIKitInject semantic AI to interpret data and automate decisions.
      • 4D Qodly ProBuild and extend 4D applications to web visually.
      • 4D ComponentsManage and develop components with modern dependency control.
      • Email, Microsoft 365, GmailIntegrate authentication, email, and calendar in 4D applications.
      • 4D Write ProGenerate data-driven documents with the 4D word processor and integrated AI assistant.
      • 4D View ProVisualize data and manage spreadsheets effectively.
  • For Developers
    • For DevelopersBuild better 4D applications with practical patterns and technical deep dives from our blog.
      • ORDADesign clean data models using an object-oriented approach with Object Relational Data Access.
      • 4D LanguageMaster the 4D language to write clear, structured, and maintainable code.
      • Development ModeStructure projects and collaborate efficiently in team environments.
      • Code EditorDevelop faster and debug smarter using the 4D code editor and integrated tools.
      • User Interface / GUIEnhance your 4D user interfaces with elements like forms, lists, menus, and printing options.
  • For Admins
    • For AdminsOperate, deploy, and maintain 4D environments with control and predictability.
      • 4D ServerConfigure and manage 4D Server environments reliably.
      • MaintenanceMonitor, log, and maintain stable 4D environments.
      • DeploymentPackage, secure, and deploy 4D applications safely.
  • Learning Paths
    • Learning PathsOfficial guides, tutorials, videos, documentation, and repositories to accelerate your 4D learning journey.
      • Learn 4DStructured, hands-on tutorials hosted on Learn 4D, designed to guide you from beginner to advanced with interactive lessons.
      • What’s New in 4DExplore what’s new in the latest LTS release and see how it moves your applications forward.
      • 4D WebinarsExpert-led technical sessions exploring new features, architecture decisions, and real use cases in 4D development.
      • 4D DocumentationAccess the official technical reference for 4D.
      • 4D GitHub RepoExplore official 4D GitHub Repo.
      • 4D Knowledge BaseExplore a wealth of technical expertise through our Tech Notes and Tips.
  • DE
  • FR
  • PT
  • CS
  • ES
  • IT
  • JA
Home For Developers4D LanguageClasses

Classes

Classes

Code Editor

Data Structure

20 R10

21

  • 2
  • 0

Stricter class-based typing for objects

With 4D 20 R10, object typing takes a major step forward, giving you more confidence and control in your code. Instead of simply checking if a value i...

Fabrice Mainguené
Fabrice Mainguené
July 16, 2025 1 min read

Database Objects ORDA

Classes

Form Elements

Security

20 R9

21

  • 2
  • 0

Use class in embedded web area with $4d

With 4D 20 R9, 4D introduces new commands that allow developers to define an object context for $4d, ensuring only specific functions are exposed. Pre...

Fabrice Mainguené
Fabrice Mainguené
April 24, 2025 1 min read

Web area

Classes

REST Server

Web Server

v20R7

  • 4
  • 0

Energize your Web applications with the OutgoingMessage Class

In today's digital world, a smooth and intuitive user experience is key to any web application's success. A critical part of this experience is provid...

Avatar
Marie-Sophie Landrieu-Yvert
November 14, 2024 1 min read

HTTP ORDA Data model classes Programming Request response REST server Singleton Web

Classes

Preemptive Processes

20 R7

21

  • 3
  • 0

Introducing Session Singletons

Singletons have been one of the standout features of 4D 20 R5. Previously, developers could leverage two types of singletons: the process singleto...

Nicolas Brachfogel
Nicolas Brachfogel
November 14, 2024 1 min read

Programming Session Singleton

4D Qodly Pro

Classes

REST Server

20 R6

21

  • 3
  • 0

REST and Qodly Support of Singletons

With 4D 20 R5, we released singletons. And with 4D 20 R6, we now allow you to directly call the exposed functions of your shared singletons through RE...

Nicolas Brachfogel
Nicolas Brachfogel
September 5, 2024 1 min read

REST Singleton

4D Components

Classes

20 R6

21

  • 3
  • 0

Using Classes Across Components

Component developers frequently require the utilization of a class from another existing component. With 4D 20 R6, when a component has a declared na...

Fabrice Mainguené
Fabrice Mainguené
July 17, 2024 1 min read

Class Component Language Programming

Classes

Syntax

20 R5

21

  • 3
  • 0

Class property declarations and assignments on a single line

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

Fabrice Mainguené
Fabrice Mainguené
May 7, 2024 1 min read

Language One-line declaration Programming

Classes

20 R5

21

  • 6
  • 0

Shared Classes

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

Nicolas Brachfogel
Nicolas Brachfogel
May 2, 2024 1 min read

Class Programming Singleton

Classes

20 R5

21

  • 7
  • 0

Singletons in 4D

4D 20 R5 delivers a powerful feature for developers: Singletons! The singleton design pattern creates a single instance of a class accessible through...

Nicolas Brachfogel
Nicolas Brachfogel
May 2, 2024 1 min read

Class Programming Singleton

Classes

v20

  • 5
  • 0

Declaring Class Properties

The 4D language is constantly improving. For v20, we bring you a new feature that will ease the use of your classes: declared class properties. Declar...

Nicolas Brachfogel
Nicolas Brachfogel
May 31, 2023 1 min read

Programming

Page 1 of 2
  • 1
  • 2
  • →

Categories

  • Release infos
  • Generic
  • User Interface
  • Back End
  • Tutorial
  • 4D AIKit
  • 4D Components
  • 4D View Pro
  • 4D Write Pro
  • Email, Microsoft 365, Gmail
  • 4D Qodly Pro
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • 4D Tutorials
  • 4D Summit sessions and other online videos
  • 4D Server
  • Maintenance
  • Deployment
  • News & Insights
  • Generic
Subscribe to our newsletter

© 2026 4D SAS. All rights reserved.

  • Terms & Conditions
  • Legal Notice
  • Data Policy
  • Cookie policy
  • Product License
  • Cookies Preferences

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

Subscribe to 4D Newsletter

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