[ 2 posts ]

Carlos Adriano Portes

  • Username: xcap2000
  • Joined: Mon Feb 14, 2011 2:09 pm
  • Posts: 8
  • Location: Brazil
  • GitHub: xcap2000
  • Gists: xcap2000
  • IRC: xcap2000
  • Offline
  • Profile

MVVM like pattern

Post Posted: Tue Jul 10, 2012 5:02 am
+0-
Does YUI has something similar to MVVM pattern like knockoutjs (http://knockoutjs.com/) or KendoUI MVVM (http://demos.kendoui.com/web/mvvm/index.html)?

Thanks in advance,

Carlos Adriano Portes

Eric Ferraiuolo

YUI Developer

  • Username: ericf
  • Joined: Mon Jan 12, 2009 8:26 pm
  • Posts: 380
  • Location: Boston, MA
  • Twitter: ericf
  • GitHub: ericf
  • Gists: ericf
  • IRC: eric_f
  • YUI Developer
  • Offline
  • Profile

Re: MVVM like pattern

Post Posted: Tue Jul 10, 2012 5:13 am
+0-
YUI's App Framework suite of components does not currently have any data binding features, so the short answer would be no since MVVM patterns tout data binding.

That said, data binding is definitely something we'd like to add to the App Framework, being able to reduce common boilerplate code into conventional patterns is an obvious win.

MVP design patterns, a close cousin of MVVM, are possible and easily implementable using the current suite of components and features in the App Framework. I did a quick proof of concept implementing a Presenter which can be seen here:
https://github.com/yui/yui3/blob/master ... enter.html
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum