Give AI to a 30 years old 4D application
In just a couple of years, Artificial Intelligence has gone from an emerging trend to an essential component of modern software. ChatGPT, Grok, Gemini, and other AI assistants now play a major role in everyone’s daily life, both professionally and personally.
That’s why 4D 21 introduces 4D.Vectors and 4D AI Kit: to give 4D developers simple, effective tools to add AI-powered features to their applications.
We’ve already shared many examples, tutorials, and webinars about AI, but I recently wondered: what would it take to bring AI into a 30-year-old 4D application?
Could you simply ask such an app for your top 10 customers and instantly get a nice chart back?
Well, guess what? It turned out to be so straightforward that it deserves its own blog post.
ORDA – Handle an event-driven logic during database operations
This feature keeps going on with a new paradigm: handle data in an event-driven way. The 4D 21 provides a complete series of events related to database operations (save or drop).
ORDA events can replace triggers and offer many more advantages: more control, allowing you to code your business logic (including time consuming jobs such as printing invoices or storing external data) directly in an ORDA data class function. They respond to events on data level such as new, modify, save, drop (CRUD)
ORDA events offer precise granularity and sophisticated error handling, leading to a strong data integrity and a better code organisation.
Discover how to implement the appropriate business logic in each step of a save or drop action.
ORDA – Permissions – Restrict / allow web access to the resources in one click
Discover here, how, in web processes, you can protect your resources (data + business logic) from malicious accesses and from unauthorized users … in one click.
In development mode, set the Restrict access by default property to FALSE to concentrate on your code organization, data model, Qodly pages architecture, tests … without any restriction to use data or to call functions.
When ready to implement user profiles, just set the Restrict access by default property to TRUE to ensure nobody will access your data and business logic without being explicitly authorized.
Goodbye 4D Internet Commands – Hello Modern Internet Integration
With the release of 4D 21, we’re officially saying goodbye to the 4D Internet Commands plugin, a long-standing companion for many developers since the early days of the internet. But this isn’t just the end of an era. It’s the beginning of a more secure, more powerful, and more enjoyable way to handle internet communications in 4D.
You can still continue using 4D Internet Commands in version 20 with 4D 21. So, why make the switch? Because the new built-in classes are not just replacements, they’re a complete rethinking of how internet protocols should be handled in a modern development environment. They’re native, thread-safe, and designed to meet today’s standards in security, performance, and flexibility.
Event Report in 4D Qodly Pro: See Every Interactions at a Glance
Creating browser based user interface with 4D Qodly Pro is very similar to use the 4D form editor. Clicking a button calls a 4D method, as you are used to work. And the method executes your (often already existing) business logic.
To do so, you define events, either for widgets or the whole page (form). Browsers work a little different than a desktop app, so there are additional events and the execution sequence might be different. Events Reports help you to better understand this.
4D Qodly Pro: Page Zoom Controls
Move seamlessly between the big picture and the tiniest details with Page Zoom in Qodly Studio, the intuitive way to design, refine, and stay perfectly in control of every element.
macOS Tahoe, Windows 11, which operating systems for 4D 20 and 21?
As Apple and Microsoft continue to evolve their platforms, we make sure 4D stays perfectly aligned.
With each new OS release, our teams rigorously test and certify 4D to ensure you can upgrade your environment with confidence, whether you’re running macOS or Windows.
🎃 The 4D 21 Beta Has Escaped the Lab
Somewhere between the pumpkins and the glowing screens, in the quiet hum of code and caffeine, something stirs. 4D 21 Beta has risen, bringing with it a new wave of powerful features waiting to be tested.
Starting Qodly studio is just two clicks away
4D Qodly Pro offers all the tools you need to design, build and run web forms for your 4D application.
Fully integrated to 4D, it comes out of the box with Qodly studio. And just like 4D, its use is easy, accessible and nested in the 4D’s world.
To use Qodly Studio with 4D projects created with older versions, some project settings might need to be changed to support modern features.
That’s why, starting 4D 21, the access to Qodly studio from 4D has been enhanced to be no more than two clicks, to make your life easier, free your mind and let you focus on your business success story.
Localize your Qodly Pages: A Practical Guide
Localization of 4D applications has been supported for decades through the XLIFF architecture, designed primarily for desktop applications.
But browsers work differently.
That’s why 4D Qodly Pro introduces a new, built-in internationalization (i18n) approach—one tailored for web interfaces, giving you more flexibility when building multilingual Qodly Pages.
Let’s explore how this works in practice.
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
