Tips

GitHub 4D Awesome List — Call for Contributions

Automatically translated from English

To stay competitive in the software industry, one should always seek innovation and build momentum for change.

In that spirit, 4D has always given you the right technology to grow and expand. Project mode is one example that comes with a tremendous benefit: the ability to use Git to get your 4D application up and running in a more productive development environment.

So we decided to create a 4D Awesome list, where we gather all the collective wisdom in one place to make 4D developers’ life a little easier.

If you’re a Git/GitHub user and have a fantastic project that you believe could help fellow developers, you might want to contribute to the 4D Awesome list, where awesome projects live!

This blog post explains the concept of an Awesome list and how you can contribute.

Tips

4D and Git: From Beginner to Expert

Automatically translated from English

So by now, you know that projects come with a tremendous benefit: the ability to use Git (the revision control system) and GitHub (the hosting service) to get your 4D application up and running in a more productive development environment.

Newbie or full-fledged senior developer version control has been a staple in every work environment where multiple resources collaborate to participate in what could be called a software chain of production.

To help you get familiar with Git, we’ve made available many resources at your disposal. This blog post is a compilation of everything we’ve provided on this topic… so far. If you feel lost and don’t know where to start, keep reading; we’ve included:

  • other blog posts,
  • a detailed guide,
  • a top-rated summit video,
  • and even a training course.
Tips

How to browse GitHub to find all 4D projects

Automatically translated from English

With the introduction of projects in 4D, the source code of components, demo applications, and other tools in 4D are hosted on GitHub.

4D has three GitHub organizations.

 

You can find these links to the various GitHub repositories from the 4D websites; for example, from the 4D blog to illustrate new features, from the Resources page of the 4D website for demo examples, or from the gallery for Mobile.

But, you can also from GitHub, search, bookmark, and so on… This blog post will introduce some basic features to improve your usage and navigation on GitHub.

Tips

System Worker— File Transfer Class to use Dropbox or GDrive

Automatically translated from English

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:

Tips

System Worker— File Transfer Class to use cURL for FTP, FTPS, SFTP, HTTP

Automatically translated from English

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:

Tips

New Tips & Tricks for your 4D Applications

Automatically translated from English

by Add Komoncharoensiri, Director of Technical Services at 4D Inc

 

As you know, 4D Knowledge Base is a library of information about the 4D technology where weekly tech tips and monthly technotes are actively published. If you missed the last tips on the KB, that’s fine; here is a compilation from the past few weeks.

This blog post covers 12 tips:

Tips

ORDA – REST request optimization step by step (+ A demo)

Automatically translated from English

ORDA/REST performance is a strategic matter; that’s why we shipped many features related to this topic, such as the ORDA/REST request optimization in Client/Server and when working with a remote datastore. Lately, we also gave you complete control over the ORDA/REST request optimization.

This blog post gives you the plan to follow in order to ace your ORDA/REST performance game. It includes other blog posts to read, videos to watch, and a demo to play with to increase performance in your applications quickly and easily.

Tips

Tech Tips — The 4 Tips of April are Here!

Automatically translated from English

by Add Komoncharoensiri, Director of Technical Services at 4D Inc

 

As a 4D developer, you have to keep up with the new advances 4D is continuously shipping. Besides tips and tricks provided by the product team, Tech Tips are another reference for learning some of the 4D concepts.

This article covers 4 tips:

  • How to treat SQL wildcard characters as a literal string
  • Programmatically get the project name
  • Preemptive methods under the same call chain should also be preemptive
  • Creating a new View Pro document based on a Sheet
Tips

How to notarize your merged 4D application (macOS 12 & Xcode 13)

Automatically translated from English

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: