Hi there, i'm quite new to PureMVC and still have some understanding problems between Command and Proxy tasks. Here is my question: For an application i have to load two xml config files, which i did with two different Proxy and SimpleCommand extensions. After everything has been loaded the next step is to extract and process the data from these two xml configs together, where the result will be stored in VO objects and stored/offered in another Proxy extension. I have to say that these processing steps is quite a lot of code and will be placed within several functions. Now where will i have to put that bunch of processing code, in the corresponding SimpleCommand extension class, in the mentioned third Proxy or in an external Singleton helper class (package controller or model ?), that could also be used for similar processing tasks and be used by other commands ? Or simpler: To what belongs such processing of loaded configs, business or domain logic ?
Thanks for your thoughts. Best regards valley
|