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: