Bump... no response, so I'm going to ask this one again. I've made it
shorter so hopefully people will read. (see orig. for more details)
I'm using Cairngorm, and want to know ideas you have for:
1. Dynamic views with dynamic data. How to put into the
ModelLocator...? I'm leaning towards creating a helper class that
wraps a collection of "TileViewStates" each with their own state, that
can be added/removed/accessed, etc.
2. How to use Cairngorm for Flex 2 Data Management Services and
specifically the "DataService" object. Who's responsibility is it to
manage that? I have begun writing a singleton class modeled after
ServiceLocator that is specifically for my DataServices. You ask for a
DataService by name, and if it doesn't exist, the locator creates it
for you, otherwise it returns the one already created.
Comments or suggestions are greatly appreciated!
Thanks,
Thunder
--- In flexcoders@yahoogroups.com, "thunderstumpgesatwork"
<[EMAIL PROTECTED]> wrote:
>
> Hi all. I've only just started using Cairngorm in my application, and
> already it's helping to clean up a lot of code. Many cudos to all the
> contributors!
>
> I've been reading and soaking up every bit of documentation and
> Flexcoders posts I can.
>
> A couple of arshitectural questions have come up as to how I can
> leverage Cairngorm in my app.
>
> First a brief background: Our app is a BI Dashboard tool, that is uber
> configurable by the user. Selecting Grids/Charts/maps/other custom
> visualizations, and adding them to a layout on a dashboard.
>
> 1.) How to maintain the data results in the ModelLocator dynamically
> for a dynamically created visualization? Pretty much all of the
> examples I've seen are pretty 'static' in terms of the application
> data. There's a "Search Results" or a "Shopping Cart". All the data
> and state I have is dynamically created as users add visualizations to
> the app, and bind it to data. Controls are used multiple times bound
> to different data, added to "Visualization Tiles" that are layed out
> on the dashboard. Do you guys have any suggestions on how to build and
> reference this dynamic data/dynamic views using the ModelLocator
pattern?
>
>
> 2.) I'm using Flex Data Management Services to keep my application
> configuration current, synchronized between clients, and persisted
> (via Hibernate). I noticed that that the ServiceLocator is still
> directed at supporting RPC services... are there any patterns for Data
> Management Services? Something for managing and tracking the different
> DataServices? All of my managed classes are VO's that will be in the
> ModelLocator, but what about owning the DataService classes associated
> with the data?
>
>
> I hope this wasn't too wordy or unclear. I'm sure others must be
> dealing with the same kinds of things right?
>
> Thanks in advance,
> Thunder
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/