Deprecation of PHP Commands & Removal of 4D Built-in PHP Interpreter
PHP has played a crucial role in web development, and it was introduced into 4D v12 to offer features not readily available in the native language, such as zip, hash, or LDAP functionality. Over time, 4D has incorporated many of these PHP features into its core functionality. As a result, we decided to remove the built-in PHP interpreter in 4D v20 R3 and begin the deprecation process for PHP commands in v21.
While we won’t entirely remove the PHP commands from 4D, we strongly encourage you to use the system workers to execute PHP code in the future.
This blog post will guide you through this transition process, demonstrating how to use an external interpreter through PHP Execute and explaining how to execute PHP code effectively with a system worker.
VS Code Extension: Show 4D Documentation
4D v20 R3 comes with a new Visual Studio Code editor feature thanks to the 4D-Analyzer extension — the “Show 4D Documentation” feature!
Track data changes in your database
In this blog post, we’re thrilled to introduce a powerful method to revolutionize how you manage and track changes within your data store. We’ll unveil the concept of a “stamp”, a specialized marker designed to streamline your data modification monitoring and show you how to tailor these stamps to your unique requirements.
Sync Several Collections with this new Function
4D offers powerful features to work with object collections. For example, you can create a collection of cities with their associated countries and continents. Manipulating these collections with built-in functions like sort, order, and filter becomes a breeze.
4D v20 R3 introduces the new multiSort() function to simplify this process. With this function, you can now easily sort and synchronize multiple collections.
4D Write Pro : PDF/A Format Is Now Available For Export!
The PDF format is now a classic and has been available for exporting 4D Write Pro documents for several versions. The PDF/A format is available optionally while exporting 4D Write pro document to PDF from 4D v20 R3 and will open the door to other possibilities, such as electronic invoicing in the near future. But before that, let’s focus on PDF/A and its differences (positive or negative) from the conventional PDF format.
4D v20 R3 Beta Starts Today
We’ve been quite active here at 4D over the past few months. We trust that our release of Qodly Studio in Developer Preview has kept you engaged and busy, and we want to extend our gratitude to all of you who have been testing it.
And now, we are thrilled to announce the launch of beta testing for 4D v20 R3 … starting today!
Let’s uncover all that this feature release has to offer:
- 4D Write Pro is out with two features that are sure to capture your interest. You can now assign names to formulas to enhance clarity. Plus, export documents in the PDF/A format.
- As for the new programming capabilities, we are improving your coding experience. This includes a one-line variable declaration and initialization, simplified function declarations for any number of parameters, and global stamps for incremental synchronization that is no longer limited to 4D for Mobile but can be applied to multiple scenarios via the 4D REST Server— among other enhancements.
- A new 4D View Pro blob format allows storing compressed documents in your database, providing the same high performance as the .sjs format.
- A new Visual Studio Code extension feature that provides easy access to 4D documentation.
- And that’s not all —Much more awaits you!
4D v20 R2 is Here
We’re thrilled to announce that 4D v20 R2 is now available!
Here’s an overview of what this feature release has in store for you:
Download 4D v20 R2 (monthly Hot Fixes available)
- 4D Write Pro continues to evolve with impressive updates. You can now seamlessly merge cells in tables, allowing you to create more visually appealing and structured documents. Additionally, the new Table Wizard simplifies the creation of 4D Write Pro documents containing tables, saving you time and effort.
- Regarding error handling, we’re introducing the ‘throw’ command, a powerful addition to the 4D language, to give users more precise feedback when issues arise and implement more effective error logging.
- Visual Studio Code extension comes with additional capabilities. Besides functionalities such as syntax highlighting, Go to Definition, Signature Help, code completion, code folding & indentation, and syntax checking, we’ve added code formatting. This enhancement ensures your code is clean and consistent.
- Say goodbye to delays and hello to a more responsive user experience with the new WebSocket client feature. This feature revolutionizes how users engage with your applications, making them more dynamic and engaging.
- Working with larger files in 4D View Pro is now a breeze with the introduction of the .sjs file format. Designed specifically to address performance challenges.
- Explore the new functionality to send emails via the Gmail API, expanding your communication capabilities. More features will follow to leverage the power of Gmail for your messaging needs.
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