Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


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

Pages: [1]
Print
Author Topic: Navigating to a URL...URLProxy needed??  (Read 6075 times)
eco_bach
Courseware Beta
Sr. Member
***
Posts: 81


View Profile Email
« 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?
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 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>
Logged
Pages: [1]
Print