Create, update and delete data with ORDA
4D v17 introduces ORDA, a major evolution in 4D which is opening a world of new possibilities for 4D developers. To learn more about ORDA and its benefits, check out this post to see how ORDA will change the way you work. In order to guide you through the ORDA exploration, we’ve prepared a series of blog posts fully dedicated to the core concepts and related features. This blog post will detail how you can perform CRUD operations on your database with ORDA. CRUD is an acronym for the four basic operations you can perform on data: Create, Read, Update, and Delete.
How ORDA will change the way you work
Imagine a way of using your database with an object-oriented approach, without worrying about its physical structure. Imagine that you could maintain multiple current selections at the same time or that you could perform recursive queries in a single line of code. Well, this is now a reality thanks to ORDA! With 4D v17, your code can be written in an object-oriented mode, and you can easily navigate through your entire data model.
ORDA was one of the major announcements of 4D Summit 2018, opening a world of new possibilities in 4D. It’s now time to give you more details about the ORDA features available with 4D v17. To do so, we’ve prepared a series of blog posts dedicated specifically to ORDA core concepts and related features. And we’ll release them, one after another, day after day.
4D v17 BETA STARTS TODAY!
We are thrilled to announce the launch of beta testing for 4D v17! This major release is chock-full of enhancements and new features that one blog post is not enough to cover them!
With that being said, 4D v17 Beta introduces more than +60 advances including improvements to existing functionalities as well as new ones. And if you’re eager to see 4D v17 Beta in action, check out this extensive library of examples (HDIs) to have an overall idea on this release full potential.
So, let’s take a look and discover some of what 4D v17 Beta has in store for you:
- ORDA: a revolutionary concept, making it possible to use your database in an object-oriented approach.
- 4D language: major enhancements to help you boost your productivity with fewer lines of code.
- 4D Write Pro: to create complex business documents.
- Security: the highest security level off the shelf for 4D products.
- 4D View Pro: to display advanced lists and create spreadsheets.
- 4D commands: More 4D commands to enlarge your programming capabilities.
- Flexible tools: to help you design an immersive User Experience.
4D V17 is just around the corner
We have some thrilling news to announce and the title may have already given a hint!
Lately, we’ve been working on preparing the release of 4D v17, which will provide new and exciting advances and even more reliable experiences for our customers.
Easy access to log files
Log files can be extremely useful for troubleshooting. They’re also a big help for finding the root cause of an incident. Logs let us track of where a problem occurred, and when. Before, with the Get 4D folder command, you could easily access the folder containing all the logs. Now, 4D v16 R6 makes easy to find a particular log file, thanks to the enhancement of the Get 4D file command.
Backup and Security
There’s a saying about not sweating the small stuff, but when it comes to security, it’s often the little things that have the biggest impact.
On the “Backup” page of Database Settings, you’ll notice an option for an automatic restore of the last backup if your database is damaged. To provide you with the best level of protection for your data, this option is now checked by default for new databases, right out of the box.
Using path elements in objects
4D is making your developer’s life easier with two new commands to effortlessly manage file or folder paths. Save valuable time with the Path to object command which, in a single line of code, extracts the extension, the file name or the parent folder. Then you can modify and recombine the different object attributes to compose a new path with Object to path.
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.
4D Write Pro now supports picture expressions
This blog post explores a 4D Write Pro-related functionality which will help you with the creation of complex documents, programmatically. Documents that can be either printed or sent by email.
An expression can now be a Picture! Handling pictures in your 4D Write Pro documents is becoming easier, offering vast possibilities. From now on, any expression returning a picture can be inserted. The most obvious cases are fields and variables, but it goes also for 4D functions and, last but not least, your own methods!
More commands to run in preemptive processes
A preemptive process is powerful as it allows your application to take full advantage of multi-core computers; consequently, its results in a faster global execution time and more connected users. A 4D process may be preemptive or not according to compilation options and the use of the language, as explained in this post.
In order to benefit from this mode as much as possible we are pleased to announce that more than twenty existing commands have been enhanced and can now be used inside preemptive processes.
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