PureMVC Architects Lounge

Announcements and General Discussion => Architecture => Topic started by: eco_bach on February 10, 2010, 03:09:00



Title: Navigating to a URL...URLProxy needed??
Post by: eco_bach on February 10, 2010, 03:09:00
Hi
Is a URLProxy necessary(or best practice) for simply loading a URL in a browser window?
OR simple keep the logic in the view component?


Title: Re: Navigating to a URL...URLProxy needed??
Post by: puremvc on February 11, 2010, 04:21:27
What are the responsibilities of this proposed URLProxy? Does it manage a list of URLs in addition to opening a selected one? Or are your urls coming from elsewhere and you're simply looking for a central mechanism for opening an arbitrary URL.

If the former is the case, then the long-lived Proxy actor is the right choice. If the latter is the case, then a Command should suffice.

-=Cliff>