1 Reply Latest reply on Jul 9, 2008 4:10 AM by Karl_Sigiscar_1971

    Developing 3D "worlds" in flex

    Level 7
      Hello!

      Many years ago I developed a VRML driven document retrieval application
      in 3D. 3D-wise It was quite simple:

      * It downloaded a file with objects (document representations),
      represented as coordinate tuples
      * built a droplet around each tuple
      * placed a compass on one corner, so that users could orient
      themselves while moving along directions.
      * simple interaction (moving and rotating) was supported by the VRML
      viewer (for eample Blaxxun or cortona).

      On the more interactive side, these droplets were active, hover and
      click sensitive. This was supported by an applet conforming to an
      interface named of EAI (External Authoring Interface), which development
      was discontinued around 2001, I think. This interface supported
      callbacks, activating Java methods that could manipulate the objects in
      the world, as well as access a database through JDBC (where the objects
      were stored) change their data attributes, download and display new
      objects, and the like.

      I would like to re-develop this application, on the web, using a more
      sustainable technology, and from what I heard, Flex is such a
      technology. Browsing the web, I came across an engine named Away3D that
      seems capable of supporting building the world.

      One obstacle is database connectivity.
      I understand that Flex does not have that.
      I hope to cater for database connectivity using flex with Ajax, or
      another work around.

      Greatful to any hints / comments / advice. Alternatives also welcome!!

      Michael
        • 1. Developing 3D "worlds" in flex
          Karl_Sigiscar_1971 Level 3
          Never heard of Away3D but Papervision 3D is the most known ActionScript realtime 3D engine: http://papervision3d.org/

          You said:
          ------------------------------------------------------------
          One obstacle is database connectivity.
          I understand that Flex does not have that.
          ------------------------------------------------------------

          Well, Flex has a lot of ways of communicating with a database.

          As a matter of fact, it is rather the other RIA technologies that are lacking.

          - You can use LCDS with the Hibernate Assember (Data Management Services). It uses Push Data for Synchronization. You use array collections of Java objects that are automatically fed and updated with data from the database.

          - You can use LCDS with a Custom Java Assember (Data Management Services) and call EJB3s to access the database. It uses Push Data for Synchronization. You use array collections of Java objects that are automatically fed and updated with data from the database.

          - You can call methods on some remote objects (POJOs) that in turn will call EJB3s which in turn access the database. This is possible with Blaze DS. You use pull in this case. You use array collections of Java objects that are updated with data only when you make calls to the remote objects.

          - You can use operations on Web Services written with Java or .NET. For this, you only need Flex Builder.

          - You can make a HTTP request to a PHP script that accesses a Postgres/mySQL database and returns a XML stream via HTTP. For this, you only need Flex Builder.