R-RELEASE

NEW IN 4D V14 R4

warning: file_get_contents(http://www.telize.com/geoip/54.234.255.29) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/www.4d.com/docs/includes/common.inc(1762) : eval()'d code on line 4.
For customers with a 4D Maintenance contract and 4D Partners, the current R-release is available at the 4D Store for free download.

 

Download 4D v14 R4

 

Path to a full 64-bit 4D product line

4D Server for Mac OS X 64-bit had been released as a preview with 4D v14 R3. As the latest step in the 64-bit product line, 4D Server v14 R4 (still a preview) includes the following new functionalities ready for 64-bit:

  • NEW - 4D Internet Commands plug-in 64-bit
  • NEW - Graph generation on server
  • NEW - HTTP client certificate management

 

64-bit evolution

The 4D tag revolution

Use “smart templating” techniques to output your data in most any text format imaginable. JSON, XML and HTML are just the beginning. You have the power and control to build the output using a number of control loops or newly-added arbitrary parameters. You can even embed and evaluate 4D code inside your template.

 

4D Tag flow


Developed over ten years ago to evaluate HTML templates, the PROCESS 4D TAGS command has evolved drastically. The newest major improvements allow the command to be used for any kind of template processing, but even further, to execute complex, structured code. PROCESS 4D TAGS creates a dedicated interpreter context, containing its own set of local variables, in both interpreted and compiled mode. It allows expression execution (such as variable assignment or command execution), and even parameters can be passed to the code.


Download example database
4D-Tags.zip

4D is listening to customers

We are continuing to implement the features most demanded by 4D developers. Here is an example of what you will find in 4D v14 R4.

 

Import/export a database structure programmatically

Similar to the functionality in Design mode, two new commands, IMPORT STRUCTURE and EXPORT STRUCTURE, allow you to import/export a structure via code. This feature is important for automatic testing and introspection.

 

Export structure

 

Import structure

 

Find in sorted array

The new command Find in sorted array drastically improves performance, especially in very large arrays, when the array is sorted. The command returns information that allows you to know:

  • the number of occurrences, when the element has been found
  • the position where the element should be inserted when the element has not been found.

 

Without any additional work or execution time, you can do everything by calling a single command, effectively killing two birds with one stone.

 

Download example database
Find-in-sorted-array.zip

 

The Find in Sorted Array is extremely interesting for us. After we make the request, the addition of automatic insertion of an item not found makes this an ultra-optimal feature. Stanislas Caron - UpSide

 

4D View: Get cell border definition programmatically

Improved generic programming as well as a procedural reading of 4D View allow you to automatically create other documents, such as Excel XML files.

 

 

 

 

Download Example Database
4D-View-Get-Borders.zip

 

 

4D Internet Commands mail content-type SMTP attachment

The command now allows you to specify the content type of each attachment, for example "application/msword", allowing the recipient of an email to open attachments in a specific application.

 

 

New property to define radius for rectangles with rounded corners

Rectangles now support customizable rounded corners. You can define them in the Form editor properties, as well as by programming language (getter/setter).

 

Rounded rectangle radius

 

 

Congratulations on adding these new possibilities to the object. We've also tested the language commands and they work very well. This will allow us to provide improved interfaces to our clients. Roland Mulder - Micro-Consulting
SQL


Performance improvement for SQL SELECT DISTINCT

Running a distinct Select on a non-calculated field is about 80% faster than before.

 

 

 

 

 

More features

 

Mac OS X Yosemite


Build Application improvements for Mac OS X 10.9.5 and above

Generate 4D-certified solutions that are ready for the code signing rules in Mac OS X 10.9.5 and 10.10 (Yosemite).

 

 

 

 

 

4D Debugger - locked records


Show record lock count in debugger

In both 4D Server and in 4D, in the "Watch" pane of 4D Debugger and Runtime Explorer, under each table watch icon, the count of total locked records for that table will be displayed.

 

 

 

 

 

Show form values by object names in debugger

The increased use of dynamic variables in 4D forms (variables without a variable name, i.e.  “$form.9.1”) can make debugging painful. The enhanced debugger displays object names, as well as an improved listing for subform objects, so that it is easy to identify.

 

4D Debugger before/aftger

Available now

All of these features are tested and production-ready (with the exception of 64-bit features in preview) and immediately available in 4D v14 R4. Download now. 

Learn more about R-releases here.