Files, Folders… and now File Handles!
The File and Folder commands, which appeared in 4D v17 R5, enable you to manage folders and files on disk in a modern and efficient way.
When it comes to writing and reading, the setText and getText functions are at your disposal to read or write the entire content. But what to do if you want to read or add one or more lines to an existing document? This can be done more efficiently than ever using the new “file handles” objects in 4D v19 R7.
Keep reading for details!
Create, delete, and rename mailboxes with IMAP
The Mail feature, a huge feature set. The first part was released with 4D v17 R4, and since then we have delivered more and more functionalities.
4D v19 is no exception, as it brings new functions to help you manage your mailboxes by programming. That includes creating, renaming, and deleting mailboxes. A mailbox is displayed as a folder in email clients such as Microsoft Outlook or Apple Mail.
4D for iOS: Go fully offline
Nowadays, mobile users expect apps to work even when they’re offline. Otherwise, a poor network connection can give a poor user experience. Offline mode is no longer just an extra feature you can choose to add to your app, it’s something many users expect, especially for delivery apps with GPS navigation, apps for urgent medical assistance, construction businesses, and banking apps.
As you may already know, since v17 R2, 4D for iOS already allows users of the application to view data offline. But something was missing.
What about offline tasks?
Deprecated and Removed 4D features: Why and How?
For over 36 years, our main goal has been to enhance our product while ensuring the compatibility of your 4D applications. This, of course, brings change, and change can be frustrating. With this in mind, we always aim to minimize the impact on your businesses with timely announcements, and most importantly, an improved alternative to the deprecated or removed functionality to ensure a smooth transition.
4D for iOS: Sign and read barcodes from your app
Actions using parameters have been available since 4D v17 R5, and we’re constantly working to make your apps more and more interactive with enhanced mobile experiences. In 4D v18 R6, new parameter formats are available: Signature and Barcode!
Sharing leads to performance
Following this blog post about the new concept of shareable entity selections and the subsequent discussions on the forum, we’ll now take the time to explain how ORDA fits into the future.
4D Write Pro – Full text indexation
“I want to find all of the documents that talk about tango! I need them quickly! Can I do that?”
Ok, but first breathe!
Keyword searches within 4D Write Pro documents simply require adding a new indexing attribute within each document. This isn’t done by default because this type of search is not often necessary so it wouldn’t make sense to systematically increase the size of the documents. However, when it’s needed, this type of index is very easy to build.
ORDA – Improve your API with function scope
4D v18 R4 and ORDA made it possible for you to create high-level class functions above the data model. This allows you to write business-oriented code to hide complexity, reduce errors, and speed up the development process.
With 4D v18 R5, we’re bringing even more features to help you optimize and organize your code. For example, you might need to run a function locally on the client to improve performance when working in client/server mode. It’s now possible! Or if you expose your database as a REST server, you might want some functions to be available on the server-side but hidden for your REST clients. This is also possible!
How to create a simple “TimeStamp” class in 4D
by guest author Tiran Behrouz, 4D developer (Vancouver, Canada)
The introduction of ORDA in 4D v17 was a game-changer. Now with the introduction of classes in 4D v18 R3, we will witness a paradigm shift in 4D programming. We can now take advantage of object-oriented programming concepts such as polymorphism, composition, and inheritance to write our own class libraries. In this video, I demonstrate how to code a simple TimeStamp class using 4D and ORDA.
4D Write Pro interface widget: Import & Export
You asked for a way to import and export different document formats via the 4D Write Pro widget and once again, 4D listened!
In addition to the 4D commands that already allow you to import and export documents in different formats, such as export .docx format with 4D v17 R4 and PDF format with 4D v18 R4. Now, 4D Write Pro can import and export different document formats via the widget from the toolbar and sidebar.
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