Embed Qodly pages in a 4D web area without extra cost
With 4D 21, a new opportunity opens up: seamlessly embed a Qodly page inside a web area on a 4D form with no additional 4D Client license required. Powered by 4D Qodly Pro, you now have full access to a new generation of modern, dynamic user interfaces. No need to choose between desktop and web forms anymore: combine both, and evolve at your own pace.
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.
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.
ORDA – Constructor and touched event – Detailed behaviour through a network
In this previous blog post, you discovered that ORDA entities can now have a constructor, allowing entity instantiation to follow a complete object-oriented approach.
And that’s not all — another blog post introduced the first ORDA data event in a full series: the touched event.
Want to know exactly WHEN and WHERE the constructor and the touched event are triggered while actions move back and forth between a client application and the server? This blogpost is for you.
Keep reading to learn all the details and explore a live demo!
4D Qodly Pro: What’s new in 4D 20 R10
4D 20 R10 is now available and offers a new set of 4D Qodly Pro enhancements throughout the product to stabilize powerful features you might have already used.
Setting up HTTP handlers is now easier than ever.
When rendering a page, URL parts and parameters can now be accessed. And so many enhancements will help you offer your end users a better understanding of their user journeys and clear feedback for each of their actions.
Keep discovering this powerful fully-part-of-4D web development solution, robust and user-friendly.
Build business web applications with minimal coding effort by leveraging the existing business logic you’ve already implemented in your desktop applications.
Let’s take a closer look … Keep reading!
ORDA – Get started with the touched event
ORDA is a core long-term feature that opens up a world of new possibilities in 4D.
We keep enhancing ORDA to help you write powerful code. As a result, your apps become easier to develop and maintain — and most importantly, they are optimized for great performance for your end users.
That’s why we’re excited to introduce a new feature in 4D 20 R10: in-memory data events.
In a typical user journey, the required data by the user is loaded into memory, modified according to user actions, and finally saved when the user clicks a Save button.
What if you could automatically trigger business logic when in-memory data changes? It’s now possible to format or prepare data as early as possible, so it’s ready to save when needed.
This is made possible by the new ORDA touched event on data — and the benefits are considerable.
Want to learn more? Keep reading!
ORDA – Get started with the entity constructor
The 4D language supports the concept of classes and thus, the concept of constructor.
On the another hand, the ORDA abstraction layer, through Data Model Classes, provides a great business benefit. It allows you to write business-oriented code and “publish” it just like an API. Datastore, dataclasses, entity selections, and entities are all available as class objects that can contain functions as well as computed attributes, and aliases.
This leads your apps to follow easily the MVC principles with powerful and optimized code.
To work with a complete object-oriented approach, starting from 4D 20 R10, entity classes can now have a constructor(). Need to set up initial values when a new entity is instantiated? It’s now possible! Keep reading to learn more …
Generate, share and use web sessions One-Time Passcodes (OTP)
Today, web applications have become integral to our lives, offering convenient features that save time and simplify everyday tasks. As an example, creating accounts on various platforms is one the most frequent user action on web sites.
They expect this kind of process to be quick and accessible—whether at home, commuting, or relaxing on the beach.
Behind this simplicity lies a more complex reality. These operations often require integration with third-party systems, such as email verification services. This introduces challenges related to security, user experience continuity, and protecting against man-in-the-middle attacks.
For developers, ensuring a smooth experience means managing interactions between external systems and the 4D web session. This involves maintaining the user’s context—retrieving data, privileges, and the exact step of their journey to complete the process.
Sounds complicated? It doesn’t have to be! Discover how to build robust web applications that securely and efficiently communicate with third-party systems with 4D 20 R9.
4D Qodly Pro: What’s New in 4D 20 R8
4D 20 R8 is now available and offers a new set of 4D Qodly Pro features to empower your web applications.
Keep discovering this powerful platform—a robust, user-friendly solution for building business web applications with minimal coding effort.
Integrated within 4D, 4D Qodly Pro for 4D allows you to leverage existing business logic developed for desktop applications.
It is time now, with 4D 20 R8, to discover how to implement HTTP request handlers, work efficiently with roles and privileges, and gain perfection with dynamic UIs.
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
