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.
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.
4D Write Pro: Say hello to table headers
Tables are an essential part of 4D Write Pro. They evolve regularly by offering new presentation options. For example, a table can be displayed on several columns or pages. The table headers are repeated at the top of each column or page to make it easier for the user to read.
Starting with 4D v19 R5, the table can be enhanced with headers.
ORDA and 4D Write Pro : The power couple!
4D Write Pro documents often contain formulas returning data or calculations depending on the database. Thanks to the use of contexts, associating that data with documents is now child’s play!
In this blog post, we’ll see how the combination of 4D Write Pro documents with data retrieved using ORDA makes the code clear and easy to maintain.
ORDA – Optimize performance with full control over REST requests
With a previous version, you discovered how ORDA REST requests had been automatically optimized to increase performance when working with a remote datastore and client/server configurations.
You learned that you can use contexts to take advantage of the automatic ORDA REST requests optimization.
That was a significant step, but now we offer to have complete control over the behavior of your REST requests. Since performance is a strategic concern, you must be eager to discover this new feature!
And that’s not all; new tools are now available to help you understand and debug your issues.
Keep reading for a complete presentation.
4D v19 R5 Beta starts today
We’re thrilled to announce the launch of beta testing for 4D v19 R5. You told us where you are going next, and this release —like the one before and the ones to come — has the features to help you get there ?
- Besides introducing data contexts, 4D benefits from an upgraded SpreadJS version that brings many enhancements, such as the print interface. 4D View Pro is taking it to a whole new level.
- 4D Write Pro has its share of new features: table headers, linked paragraphs, data contexts, and many improvements to the interface widgets — offering you even more possibilities to produce documents that meet your requirements.
- We’re offering you better control over the ORDA contexts and cache for both Client/Server and REST to improve performance.
- We completely reorganized the diagnostic logs, giving you a better-filtered content (log levels such as trace, debug, info, warn, and error).
- And you can now get rid of unnecessary libraries (e.g., CEF/Web Area, PHP) to reduce the size of your applications.
- Much more awaits you!
4D v19 R4 is Here
We’re thrilled to announce that 4D v19 R4 is now available! A feature-rich release that goes all out ✨
Besides the monthly Hot Fixes, here’s an overview of what this feature release has in store for you:
Download 4D v19 R4 (monthly Hot Fixes available)
- Upon your request, we introduced support of high-resolution displays, such as 4K displays, in Windows, which results in sharper text, highly detailed photos, and ultimately a more defined user interface for business applications.
- Another highly requested feature is now available: the possibility to launch an external process asynchronously to enhance your users’ experience.
- As for the 4D language, we couldn’t be more excited to share the many improvements we made available to elevate your coding experience. From jump statements and short-circuit evaluation to ternary operators and compound assignment operators.
Tag your comments, a feature by developers for developers
Comments are essential in a developer’s life. When we work on a new feature, we often add comments that are reminders. For example:
- to validate a part of code with a colleague,
- to refactor a function,
- to fix code that is slowing down the performance,
- to split a method or a class into sections,
- to prepare the skeleton of a class and add a todo comment inside each function.
Even if you write some straightforward code, try reading it months or years later. Will it still seem simple, or would you wish you’d added comments?
4D v19 R4 takes comments to a whole new level with comment tags that enables you to better organize your comments.
Improved productivity with Object check syntax
Auto-completion for classes is available since 4D v18 R4. This feature simplifies code writing and limits errors in function names, for example. But it doesn’t avoid them entirely; it’s easy to reverse two letters or to forget a capital letter, and then have to spend time looking for why your code doesn’t work.
So what better way than to ask 4D to check if the classes or functions already exist?
Starting with 4D v19 R4, a warning is displayed in the code editor if you call a function that does not exist.
NULL value to blank value? No more default mapping
When you create a new field in your database, 4D allows you to choose to map NULL value to blank values or not. Starting from 4D v19 R4, in new projects, 4D will no longer by default map the NULL value to an empty value.
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