BLOGS

4D FOR FLEX

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

Beyond PC vs. Mac

4D’s cross-platform compatibility and consistency is legendary. But now, there's more than just two main platforms. Each browser, each smartphone, and each tablet is a new platform. What they have in common are standards – and 4D is glad to support them.

Out of the box

4D has a built-in Web server. It has a built-in Web services server. And more features to help you get your application online right away, accessing your data directly from the Web. 

 

 

 

 

Web features included with 4D

SQL Admin with 4D for Flex

This Flex application lets you remotely administer a 4D v11 SQL database remotely, by virtue of your Flash-enabled browser or device.


A copy of this application is included with the product.
 

View online now


Username: administrator
Password: [blank]

 

Session Management Controls

Intelligently manage sessions, time-out, login, logout, etc.

Does 4D for Flex require modifying existing code?

No server-side code is necessary, but you'd better add some security control in the new On SQL Authentication database method.

What's the minimum version of 4D required to use 4D for Flex?

The minimum version of 4D required is 4D v11 SQL Release 2 (11.2)

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.

What's the difference between 4D for Flex and DAX?

They both target developing RIAs for a 4D Server. But, they really follow two different schemes:


4D for Flex works in a connected mode, without any component on Server side. The communication between the client and the Server relies on a proprietary SQL protocol (same as the one used for ODBC support for 4D SQL), so it requires opening a special port on firewalls for allowing communication.

Can you lock records in 4D for Flex?

You can use the SELECT FOR UPDATE feature. Please see the manual for more information.

Does 4D for Flex require 4D Server?

Not for development, but for deployment, yes.

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.