puremvc
|
|
« Reply #1 on: February 12, 2011, 09:44:02 » |
|
While you could make one call for a composite object and then distribute the pieces amongst different proxies on the client, in most cases, it probably makes more sense to make the five separate calls.
When would you want to make one call instead of 5? Perhaps the data changes rapidly on the server and you want a 'snapshot' of the state. If you make one call you could pull it off. If you make 5 calls, the data may have changed between calls, so the integrity of your snapshot is always at risk.
Unless there is some requirement/constraint such as the above, you're probably better off with the 5 proxies / services. It's going to be more maintainable and you'll see a better chance of code reuse.
-=Cliff>
|