BLOGS

13

warning: file_get_contents(http://www.telize.com/geoip/54.81.150.27) [function.file-get-contents]: failed to open stream: HTTP request failed! in /var/www/www.4d.com/docs/includes/common.inc(1762) : eval()'d code on line 4.

Compare Pictures

Pictures may look similar, but are they really identical? The new function "equal pictures" will give you the answer!

The function returns "true" or "false" depending on the result.

 

It also builds a mask that shows you the differences between the pictures you compare.

 

Download for Windows or Mac

HTTP Client

As of 4D v13, there is a built-in HTTP client in 4D.

This "How Do I" covers the various commands that are used with the new HTTP client.

 

Download for Windows or Mac

Get Text Keywords

When storing a text with a keyword index, the field content is parsed to fill a keyword list in order to build the index. A new command does the same on a passed variable (or field).

GET TEXT KEYWORDS(theText ; the TextArray) fills an array with all words within the text. 

 

GET TEXT KEYWORD(theText ; the TextArray ; *) fills an array with all unique words within the text.

 

Download for Windows or Mac

Multilingual spell-checking

Take advantage of the power of a Hunspell-compliant spell checker, capable of supporting 100 languages.

This makes 4D’s already solid international deployment credentials even greater.

 

Web Get Body Part

Called in the context of a Web process, the WEB GET BODY PART command parses the "body" of a multi-part request.

This demonstrates how to use this command to get a file via the browser.

 

Download for Windows or Mac

4D SQL Code Samples

This example database demonstrates the possibility of carrying out queries thanks to the 4D language as well as using the SQL language.

 

Specific examples show both languages in parallel so that they can be compared easily and in order to highlight their respective advantages.

 

Comments and explanations are provided during the execution of these queries.

 

Download for Windows and Mac

A practical guide to using SVN with 4D

After a quick introduction of SVN covering "universal" RC concepts such as: repository, working copy, check out, check in, update, conflict resolution, branching, merging, rollback; we will get into using 4D with SVN. We will cover SVN server and SVN client. Join us to learn best practices, development scenarios, build automation, helpful tips for using 4D in a SVN context as well as advanced techniques.

4D v13 Deprecated Features

Giov, 2012-02-23 17:55

This document starts with a quick list of deprecated features for the 4D v13 product line, followed by details about each of them. A complete list of deprecated commands follows.

4D Static Web Builder v2

This application shows how a relational database can be published on the Web either as static or dynamic pages.

It also shows how to transfer, via FTP and using 4D Internet Commands, the static site that is generated.

 

Further indications are given during the demonstration.

 

Download for Windows or Mac

4D SQL

This example database demonstrates the possibility of carrying out queries via the 4D language as well as SQL.

Specific examples show both languages in parallel so that they can be compared easily and in order to highlight their respective advantages.

 

Comments and explanations are provided during the execution of these queries.

 

Download for Windows or Mac