Product 4D Database: Sort records by object attribute

Sort records by object attribute

Automatically translated from English

At each 4D release, object fields become more and more powerful.

A new 4D command for sorting your record selections according to one or more attributes is now available with 4D v16 R2. The new command ORDER BY ATTRIBUTE works the same as the command ORDER BY; you just have to pass an attribute path by which you want to order your selection – easy!

Product refactoring web area

New rendering engine for Web Area

Automatically translated from English

4D is updating its internal component for embedded Web Area objects for the most up-to-date and well-maintained existing rendering engine. As we want to durably support the state of the art in HTML and JavaScript technology, we are changing to Blink (also used in Google Chrome) for the Web Area for all 4D 64-bit versions.

Product

Customize highlight color upon listbox row selection

Automatically translated from English

A new step is reached to provide our developers with a fully customizable listbox object, entirely adaptable to user need. A new option is available in the listboxes that will allow to improve final interfaces: this option is called “Hide selection highlight”.

With just one click this option can be activated. Once activated, the system highlight will be completely invisible.

Product

New Enterprise feature: support of Virtual Machine snapshots

Automatically translated from English

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.

Product

4D Write Pro – Horizontal Ruler

Automatically translated from English

With 4D v16 R2 you can display a graphical horizontal ruler at the top of the 4D Write Pro area ! Thanks to this horizontal ruler, the text can be easily formatted.

Prior to the existence of this graphic ruler, tabulations could only be managed by programming or using the 4D Write Pro interface widget. From now (4D v16 R2 and above), when the ruler is displayed (this is optional) the final user will have the opportunity to manage margins and tabulations easily and graphically.

Product

Take Control of the Cache Manager

Automatically translated from English

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…