Blogues

4D FOR FLEX

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

La guerre des systèmes n'aura pas lieu

La compatibilité Mac/PC de 4D est légendaire. Mais aujourd'hui il ne faut plus seulement compter avec ces deux platesformes. Chaque navigateur, chaque smartphone, chaque plateforme internet riche constituent autant de nouveaux standards... que 4D est fier de supporter.

 

Sortie de boîte

4D a un serveur Web intégré et un serveur de Web Services intégré. Et de nombreuses fonctionnalités vous permettant de mettre en ligne votre application dès la première utilisation.


 

 

Internet et Web applications avec 4D

La nouvelle frontière

4D a depuis longtemps démontré la fiabilité et la robustesse de sa plateforme pour des appiications autonomes.

 

Puis, lors de l'avènement du client/serveur,  4D s'est également approprié ce domaine, en se donnant comme préalable que votre application existante, tout comme son code, devaient pouvoir s'adapter facilement et sans risque à l'environnement client/serveur.

 

Administration SQL avec 4D for Flex

Cette application Flex vous permet d'administrer à distance une base de données 4D v11 SQL distante, grâce à l'activation Flash sur votre navigateur ou périphérique.


Une copie de cette application est inclus avec le produit.
 

Visualisez-la en ligne


Nom utilisateur : administrator
Mot de passe : [vide]

 

I'm having a conflict with 4D for Flex and Adobe AIR

“I tried to create an AIR project using 4D for Flex but there seems to be a conflict. It looks like some of 4D for Flex's classes conflict with AIR's own SQL classes. SQLConnect is one of them.”


1) The approach of using what we call the Flash layer is not supported as it is explained in the manual.

 

2) If you still want to use this API, you can fully qualify this function as a workaround:

 

Where's the French localization file in 4D for Flex?

“Any beginner Flex user with a fresh FB3 install wil not have a fr_fr locale and will not be able to compile/run the demos.”

 

Adobe does not provide the "fr_FR" locale (only English & Japanese locales are provided by default).  You will have to create your own locale by using the "copylocale" tool provided by Adobe.

 

Using the "Adobe Flex 3 SDK Command prompt", just type: copylocale en_US fr_FR

How do I resolve a security alert in 4D for Flex?

You may receive the following error:

 

Error #2048
Security sandbox violation
http://localhost8080/SpendingsUI.swf cannot load data from localhost1919

This is due to a change in the Adobe Flash Player Security Model starting from version 9.0.124. See:

http://www.adobe.com/support/security/bulletins/apsb08-11.html
 

To fix this issue, you will need to use 4D Server v11 SQL Release 2.

 

How big is 4D for Flex?

• The 4D for Flex component (Flex4D_SQL.swc) is 524k by itself.

• The Flex4D+Controls.swc (DataGrid…) weighs in at 716k.

• A demo like Spending (including both components) is 388k.

Is there any utility tool for debugging communications in 4D for Flex?

There is no utility like an HTTP sniffer, as 4D for Flex uses binary sockets.


But you've got:

• a SQL Server side log – See the provided examples for how to activate it.

• an AIR component for tracing communication between Flex and 4D

What user interface controls does 4D for Flex provide?

4D for Flex currently offers:

 

• custom DataGrid inheriting from Flex DataGrid

• some navigation controls (like automatic first-next-last...)

 

But you can also use Flex UI Controls like the Adavanced DataGrid, available in Flex 3 Builder Pro: http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_6.html

What's required for development with 4D for Flex?

Apart from a 4D SQL server, you need the Flex SDK.

 

You can get if for free from Adobe's site (http://www.adobe.com/products/flex/) and use it with the command-line, or use the commercial IDE Flex Builder provided by Adobe.