Monitor 4D Server activity with this new tool
Multiple web servers in a single 4D instance
Have you ever needed to use multiple web servers in order to, for example, split your web application code into several business units, or separate the administrator’s web server from the user’s or run an old part, not preemptive-ready yet, in a separate instance, allowing the main part to run preemptive?
If you’re nodding your head yes, then keep reading because 4D v18 R3 allows you to do so … with ease.
Define the font size for automatic font
In a previous R-release, we added two new automatic themes to define font and the font size, so there are three automatic themes at your disposal which respect the guidelines of each platform. To design your interface, the automatic theme is the recommended way to go with each form object using the font and size recommended by the OS.
In some cases, you may need more control and have valid reasons to ignore the guidelines. With 4D v18 R3, you can override the size of the automatic themes and have more control over how your text is displayed.
Objects Corner: easy sharing & other good news
How many times have you gotten the “Not supported value type in a shared object” error when trying to put an object into a shared object?
What did you do? Write longer code to turn your innocent object into a shared one, perhaps iterating over all of its properties?
How about transferring a shared object from one shared group to another?
An interesting thing about objects: you already know they can be used as a hash map (a key/value system), but what about gettings all the keys or all the values with a single line of code?
Keep reading, because 4D v18 R3 is out and brings good news!
ORDA – Better list box row selecting
ORDA: Breaking news for entity selection methods
When it comes to ORDA, 4D v18 R3 is full of good news! New member methods are at your disposal to further enhance your coding experience.
For starters, extracting data from an entity selection has been greatly enriched allowing you to build a fully customized collection with your entity selection data.
In addition, we’re providing you a way to indicate to an entity selection that its data needs to be refreshed from the server immediately, invalidating cached data.
Interested in some details? Keep reading, everything you need to know is below.
4D v18 R3 Beta starts today
We’re pleased to announce the launch of beta testing for 4D v18 R3! So what advances do this feature-release have to offer?
- We strive to evolve the 4D language for a seamless and intuitive coding experience. For this, the 4D language has taken a giant leap with the introduction of Classes.
- Never be at a loss when trying to determine which operation causes a server to be slow. A new command is at your disposal to help you detect operations exceeding a specified duration.
- ORDA also has its shares of features, for example, two new member methods. The first allows you to extract data from an entity selection, and the second enables you to immediately get refreshed data from the server.
- More than 40+ standard actions have been added to the 4D write Pro interface, extending development possibilities even further.
- As for 4D for iOS, 40+ ready-to-use templates are now at your disposal (accessible from the project editor.) A single click is all it takes to install the template of your choice.
- And much more (see below).
4D v18 R2 is here
We’re pleased to announce that 4D v18 R2 is now available!
Here’s a sneak peek of what’s in store for you:
- The Form Editor‘s UX has been greatly enhanced to instantly let you know when views are used and provide many actions to simplify form design (add view, delete a view, select all objects in the view, etc.). The cherry on top? A redesigned layout and flat icons for a fresh overall look.
- Full control over your work area is available to prevent an application’s interface from being covered by the macOS dock/menu or the Windows taskbar. And a list box builder is up and running to simplify your life when building entity selection list boxes.
- 4D Write Pro ships with additional features, for example, managing formulas inside your documents and the ability to delete pictures in a snap.
- What about your 4D View Pro documents? There’s now a whole set of commands to help you add and remove rows and columns, as well as define their size, visibility, and header labels.
- Plus, the first part of a feature to receive emails is accessible, allowing you to locally download emails and remove them from your email server.
And more awaits you.
Web Scraping using object notation
Want to retrieve data that isn’t available via REST or Web Services? What if it’s only available on a website? The data is easy enough for a human to read, but reading HTML data with a programming language isn’t so simple. Some developers try to use Position and Substring, others try Regex, but it’s unpleasant and time-consuming. A very different approach is to convert the HTML into an object and get the data via object notation. Table rows are handled as collections and are easy to loop through!
This blog post describes how to use this approach and provides some handy tips.
4D Write Pro and formulas
With 4D v18 R2, 4D Write Pro is able to manage formula objects inside documents. To do so, four new commands have been created: WP Get formulas, WP Insert formula, WP Compute formulas, and WP Freeze formulas. They all can be used with intuitive targets like document, body, headers, etc. And as you may have guessed from the command names, formulas are no longer text expressions but powerful formula objects!
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