开发者

PureMVC and Navigation with Silverlight (C#) for Windows Phone 7 (WP7)

I've used PureMVC before with AS3, and am playing around with WP7 so thought it would make sense to try the C# port (开发者_运维知识库http://trac.puremvc.org/PureMVC_CSharp/)

The problem I'm having is that the samples (Login/Employee Admin) don't use the NavigationService to change states within the application - they simply hide/show controls when needed.

Does anyone know of an example of PureMVC with NavigationService or how this might work?

OR should I just give up trying to use PureMVC and learn a new framework like MVVM?


PureMVC for C# doesn't contain a port for Windows Phone 7. (The page you provided the link for doesn't list it as a supported platform.) This seems like a good explanation for why it doesn't use the NavigationService.

If you want to use PureMVC you're likely going to have to port it to WP7 yourself or wait for a version to be produced for you. Only you can decide if you want to go down this route.

If you decide you want to look at MVVM, I'd recommend the highly popular MVVM Light Toolkit.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜