BLOGS

SUPPORT FOR STANDARDS

warning: file_get_contents(http://www.telize.com/geoip/54.166.245.10) [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.

Webkit integration

From its very early days, 4D has been committed to cross-platform equality. And with the growing use of the Web as a platform in and of itself, 4D’s Web Area has been a popular method of incorporating Web-based technologies such as HTML5, CSS and JavaScript directly into your applications.

Earlier implementations of Web Area were sometimes limited by each platform’s native browser engine, namely Safari on Mac OS X and Internet Explorer on Windows. The integration of the open source Webkit engine into the Web Area guarantees HTML compatibility across platforms.

 

PHP Integration

4D v12 lets you directly execute PHP 5.3 scripts within 4D applications, thanks to our FastCGI compiled interpreter.

(You may use other interpreters, providing they are compatible. See documentation for details.)

 

Go beyond Web scripting and add real functionality to your applications.

 

You get access to a wealth of utility libraries available via PHP, providing functions such as:

  •  ciphering and hashing (MD5)
  •  handling of HTML files
  •  image handling
  •  LDAP access
  •  COM access (for Microsoft Office documents)

 

SVG Area

Taking advantage of 4D's powerful integrated SVG capabilities, the SVG Area component brings a manipulable SVG field to your user interfaces.

The SVG Area field allows you to create vector graphics, whether hand-drawn or programmatically generated, connected to data in the host application. It supports shapes, colors and standard 4D fill patterns, and can also contain bitmap images in the form of links. The area's contents can be stored in a record or exported as an SVG file.

 

Flash Your Charts

This example demonstrates 4D's ability to use external PHP libraries to add functionality to any application.

In this case, we use PHP and Flash to illustrate and animate charts based upon 4D data.

 

Download for Windows or Mac 

 

SVG Goodies

The SVG Goodies application offers several methods that take advantage of 4D's integrated SVG image capabilities.

These methods include image rotation, creating reflections, and more, and can be used in your own projects freely.

 

Download for Windows or Mac

PHP Integration

4D v12 lets you directly execute PHP 5.3 scripts within 4D applications, thanks to our FastCGI compiled interpreter.

(You may use other interpreters, providing they are compatible. See documentation for details.)

 

Go beyond Web scripting and add real functionality to your applications.

 

You get access to a wealth of utility libraries available via PHP, providing functions such as:

  •  ciphering and hashing (MD5)
  •  handling of HTML files
  •  image handling
  •  LDAP access
  •  COM access (for Microsoft Office documents)

 

4D Pictures

This application shows off 4D's image processing capabilities.

Images can be displayed in various ways, as well as transformed. They can be imported, exported, and changed from one format to another (i.e. JPG to PNG).

 

Other possibilities are demonstrated as well.

 

Download for Windows or Mac

Unicode Support

This example demonstrates 4D's ability to display Unicode characters.

It also shows the conversion of characters when using the Uppercase and Lowercase functions, as well as 4D's capacity to convert from one standard to another (i.e. ISO-8859-1 to UTF16) via intermediary BLOBs.

 

Download for Windows or Mac

 

4D SVG

The 4D SVG component is installed with 4D v12, so that all your solutions can take advantage of its advanced graphic capabilities.

The component provides commands to meet your most frequent graphical needs, giving you access to parameters that will let you create your own SVG graphics, or modify existing SVG files from other sources.

 

It includes an SVG Viewer that will let you view your SVG files both as an image and as the XML source code. A separate Syntax Palette lists all of the component's commands - logically grouped by theme - which can be dragged and dropped into your 4D methods, along with all of their parameters.

 

Picture Metadata

As images have become more prominent in computing, so has their accompanying metadata.

Popular image processing applications like Photoshop, Aperture, iPhoto, etc. and sites like Flickr and Picasa use metadata to help classify and organize images.


4D v12 supports image metadata standards in the form of EXIF, GPS, IPTC and TIFF, all of whose properties can be read and written by new SET and GET functions.