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!

Tips

New Tips & Tricks for your 4D Applications

Automatically translated from English

by Add Komoncharoensiri, Director of Technical Services at 4D Inc

 

As you know, 4D Knowledge Base is a library of information about the 4D technology where weekly tech tips and monthly technotes are actively published. If you missed the last tips on the KB, that’s fine; here is a compilation from the past few weeks.

This blog post covers 12 tips:

News

4D v19 R5 Beta starts today

Automatically translated from English

We’re thrilled to announce the launch of beta testing for 4D v19 R5. You told us where you are going next, and this release —like the one before and the ones to come — has the features to help you get there 🙌 

 

 

 

  • Besides introducing data contexts, 4D benefits from an upgraded SpreadJS version that brings many enhancements, such as the print interface. 4D View Pro is taking it to a whole new level.
  • 4D Write Pro has its share of new features: table headers, linked paragraphs, data contexts, and many improvements to the interface widgets — offering you even more possibilities to produce documents that meet your requirements.
  • We’re offering you better control over the ORDA contexts and cache for both Client/Server and REST to improve performance.
  • We completely reorganized the diagnostic logs, giving you a better-filtered content (log levels such as trace, debug, info, warn, and error).
  • And you can now get rid of unnecessary libraries (e.g., CEF/Web Area, PHP) to reduce the size of your applications.
  • Much more awaits you! 

Download 4D v19 R5 now (Exclusive to 4D Partners)

Tips

How to notarize your merged 4D application (macOS 12 & Xcode 13)

Automatically translated from English

Note: Update for macOS 12/Monterey and Xcode 13. For Xcode 12 and older, see this blog post.

 

With Monterey (macOS 12), it’s highly recommended that you notarize applications distributed over a public network. A significant number of developers transfer their applications using a connected storage device or via file-sharing; notarization isn’t required in these cases where the user already trusts the developer. Notarization aims to assure users that the application isn’t malicious and is only required for applications downloaded from a website.

Using our built-in signature feature when building your applications with 4D v18, your application is ready to be notarized. This process is conducted outside of 4D. It involves adding an electronic signature to your application and submitting your signed application to an automated inspection service. Here’s everything you need to know:

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.