weilitao
Topic Author
Posts: 22
Joined: 23 Feb 2016, 10:43

Is there some uframe integration example available?

07 Mar 2016, 07:40

Hi,

I want to use MVVM style code organization with NoesisGUI. Since I have heard that uframe and NoesisGUI can work together. I am wandering if there are some sample projects I can start with. Thanks very much.
 
movra
Posts: 70
Joined: 02 Apr 2014, 20:35

Re: Is there some uframe integration example available?

07 Mar 2016, 13:28

If you're talking about MVVM, in 2014 uFrame 1.5 and NoesisGUI were close to be compatible, but the uFrame dev dropped the ball. Then I stopped bothering. And last I checked uFrame 1.6 throws out all WPF compatibility.

viewtopic.php?f=3&t=628&p=3356
viewtopic.php?f=3&t=802

It's easier and more reliable to write Views and ViewModels by hand, especially aided by custom code snippets and templates. That way you don't have to depend on a 3rd party and you will better understand the system.
 
weilitao
Topic Author
Posts: 22
Joined: 23 Feb 2016, 10:43

Re: Is there some uframe integration example available?

08 Mar 2016, 08:38

Thanks movra,

Now I try to start MVVM pattern by hand and forget uframe :) Do you have some sample projects using MVVM that I can start with? it looks the tutorial about 'command' is talking about MVVM, but not very detailed.
 
movra
Posts: 70
Joined: 02 Apr 2014, 20:35

Re: Is there some uframe integration example available?

08 Mar 2016, 12:29

Yes, the Command sample is a good base to start with.

However, if you want a step-by-step walk through the MVVM pattern then I suggest stepping outside Unity for a while. Create a normal C# application with Visual Studio and Blend. There are thousands of MVVM tutorials for that scenario.

When you understand it, you can apply that knowledge to Unity + NoesisGUI. You can also work with Visual Studio and Blend in combination with Unity and NoesisGUI. Here's how you would setup such a project:

viewtopic.php?f=3&t=818#p4464 (the first option is preferable)
 
User avatar
jsantos
Site Admin
Posts: 2906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Is there some uframe integration example available?

11 Mar 2016, 14:55

Thanks for your help explaining this movra!

Who is online

Users browsing this forum: Google [Bot] and 0 guests