Search the web
Sign In
New User? Sign Up
cairngorm-devel · Cairngorm Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Cairngorm ServiceLocator Question.   Message List  
Reply | Forward Message #203 of 210 |
I have created a some what complicated services.as
(EnterpriseServiceLocator) and I'm trying to give some limited control
back to the end user, and allow them to select from a list of available
AMFChannels. I almost have it all working, but have a couple of
questions before I continue to finish the work in this area.

- Is it o.k for my Service Locator to access the Model locator?
- Is it o.k for my Service Locator to modify the values in the Model?
- How would you best manage your application to "WAIT" until various
checks on the AMFChannels are done before doing anything further ?
- Would it be better to create an Event / Command to do the required
logic to determine the AMFChannels and then use this to set the Model,
then have the service locator access the Model for read only?
- When the user selects an available AMFChannel, the system needs to
move the selected Channel to the TOP of the ChannelSet
- I'm doing this by creating an array of AMFChannels, storing these
in the Model, then reading them into the service locator and ChannelSet
when required.
- How do I ensure no further actions take place until this update is
done.

I know that I can achieve what I need one way or another, but would like
more opinions on the best way to do this.

Cheers
Gareth.



Mon Mar 31, 2008 9:51 pm

garethe_work
Offline Offline
Send Email Send Email

Forward
Message #203 of 210 |
Expand Messages Author Sort by Date

I have created a some what complicated services.as (EnterpriseServiceLocator) and I'm trying to give some limited control back to the end user, and allow them...
Gareth Edwards
garethe_work
Offline Send Email
Apr 1, 2008
10:44 am

Hi Gareth, Here's some answers assuming you subscribe to the gist of the MVC presentation I gave at WebDU last year ...
Robin Hilliard
robinhilliardau
Offline Send Email
Apr 1, 2008
6:02 pm

Robin, Thanks for your response, I understand MVC most of the time, but I was a little unsure because of the nature of the service locator. So is o.k for my...
Gareth Edwards
garethe_work
Offline Send Email
Apr 2, 2008
8:20 am

Gareth, I'm a little late to this discussion, but I thought I through in my two cents. In your service locator you can bind the channelSet attribute to a...
Jeffrey Battershall
jbarts1000
Offline Send Email
Apr 2, 2008
10:20 am

My last couple of applications have followed the same kind of workflow, as well. I haven't stored channelsets, but generally, if you have any kind of data ...
sLangeberg
scoobeedogg
Offline Send Email
Apr 2, 2008
3:12 pm

... Hi Jeff - I can be as pragmatic as the next developer but here's a sketch of the hair splitting version for your enjoyment :-). <?xml version="1.0"...
Robin Hilliard
wzp193
Offline Send Email
Apr 3, 2008
8:55 am

... Hi Jeff - I can be as pragmatic as the next developer but if you're interested here's a sketch of the hair splitting version :-). <?xml version="1.0"...
Robin Hilliard
robinhilliardau
Offline Send Email
Apr 3, 2008
8:55 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help