Tips & Tricks for your 4D Apps – June Edition
by Add Komoncharoensiri, Director of Technical Services at 4D Inc
Here we go with another set of tips and tricks.
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 16 tips:
GitHub 4D Awesome List — Call for Contributions
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.
4D and Git: From Beginner to Expert
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.
How to browse GitHub to find all 4D projects
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.
- On 4D, you can find the source code of the internal 4D components. So you can adapt them to your needs.
- 4D Depot contains all the help tools: HDIs, demonstrations, application examples, etc.
- 4D Go Mobile hosts all custom list forms, detail forms, login forms, formatters, and input controls.
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.
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:
New Tips & Tricks for your 4D Applications
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:
ORDA – REST request optimization step by step (+ A demo)
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.
What’s new in the 4D Write Pro Interface widget?
4D Write Pro offers many possibilities for both developers and end-users. A wide range of commands and standard actions are available for developers to create advanced and beautifully designed documents, while end-users are offered two feature-rich interface widgets.
Guess what 4D v19 R5 is bringing? Yes, we’ve added a set of features to the interface widget, such as management of line height!
Here are the new features in 4D v19 R5:
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