BLOGS

THIBAUD ARGUILLÈRE

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

Walking, Coding, Coloring

This morning, as on most days, I was taking a stroll through my code. A little walk, cool, restful – kind of a country walk. The fact is: I’m back from vacation and during the week off, I successfully managed to not launch 4D for three straight days. After such a big break, any doctor will agree: You must go back into work slowly. Very slooooooooowly.

 

While modifying the code for a method, I was thinking that, after all, 4D v12’s new Method Edtior really rocks.

 

If you attended one of 4D v12 DevCons in 2009 or 2010, you already know (and if not, you’ll learn right now): The interface has not changed, but the engine has been totally rewritten. There are so much new features in the 4D v12 Method Editor that I can’t just build a Top 10 list of the features I prefer. Not even a Top 5 or a Top 3! From time to time, I change my mind. Basically, as soon as I’m using a new feature, I like it the best.

 

PHP: It can do it!

Over several posts, I am spending some time on major new features of 4D v12 (released last June). Today, I’ll focus on a new major major-new-feature: The PHP Execute command, which allows the execution of PHP code.

 

Well, having written “PHP Execute allows the execution of PHP code,” I realize that the name clearly stands for the function. 4D should give enigmatic names to the commands, so I can avoid stating the obvious. For example, “The Execute a script of the kind Hyper Text Preprocessor allows executing PHP code”. Now, we feel like we’re really learning something.

 

The Text Looks Great!

Every major new version of 4D brings with it some new features. Whether major or minor, what is immediately interesting for a developer does not necessarily have the same importance to another. And vice versa, when you think about it.

 

I readily admit that this is stating the obvious. On the other hand, this is my place to write such things, even when they’re obvious.

 

Objects and Properties

While a program is running, we often need to access to some types of object properties. For example, we can dynamically move and resize an object, change it to bold or italic, or modify the title of a button...

 

The “Object properties” language theme has been reworked a lot in 4D v12: Commands have been renamed, and new commands and functionalities have been added.

Find what you're looking for

A powerful, application-wide search and replace tool lets you find any item in the development environment. Your search can be as broad (any object, text, “contains” a string, etc.) or as restrictive (search for a specific constant using the full name) as you want, with results easy to view, organize and manipulate.

 

4D v12's find dialog is remarkably intuitive and easy to use. Use its menus to create a natural search sentence, like "Find variables whose name contains airport."

Additional search options

4D v12 provides additional options to help you fine-tune your searches.