Over 10 years of community discussion and knowledge are maintained here as a read-only archive. New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC
|
|
|
Show Posts
|
Pages: [1] 2
|
1
|
PureMVC Manifold / Standard Version / Re: Linking UI element and Mediator
|
on: November 24, 2010, 09:59:45
|
So far I needed to do this for my viewcomponents:::
-(void)onRegister { LoginViewController *tVC = [self viewComponent]; tVC.delegate = self; }
as I had some issues, but maybe after having fixed those, I can go back to the sample code.
|
|
|
4
|
PureMVC Manifold / Standard Version / viewcomponent and mediator code
|
on: November 24, 2010, 03:24:40
|
I also haven't gotten the viewcomponent> mediator part gotten to work.
There is some confusion on my side between the forum entry (UIcomp and mediator connection (or so))
The code noted here is:
-(void)onRegister { self.viewComponent.delegate = self; }
But the code I downloaded for the employee sample looks like this:
-(void)onRegister { [self.viewComponent setDelegate:self]; }
So far none of these versions works for me , even though I have set up a delegate and protocol for it in my viewcomponent
And from my understanding both versions should work given I have a setdelegate or a delegate method/property in my viewcomponent....
Please clarify what to go with.
|
|
|
5
|
PureMVC Manifold / Standard Version / Re: Unusable
|
on: November 24, 2010, 03:20:23
|
dont know what the guys is talking about, sop far all the facade, command and proxy part is working fine on my side. There is some confusion on the viewcomponent/mediator connection, but thats all I found so far, everything else is working fine. I been using puremvc in AS3 before though....
|
|
|
11
|
Announcements and General Discussion / Architecture / pick up circle
|
on: December 08, 2009, 07:29:03
|
There is a certain task that keeps on coming back to me and I am wondering if I am trying to solve this in the best way.
- I need a complex piece of data in order to start a process. The data's parts are found in various places(proxies) in my app > I go around proxies and add he data I need to a big, complex container. > once I have everything, I send it all to my next process and there we go.
It seems this ends up sending quite a bit of data to the next process. Is that the way to do this sort of thing?
I am basically trying to solve the issue I would have normally solved in AS2 with closely coupled objects and returns. Lines of data retrieval are now parts in an event chain.
|
|
|
12
|
Announcements and General Discussion / Architecture / multi source data
|
on: December 08, 2009, 07:22:06
|
I have now developed a setup where my content is in a number of proxies, which represent a number of different data source files.
Now I need to retrieve the data from the proxies. The search should only retrieve one piece of data.
Default and new versions of the data are present(e.g. a certain layout). I need to look in each proxy for the data as I dont know where the data might be.
I need the data / responses from the search all coming back to one central point.
How do I do this?
At the moment my solution sits in a command that retrieves all proxies, if it find one fills a container, and whatever is in the container at the end of teh search gets moved to the next step of the process.
Does that sound feasible/efficient?
|
|
|
14
|
Announcements and General Discussion / Architecture / Re: XML content docking proxy solution
|
on: November 30, 2009, 02:53:11
|
yes cliff, thats exactly what I need, or basically , How i have it for now, yet I would like to maintain the IDs for later saving of the xmls (where the IDs shoudl be used again, not the values)
a probably simple way would be to have a switch function that switches IDs to values and back, but then again there might be two different IDs using the same value. (as we will have external users and internal default palettes, this is a possible scenario)
So the aim is to build a getter setter system that can deliver the right values without changing the ID on the VO's data source.
Donno if that might be over-complicating things. Maybe I should just go with the switch solution till I run into problems.
|
|
|
15
|
Announcements and General Discussion / Architecture / Re: XML content docking proxy solution
|
on: November 28, 2009, 07:53:19
|
certainly: I am using VOs to describe textformats, etc. by xml. At some point I then only have to use the data of the VO to populate the textformat's properties. In the case of color, I use a either a String Id (e.g. 'darkGrey') to indicate the color value. The color value is stored on another object (on a VO) withe the Id 'darkGrey. This let's me store some kind of color palette for my projects.
Now when I populate the textformat, then I need to use the numeric value. So how best and when would I get the color value through the VO that holds the actual value. How do I merge the two VOs (textformat description and color description) to end up with a complete textformat description and with leaving the original VOs intact as much as possible.
|
|
|
|
|
|