Hi Laurence,

I'm pretty new to Flex so there might be reasons to stick with Value Objects
that I'm unaware of but you can definitely read and write XML and generate
forms, layouts, etc on the fly based on the XML contents. I've used E4X to
query XML data that I've sucked in from an HTTP call, modified the XML using
E4X and pinged it back up to the HTTP server to save the XML data for later
use.

Hope that helps...


Cheers,
Nick
--
http://blog.middleweek.co.uk/



On 2 March 2010 19:19, Laurence <[email protected]> wrote:

>
>
> The program that I'm working on is for a company that does registrations
> for conventions and trade-shows. Different clients want different
> information stored for each show. Most of the information is the same from
> show-to-show, but every show has certain customizations that need to be
> done.
>
> The way they're doing it now is by going into the source code of their
> program and modifying it that way. We could do the same thing with our Flex
> app, but I'm trying like heck to avoid that...
>
> The problem I'm running into is the Flex Value Objects -- they pretty much
> have to be compiled into the .SWF file, which means we're stuck modifying
> source-code and re-compiling for each individual show. Not the solution we
> want.
>
> Is there a way to dynamically create and/or modify Value Objects so they
> can be changed without re-compiling the .SWF file? So that if a particular
> client wants stuff tracked that a different client doesn't want tracked, we
> don't have to create a generic version of our database that has all these
> extra fields in it, which most clients don't need?
>
> As it stands right now, the Value Objects force us to make every database
> for every show exactly the same -- unless we modify the Value Objects for
> each individual show and re-compile a separate .SWF file for that show... If
> there were a way to write, say, an .XML file that the program could read and
> modify itself accordingly for each show, that would be brilliant. Is there a
> way to do that?
>
> Thanks,
> Laurence MacNeill
> Mableton, Georgia, USA
>
>

Reply via email to