4D v20 LTS is Here
4D v20 LTS, the most feature-rich version of 4D to date, has been released!
Over the past few years, we’ve taken 4D forward at an unprecedented pace. We introduced cutting-edge concepts such as Object-Oriented Programming (OOP) and classes, refined the 4D language to match the familiarity and intuitiveness of popular languages such as JavaScript & TypeScript, and introduced ORDA, an innovative way to access data, among other advancements.
Now, with 4D v20, witness the integration of Visual Studio Code editor, harness the exceptional capabilities of 4D Write Pro for template-based document generation, and empower yourself with features to build modern applications’ UIs.
And that’s not all! Check out the highlights below:
Logging ORDA Calls on the Server
Since its release, ORDA has grown in popularity and is now widely used on your production servers.
With 4D v20, we provide two improvements on how ORDA requests are logged server-side:
- The first is an improvement of the request log that will now give more information about ORDA calls.
- The second is the addition of a server-side ORDA log similar to the client-side ORDA log. Let me introduce you to these new features.
Comparison with an Undefined Value
Since the appearance of ORDA, classes, and other objects, you must work increasingly with undefined values.
Since some of you are asking for an easier way to use them, starting with v20, you can compare any type of value to an undefined value without throwing an error.
Break Rows. A New Addition to 4D Write Pro Tables!
The 4D Write Pro document tables have greatly improved over the last few versions. In fact, we, the 4D team, are so invested in making 4D Write Pro a potent template-based documents generator —that we have already released advances such as headers, datasources, carry-over rows…a few powerful features off the top of my head.
Now, with 4D v20, it’s the turn of break rows to make their entry!
Ladies and gentlemen, drum roll, please!
4D v20 Beta Starts Today
We’re excited to announce that beta testing for 4D v20, one of our most anticipated LTS versions yet, is starting today!
With over +100 advances, including enhancements to existing products and highly requested features that have been voted for by our 4D developers, this release promises to be one of our most comprehensive and feature-rich releases yet.
Buckle up, and let’s discover some of what 4D v20 Beta has to offer:
- Build real-time web applications that can handle large volumes of data and provide a seamless user experience with the new built-in WebSocket Server.
- Work with complex data structures with object and collection literals that provide a more concise and readable way to initialize objects and collections in your code.
- Quickly and efficiently search and replace code with the Find and Replace feature improvements.
- Create a custom “Help” menu for your application by passing a collection describing the menu items.
- Save time and quickly analyze and organize your data with 4D Write Pro’s tables, which automatically fill your data in tables with page breaks, headers, footers, and even break rows.
- Take advantage of 4D Write Pro text boxes (floating containers) to print complex product flyers or brochures.
- Evaluate the new feature, QUIC Network layer, a total rewrite of Client/Server communication. Built on UDP instead of TCP, it facilitates faster recovery in case of packet loss, congestion, and other issues that can cause delays and disruptions in network traffic.
- Native support for Microsoft 365 using the Microsoft Graph API allows sending, receiving, organizing emails, and handling user authentication with Single Sign On (OAuth2)
- Much more awaits you with this LTS (see below)
ORDA – From Beginner to Expert
ORDA, which stands for Object Relational Data Access, is a method of accessing data that combines the advantages of object-oriented programming with those of relational databases, allowing developers to focus on solving business problems rather than managing data access.
Whether you are new to ORDA or already familiar with it and want to expand your knowledge, consider this blog post a road map to guide you through the learning process.
This blog post includes the following:
- ORDA benefits
- ORDA overview
- Main concept
- ORDA APIs
- ORDA abstraction layer
- Working remotely
- Requests optimization
- Permissions system
- Sharing data between process
Without further ado, let’s get down to business!
Catch errors everywhere
Error management is often a constraining part of development in all languages. In 4D, if you forget to call an error-handling method in a new process/worker or use components that don’t handle errors, the built-in 4D error dialog can appear to the final user. 4D developers would like to catch all errors in all contexts to avoid displaying this built-in 4D error dialog.
Let’s see how we can manage this behavior with 4D v19 R8.
Filter Access to your Data with a Complete System of Permissions
Filter access to data is a must-have feature to prevent malicious access to your application.
So far, you could expose or not expose as a REST resource a dataclass and some of its attributes. It was already a convenient means to restrict access to your data. Still, we’re thrilled to deliver in the v19R8 a powerful and fully customizable system to protect your data from unauthorized users. A system to protect your data depends on who is accessing it and which data is accessed.
4D v19 R8 Beta Starts Today
And here comes the last feature release of 4D v19!
What could be a better way to kick off the year than getting your hands on a potent set of features this release has to offer 😊
Let’s discover what 4D v19 R8 Beta has in store for you:
- Protect your data from unauthorized users with a robust and fully customizable system by deciding who is accessing the data and which data is accessed.
- Design gorgeous interfaces with the automatic row height feature that is expanded to list boxes based on collections and entity selections.
- Build your own chain or integrate 4D into a continuous integration tool thanks to the new Build4D component.
- Handle errors more effectively with a global error handler — no more error dialog displayed on the server and no more uncaught errors.
- Receive, copy, move, reply and delete emails with the added commands to the 4D Netkit component.
- Create more compliant documents with 4D Write Pro floating text boxes.
- Customize your 4D View Pro tables with over 60 predefined themes, or create one from scratch to suit your needs.
- And much more awaits you with a feature release that goes all out!
Download 4D v19 R8 now (Exclusive to 4D Partners)
Tips & Tricks for your 4D Apps – December Edition
by Add Komoncharoensiri, Director of Technical Services at 4D Inc
Here we go with another set of tips and tricks.
The 4D Knowledge Base is a library of information about 4D technology where weekly tech tips and monthly tech notes 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 20 tips:
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