Author Topic: NGUI/NDATA data binding features.  (Read 4069 times)

vikti

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 25
    • View Profile
NGUI/NDATA data binding features.
« on: August 20, 2014, 11:03:18 AM »
Hello,

what are the differences between the native data bindings feature of NGUI and the NDATA plugin ? Are they overlaping totaly ? Is NDATA is stille needed for a MVVM pattern ?

Regards

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI/NDATA data binding features.
« Reply #1 on: August 20, 2014, 05:50:38 PM »
I don't know enough about NData to answer this question.

sonicviz

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 58
    • View Profile
Re: NGUI/NDATA data binding features.
« Reply #2 on: August 20, 2014, 08:20:30 PM »
I've been using NDATA successfully for a long time but unfortunately I would now recommend you do not buy it.
[can't comment on NGUI 3.x data binding features at this stage]

I'm trying to convert an old product using NGUI 2.7 and NDATA to latest NGUI but the NDATA developers have now stopped updating it.
I got some errors trying it with NGUI 3.6.8 and so far have not received a response to my query re: fixing it over a week later.

Last time I asked a few months back it also took ages and they finally just said their developers in Ukraine were having problems.
Find another developer then? [commiserations for the civil war, but it seems it's based in Germany and outsourced so entirely possible]

This time...silence.

I updated my NDATA Asset Store review yesterday with a DO NOT BUY review.

I'm actually really sick of these products on the Asset Store that are no longer maintained yet still up for sale.
They should be removed.

[and yes, I do have the source code but that's not the point - especially for a product which purports to do the heavy lifting for you]

vikti

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 25
    • View Profile
Re: NGUI/NDATA data binding features.
« Reply #3 on: August 21, 2014, 01:09:24 AM »
Ok, burning... I keep my hand off :)

Thx for your reply Sonicviz. Fow now I just need some superficial binding (one ui element to another in the same prefab). So I think NGUI will fit my need for the moment.

In the futur I will need to create some deeper binding to connect the view to the view model without coupling my prefabs with additional components. But maybe NGUI will fit also. Wait and see... (any advice on it Arenmook ?)

On your other point, you are right it is a pain in the a** to have such abandonwares on the assets store. But I think this is the draw back of the mass effect.
Maybe a system like the github report with activity monitoring, issues counter, stars... could be a better solution to curate the asset store and avoid the paid-for-nothing sensation.

Thx folks.

bac9

  • Full Member
  • ***
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 113
    • View Profile
Re: NGUI/NDATA data binding features.
« Reply #4 on: August 21, 2014, 05:14:03 AM »
As far as I understand, if you want to go full MVVM and not just do simple bindings in UI, uFrame will probably fit your needs, - it's a pretty well executed framework built on that pattern. I have not worked with it much myself, but it's popular, reviews look positive and docs I've read show impressive system.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI/NDATA data binding features.
« Reply #5 on: August 22, 2014, 03:31:22 AM »
NGUI's property bindings let you bind any property to another so that when one changes, the other gets updated automatically. It makes it trivial to show data as well, as NGUI will do basic conversion from you, such as from float to string. This lets you bind a value of a slider to a text label, for example. Will it suit your needs? I don't know how deep you want to get into it. If it doesn't do something you need, lemmeno and I'll consider adding it.