System Worker— File Transfer Class to use Dropbox or GDrive
The first part of the System Worker series showed you the power of system workers, and the second one focused on the actual usage by going through the File Transfer class to use cURL for FTP, FTPS, SFTP, and HTTP.
In the final part of this sequel, we’ll see how the ready-to-use component —download it from here, allows direct access to Dropbox or GDrive, using the same commands as FTP operations:
System Worker— File Transfer Class to use cURL for FTP, FTPS, SFTP, HTTP
The first video showed you the power of system workers and the flexibility they bring along.
This sequel will focus on the actual usage by going through a ready-to-use component that simplifies cURL (included in Mac and Windows OS) and enables file transfers with a wide range of protocols or servers. Download or upload files and receive directory listings; everything you need to perform a file transfer.
The component provides a progress bar (for one or more parallel operations), including an optional cancel button, allowing the end-user to abort long-running operations.
The 15-minutes video explains how to use the class:
System Worker Vs. LAUNCH EXTERNAL PROCESS
System Workers might look like LAUNCH EXTERNAL PROCESS — but they’re way more powerful.
This 15-minute video explains how to use System Workers with more than just the LAUNCH EXTERNAL PROCESS command. Besides simple usage, it also shows how to use callbacks to receive information from a running external application, such as a progress bar:
Hot Fixes for Feature Releases
If you are one of the customers keen to use a Feature Release but still hesitant because of the time it takes to get bug fixes, we are bringing good news, and the title may have already given a hint!
Starting with 4D v19 R4, we will have monthly Hot Fixes for the current Feature Release.
How to notarize your merged 4D application (macOS 12 & Xcode 13)
Note: Update for macOS 12/Monterey and Xcode 13. For Xcode 12 and older, see this blog post.
With Monterey (macOS 12), it’s highly recommended that you notarize applications distributed over a public network. A significant number of developers transfer their applications using a connected storage device or via file-sharing; notarization isn’t required in these cases where the user already trusts the developer. Notarization aims to assure users that the application isn’t malicious and is only required for applications downloaded from a website.
Using our built-in signature feature when building your applications with 4D v18, your application is ready to be notarized. This process is conducted outside of 4D. It involves adding an electronic signature to your application and submitting your signed application to an automated inspection service. Here’s everything you need to know:
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.
How to notarize your merged 4D application
With Catalina (macOS 10.15), it’s highly recommended that you notarize applications distributed over a public network. A significant number of developers transfer their applications using a connected storage device or via file sharing, notarization isn’t required in these cases where the user already trusts the developer. The purpose of notarization is to assure users that the application isn’t malicious and is only required for applications downloaded from a website.
If you use our built-in signature feature when building your applications with 4D v18, your application is ready to be notarized. This process is conducted outside of 4D. It involves adding an electronic signature to your application and submitting your signed application to an automated inspection service. Here’s everything you need to know:
Get your macOS applications ready for notarization with 4D
Catalina (macOS 10.15) is now available and Apple has announced that the notarization of software distributed outside of the App Store has become a requirement. This may raise a few questions: what if my 4D application isn’t notarized? Will I be able to notarize it? How? Don’t panic! We’ve got you covered and this blog post provides the answers.
Customize the admin dialog with 4D code
There have been requests to modify the 4D Server administration dialog, with some customers wanting to remove information and others wanting to add customized information. This AdminWindow component shows you how to do just that. You can use it “as is” or modify it to fit your needs.
4D Project: Embrace a new era of collaboration
4D has been a longtime supporter of team development, ever since 4D Server 1.0. The greatest benefit of working together on the same source code, is allowing both team development and team testing. However this can create some disadvantages for distributed teams since they may not be able to work on the same source.
Following a complete rewrite, 4D now supports two ways to work with sources: binary and project. Binary is the 4D we all know and love, with the source in a binary file to allow team development with 4D Server. Project makes it easier for distributed teams to work collaboratively by storing the source in a source control system in plain text files.
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