Product

ORDA Classes to handle your data model

Automatically translated from English

In a previous blog post, we introduced you to the world of ORDA data model classes. Now it’s time to get our hands dirty and learn more!

You already know that ORDA’s structure (datastore, dataclass, entity, entity selection) is made up of objects. But they’re not just objects, they’re strongly-typed objects linked to specific ORDA classes. This means that you can write functions to hide the complexity of your data’s physical implementation.

Product

Welcome to the world of ORDA classes

Automatically translated from English

ORDA was a revolution with 4D v17. It opened a whole new world of possibilities and took you to another programming dimension. A dimension where you can easily develop applications using an object-oriented approach.

We didn’t stop there! We continued to add enhancements to ORDA through a set of features in each subsequent feature release. Now with 4D v18 R4, we’re thrilled to be going another step further with the availability of ORDA data model classes. Classes dedicated to your data model.

This will greatly elevate your code. Your applications can now easily expose services, be more manageable and easier to maintain, and seamlessly integrate with other applications.

This is another big feature made possible thanks to the projects!

 

Product

An intro to object-oriented programming in 4D: Classes

Automatically translated from English

Many of you have have been asking to be able to define an object type ever since the Object type became available. Thanks to object notation, many of you dream of having object functions.  Dream no more and say hello to classes in 4D v18 R3 project database! In this blog post, we’re introducing one of the most interesting concepts of object-oriented programming … along with a database example and a bonus video!

Product

Tag your comments, a feature by developers for developers

Automatically translated from English

Comments are essential in a developer’s life. When we work on a new feature, we often add comments that are reminders. For example:

  • to validate a part of code with a colleague,
  • to refactor a function,
  • to fix code that is slowing down the performance,
  • to split a method or a class into sections,
  • to prepare the skeleton of a class and add a todo comment inside each function.

 

Even if you write some straightforward code, try reading it months or years later. Will it still seem simple, or would you wish you’d added comments?

4D v19 R4 takes comments to a whole new level with comment tags that enables you to better organize your comments.

Product

Improved productivity with Object check syntax

Automatically translated from English

Auto-completion for classes is available since 4D v18 R4. This feature simplifies code writing and limits errors in function names, for example. But it doesn’t avoid them entirely; it’s easy to reverse two letters or to forget a capital letter, and then have to spend time looking for why your code doesn’t work.

So what better way than to ask 4D to check if the classes or functions already exist?

Starting with 4D v19 R4, a warning is displayed in the code editor if you call a function that does not exist.

Product

Quickly jump to different functions of a class

Automatically translated from English

Classes were introduced with 4D v18 R3. They allow you to organize your business logic and separate it from the UI part more quickly.

Classes are composed of several functions of varying lengths, so it’s not always easy to find the function you want to modify, or to move from one function to another. You can use the explorer, which displays classes and functions, but when you’re coding in the editor window, you don’t want to waste time changing windows.

With 4D v19 R4, the list of functions in your class is displayed in the code editor toolbar, allowing you to easily jump to a specific function. 

News

4D v19 R4 Beta starts today

Automatically translated from English

Yet another release, but not just any other release 🙌

We’re thrilled to announce the launch of beta testing for 4D v19 R4, which incorporates many features you requested, plus features we believe will be delightful to use!

Without further ado, let’s take a look and see what it has in store for you:

 

  • Upon your request, we supported high-resolution displays, such as 4K displays, in Windows. This results in better text and image quality.
  • Another highly requested feature is at your disposal, the possibility to launch an external process asynchronously to enhance your users’ experience. 
  • What about pessimistic lock management via REST? YES, we have that too.
  • As for the 4D language, we couldn’t be more excited to share the many improvements we made available with you to elevate your coding experience.
  • 4D Write Pro is embracing the dark (mode)! And enabling you to add page breaks inside table rows.  
  • Speed up your development process with 4D View Pro “templates.”
  • The code editor has its share of features. For example, comment tags, quick access to different class functions, and syntax error checking.
  • And much more (see below)!