Our top 10 blog posts from 2017!
From Object Notation to 4D Write Pro and security to straightforward tips, 2017 had it all! Let’s take a look back with ten of our most-read posts. Here are the topics that grabbed your attention in 2017:
Four different ways to use objects with 4D Write Pro!
Quite frankly, we love objects. 4D Write Pro uses objects as the input/output of commands and functions to manipulate documents, text, paragraphs, etc. In this blog post, we’ll show you four different ways to use objects with 4D Write Pro.
Enhancement of Get process activity command
The Get process activity command, added with 4D v16 R4, makes it possible to retrieve a list of running processes and connected users. With 4D v16 R5 we’ve further enhanced the command to make parsing the results easier. In addition to that, a new systemID attribute has been added to uniquely identify any process, whatever its type: user, 4D or spare.
Don’t be afraid of undefined values
With 4D v16 R4, we introduced Object Notation which is a great enhancement to the 4D language: your code is fast, flexible, efficient and elegant! This feature created a lot of interest on the 4D forums and we received a lot of feedback from our customers highlighting situations when there were undefined values making the code challenging to write.
With 4D v16 R5, we have taken your feedback into account and have simplified the use of undefined properties and values with Object Notation.
4D v16 R5 Beta starts today!
We are pleased to announce the launch of beta testing for 4D v16 R5! It’s chock-full of interesting things, so let’s take a look and see what 4D v16 R5 BETA has in store for you…
This release introduces some compelling features and enhancements, including:
- Enforced security for 4D Web Server and password handling with appropriate and effective protocols and algorithms.
- Simplified handling of undefined values in the 4D language.
- The ability to programmatically manage your 4D Write Pro headers and footers.
- Fully automatic adaptation of a list’s row height in 4D View Pro.
4D v16 R4 is here!
4D v16 R4 is now available!
Beyond new opportunities of customizing and enhancing your application interface, 4D v16 R4 is bringing huge improvements to the 4D language. Download 4D v16 R4 and discover one of the most feature-rich R-releases ever!
New type supported by 4D: Null
4D introduces a new Null type to ease the management of objects and collections. Thanks to the null value, you can represent a missing value and easily verify if your object or collection is correctly set.
4D initiates a new variable type: Collection
4D v16 R4 introduces a new type of variable called Collection. What are these variables intended for? Like Objects or BLOBs, collections can be used to hold almost any kind of variable types like texts, numerics, booleans, objects and even other collections. The good thing is that, all these variables types previously mentioned can be mixed inside the same collection, where arrays must always contain the same type of elements!
Discover how object notation can simplify your developer’s life!
With the object notation, available as a preview in 4D v16 R4, your code is simpler to write, easier to read and more natural to think. That is true. But did you really see the full potential of the object notation?
Before 4D v16 R4, when you wanted to create a detail form to enter contact information from an object field, you had no choice but to write an expression like OB GET ([CONTACT]Info; “City”) in the variable data source. You could retrieve the attribute value, but it was not possible to change it. Moreover, you had to write a loadRecord method with the OB GET command for each attribute and a saveRecord method with the OB SET command for each attribute.
What does object notation change in this scenario? From 4D v16 R4, you just write [CONTACT]Info.City in the variable data source! This variable is available in Read/Write mode. OB GET and OB SET commands are no longer necessary. That’s it! Now you see the full potential.
Another way of coding: Object notation
Objects are great, everyone says so. Beside their wonderful flexibility, they are unbelievably fast. You can search through millions of records in just a fraction of a second. 4D v16 even allows to order by object attributes, and to do calculations such as Sum or Average.
With 4D v16 R4, the 4D language has been drastically enhanced to make the usage of objects much more comfortable – with the support of the object notation. Fast, flexible, efficient and now elegant!
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