JavaScript MVVM frameworks?

180 views
Skip to first unread message

ArielBH

unread,
Jan 30, 2011, 2:20:47 PM1/30/11
to UI Binders
I have heard of 2 JavaScript MVVM frameworks:
1. Knockout: http://knockoutjs.com/
2. Backbone.js: http://documentcloud.github.com/backbone

What else is out there?
Have you used them?
Do we even need MVVM on the JS side?

AdarWesley

unread,
Jan 30, 2011, 3:06:13 PM1/30/11
to UI Binders

Hi Ariel,

Microsoft ASP.NET 4.0 AJAX prerelease included a greate implementation
of a templating engine.
This templating engine looks similar in pricipal to the Knockout
framework you point to, however,
I found it to be much more complete than anything else out there. It
brought the development
model for a web application to be very similar to developing a SL
application, developing HTML only
as a Template and then Binding data at the client. The binding
supported full two-way binding
with support for Observable Objects and Arrays.

Sadly, this amazing framework was discontinued just before the release
of ASP.NET 4.0.

Microsoft Web Devs are contributing now to JQuery to develope a
similar functionality
under the umbrela of the JQuery framework.

Check out advances of this effort in the jquery-tmpl plugin and jquery-
datalink plugin.
These two plugins together offer a similar functionality to what
Knockout is offering, however,
my initial feeling is that the JQuery implementation is not mature
enough.
I must say I didn't have a chance to actually play with Knockout, just
looked the home page
and documentation.

---
Adar Wesley

Ariel Ben Horesh

unread,
Jan 30, 2011, 3:14:26 PM1/30/11
to ui-bi...@googlegroups.com
Adar,

Cool, Thanks for sharing.
Perhaps someone from the asp.net team will be able to elaborate on this.
Any more opinions?

Ariel
--
Ariel Ben Horesh

nikhilk

unread,
Jan 30, 2011, 3:59:53 PM1/30/11
to UI Binders
Indeed the ASP.NET Ajax framework (aka Atlas) was heavily inspired by
some of the concepts from WPF/XAML and data-binding. It didn't fare as
well ... I think there were a couple of key lessons there:
- Full-fledged client-apps weren't yet the common thing that require a
full-fledged client-side framework ... these are becoming more common
now however.
- A slightly more incremental pattern might have fared better (rather
than the whole xml-script approach).

spboyer

unread,
Jan 30, 2011, 4:52:36 PM1/30/11
to UI Binders
An alternative to the MVVM js libraries out there, I found
javascriptmvc.com to be an interesting approach.

EisenbergEffect

unread,
Jan 30, 2011, 5:23:35 PM1/30/11
to UI Binders
There aren't a lot of MVVM frameworks out there for Javascript. The
reason being that MVVM requires databinding, which is not a native
part of the platform. Most of the frameworks tend to be MVC-based or
very similar to it. Knockout is the main exception.

yaniv

unread,
Jan 31, 2011, 4:01:46 AM1/31/11
to UI Binders
Do you know anyone using Knockout ? (http://knockoutjs.com)
I looked at their demos and it was, sorry for the word, but lame...

ArielBH

unread,
Jan 31, 2011, 10:16:28 AM1/31/11
to UI Binders
Yaniv, what did you find lame? if it's the demo than it makes sense as
it is very simple but MVVM is just a pattern, you can upscale it for
far more complicated scenarios, usually by doing composition.

yaniv

unread,
Jan 31, 2011, 10:39:51 AM1/31/11
to UI Binders
I guess it is a matter of expectations
Yes, it is a pattern you can build on top of...
But I do not see how it helps me. it looks like it's just in the way
and provides nothing powerful enough for me to use
Did you use it Ariel ? Do you know of anyone who did ?

Maxim T

unread,
Mar 26, 2013, 8:35:39 AM3/26/13
to ui-bi...@googlegroups.com
Hi.
Look at this new framework https://github.com/BBGONE/jRIApp, it is MVVM and much better than old frameworks.
And better to watch demo on youtube what is possible with it.


воскресенье, 30 января 2011 г., 23:20:47 UTC+4 пользователь ArielBH написал:
Reply all
Reply to author
Forward
0 new messages