Author Topic: Implementing MVC  (Read 3540 times)

calledupon

  • Guest
Implementing MVC
« on: December 20, 2012, 05:37:11 AM »
Hi all,

I would like to implement the MVC pattern with NGUI but so far I've not been able to find any good tutorials on how to do it.
Could anyone give a short example of code that makes that happen? Also please make it noob-proof ;)

Cheers!
« Last Edit: December 20, 2012, 05:44:10 AM by calledupon »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Implementing MVC
« Reply #1 on: December 20, 2012, 05:55:49 AM »
Er.. why?

calledupon

  • Guest
Re: Implementing MVC
« Reply #2 on: December 20, 2012, 05:57:51 AM »
I thought this was the best way to create a UI that isn't dependent on the data. Don't you agree?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Implementing MVC
« Reply #3 on: December 20, 2012, 05:58:31 AM »
Have you looked into NData plugin?

calledupon

  • Guest
Re: Implementing MVC
« Reply #4 on: December 20, 2012, 06:01:14 AM »
Yes, but my boss will not get it for me :(