64-bit is the way where everybody needs to go. 64-bit allows you to take advantage of the power of the 64-bit machines and of the latest native system features for your business application.
With 4D v16 R2, 4D has reached a major milestone as 4D Developer Edition and the 4D Volume Desktop Windows 64-bit are now released as “Final” and are thus ready for production.
Start early, use it now and share your feedback through in the beta version forum from 4D Forums!
If your users are running your application as a virtualized application, chances are high they use VMWare vSphere (Hypervisor ESXi) and are using snapshots.
4D v16 R2 will automatically install a VSS writer service. VSS stands here for Volume Shadow Copy Service. When the VMWare administrator starts a snapshot, VMWare informs the guest, which informs the VSS writer, which will inform 4D Server to flush the cache and wait for one second. Then it will inform the OS that the .4DD, .4DIndx and .Journal files belong together and must be snapshot at the same time. The OS will handle this and 4D Server can continue to handle client requests. The “freeze” lasts around a second, usually not even noticed by connected users.
4D v16 introduced a new fully optimized cache manager for the 64-bit product line. 4D v16 R2 is giving power to our advanced 4D developers to take control by themselves!
The cache manager internal algorithm is based on a priority concept associated to each object type to store in the cache memory. By default, the cache manager algorithm assigns a higher priority value for an index than for records. And recently used objects (records or indexes) have a higher priority to remain in the cache than objects that have not been used in the last two days, etc…
I am pleased to announce that the beta testing of 4D v16 R2 starts today!
4D v16 R2 delivers the final version of Altura-free 4D Developer Edition Windows 64-bit as well as great improvements, among other things, as listed below:
- Better integration into the enterprise with Virtual Machine Snapshots Support
- More control and higher flexibility for the developer: Cache Manager priority control, new programmatic possibilities for list boxes, search in array in objects using linked arguments,…
- Improved user experience: horizontal ruler in 4D Write Pro, cross table in Quick Report 64-bit editor as well as a revisited Find in Design dialog.
The 4D v16 version has definitely been designed for better performance and scalability. In addition to major features like preemptive multi-threading, 4D v16 64-bit is embedding a brand new cache manager for a optimized handling of objects in cache memory avoiding any fragmentation issues.
The new cache manager improves the usage of very large cache for modern computers (with 64 or even 128 GB of Cache) allowing to take advantage of low RAM prices to have even large databases fully in memory. It also improves the situation of small cache size with very large data files, by decreasing the amount of unloading memory with increased support of priorities for data objects to be hold or released from cache.
From 4D v16, you can define at design phase the way a 4D Write Pro document will be displayed in a 4D Write Pro area. Without writing a single line of code, you can define several view attributes such as the resolution, zoom, page view mode. Advanced properties are also available to define whether you want to show 4D expressions or values for instance. Again no code to write, just a checkbox and it’s done.
With 4D v16, 4D Write Pro is now providing a higher level of protection regarding the evaluation of 4D expressions in documents.
Developers can now fully rely on 4D for checking the evaluation of these expressions. By doing so, end-user machines and databases will be automatically protected from any possible side effects.
A valid 4D expression can be a field, a variable, a 4D command, a statement returning a value, a project method, and so on.
Starting with 4D v16, “unsafe” 4D expressions will no longer be evaluated and an error will be displayed instead.
On the way to provide Windows 64-bit version of the 4D product line we reached a major milestone, an Altura-free version. Altura is a library to emulate MacOS functionality on Windows, which was used to help plug-in developers to provide their products on Windows.
Although internally 4D for the most part did not use Altura any longer for a while, it was still deeply integrated to provide the functionality for 3rd party plug-ins.
4D Write Pro is moving forward with 4D v16!
You can now insert headers and footers in your 4D Write Pro documents but also retrieve any existing headers and footers when opening an existing .4w7 document from the 4D Write plugin.
You can define document sections and add headers or footers for all or independently per section. You can have different headers/footers for the right and left page, or for the first page of the section. Of course, headers and footers can be styled as the rest of the document (font, color, margin, padding, borders…) and can contain images as well.
Object fields introduced with v15 allows unstructured data bases, similar to schemaless database (NoSQL). 4D v16 goes a big step further. Get a dynamic structure for unstructured data… Confused?
Imagine you use an object field to allow your customers to store custom data, where they can create their own fields. This works well and is one of the most interesting reasons for using an object field. The problem is, how to allow your customer to query this unstructured data? You don’t know which ‘fields’ they used, you cannot build a query editor on top or offer a drop down with used values.