Results 1 to 4 of 4

Thread: creating context from application

  1. #1
    Join Date
    Mar 2009
    Posts
    6

    Default creating context from application

    I'm wondering if spring actionscript supports a way of creating an XML application context from an application.

    ie. can i feed something a list of objects and get them turned into XML, which i can then store in a file - and load into another application when i need it?

    T

  2. #2
    Join Date
    Mar 2009
    Posts
    6

    Default

    ok, i'll take that as a NO then.

  3. #3
    Join Date
    Oct 2008
    Location
    Belgium
    Posts
    160

    Default

    Hi,

    I started on this functionality but removed it recently from the codebase since it is an impossible to do (to some degree). I mean, you can easily create XML from an object graph, but you don't have the object definition metadata that the container understands (scope, factory method, id, abstract definitions, ...).

    - Christophe
    Christophe Herreman
    Spring ActionScript Founder
    http://www.herrodius.com

  4. #4
    Join Date
    Mar 2009
    Posts
    6

    Default

    Thanks Christophe,

    i've started to realise this after beginning to write my own implementation. My case is slightly simplified in that i'm saving back objects that were already created from an application context - so i'm able to store the metadata in the object itself when it's created. So i can get it back out.

    But i can see now how a general case wouldn't be so easy without making changes all over.

    Thanks for replying, though, much appreciated.

    T

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •