QODLY STUDIO FOR 4D: WHAT’S NEW IN 4D 20 R5
In our previous posts, we introduced you to Qodly Studio for 4D and hope you have begun exploring its features. With each release, Qodly Studio for 4D becomes an increasingly robust and user-friendly solution for building business web applications with minimal coding effort.
Integrated deeply with 4D, Qodly Studio for 4D allows you to leverage existing business logic developed for desktop applications.
Let’s dive into the exciting new features of Qodly Studio for 4D 20 R5 and how you can integrate them into your applications.
Using Classes Across Components
Component developers frequently require the utilization of a class from another existing component.
With 4D 20 R6, when a component has a declared namespace, its classes are now accessible to all components loaded in the host project via cs.namespace.
Force Login Becomes Default for all REST Auth
We recently provided a new way of controlling access to the REST API via the privileges and the ds.authentify function: Force Login. This feature offers much more than previously available authentication mechanisms and was clearly explained in this blog post.
With 4D 20 R6, Force Login has become the default mode for REST authentications. Curious about the reasons behind this change and how to manage the transition? Keep reading to find out more.
Managing HTTP Requests with HTTP Agents
In 4D 19 R6, we introduced HTTP classes to modernize syntax and enhance functionalities for our HTTP client commands. Building on this foundation, 4D 20 R6 brings a powerful new feature: HTTP agents. These agents empower developers to customize and optimize their connections to HTTP servers by managing connection persistence and reuse for HTTP requests.
4D 20 R5 is Here
Introducing 4D 20 R5 – Available Now!
Here’s a sneak peek of what awaits you with this feature release:
Download 4D 20 R5 (monthly Hot Fixes available)
- QUIC: Enhance application performance and security with the production-ready QUIC, which offers IPv6 support, broadcast capabilities, and Windows single sign-on.
- User Interface: Transform your application’s appearance with two new window types that allow complete customization of the window title bar. Add buttons, search boxes, and other elements to create your design.
- 4D Write Pro: Create professional-looking documents with enhanced layout design, easy section break management, quick formatting options, and support for larger tables.
- 4D Language: Write cleaner and more robust code with Try-Catch blocks for precise error handling, shared classes for simplified object management, and singletons for improved global accessibility.
- ORDA: Implement strong data security by restricting user access to specific data based on predefined criteria, ensuring users only see relevant information.
- Visual Studio Code extension: Boost developer productivity with GitHub Codespaces integration and workspace syntax checking.
- Qodly Studio for 4D brings Custom Components for greater flexibility, new dialog features for better user interactions, Force Login for optimized license use, and more.
Tips & Tricks for your 4D Apps – May 2024 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 12 tips:
Class property declarations and assignments on a single line
ORDA – Restrict Data to Relevant Criteria
In 4D 19 R8, we introduced a robust permission system, granting you granular control over user access to your data. This system protects your data depending on who accesses it and which data is accessed, ensuring data security by restricting unauthorized access.
But what if you wanted to further refine read access based on specific criteria?
That’s where 4D 20 R5 steps in. Restricting read data according to some criteria.
Shared Classes
Do you want a simplified way to use shared objects, following the classic object syntax and automatically calling use/end use when needed?
Fasten your seatbelts; here come the shared classes!
Singletons in 4D
4D 20 R5 delivers a powerful feature for developers: Singletons!
The singleton design pattern creates a single instance of a class accessible throughout your application.
This pattern offers many benefits, including:
- host for interprocess values,
- utility classes,
- a base for the factory design pattern,
- and many more.
Keep reading for more information about this new concept!
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