Mozilla Demo Studio 100% (weird) Knockout.JS demo

182 views
Skip to first unread message

Hunter Loftis

unread,
Mar 30, 2011, 11:15:55 AM3/30/11
to KnockoutJS
Hey guys, I just wanted to post that I submitted a little demo to the
MDS that would also make (I think) a good KO example:

https://developer.mozilla.org/en-US/demos/detail/ghostwriter-art-studio/launch

Knockout is controlling some very non-standard stuff (like the pens
wiggling across the screen) and everything in the app is a ViewModel.

I'm using this platform as a test base for some Knockout extensions
I'm writing for realtime server sync with node.

rpn

unread,
Mar 30, 2011, 11:23:57 AM3/30/11
to knock...@googlegroups.com
Wow, very interesting use of KO!  Thanks for sharing.

Ω Alisson

unread,
Mar 30, 2011, 11:37:48 AM3/30/11
to knock...@googlegroups.com
Awesome!

Hunter Loftis

unread,
Mar 30, 2011, 11:36:27 AM3/30/11
to KnockoutJS
Thanks! We've been using KO for several projects and love it. We're
working on forks/extensions now like:

- namespaces so you don't have to have one monolithic ViewModel

- easy realtime sync with nodeJS server

- narrowing scope on event calls, so a click: something.method event
will have "this" pointing to "something" instead of to the ViewModel
that contains "something"

Vinayak Kamat

unread,
Mar 30, 2011, 11:57:38 AM3/30/11
to knock...@googlegroups.com
This is amazing, I checked out some of the code, I see you have a ton of very useful bindinghandlers and special functions etc. It would be very useful if you could share the forks/extensions at some point or are they already available?

Hunter Loftis

unread,
Mar 30, 2011, 12:07:19 PM3/30/11
to KnockoutJS
Thank you! They will definitely be open sourced as soon as they're
less embarrassing. We would love community help, not being KO experts
ourselves.


On Mar 30, 11:57 am, Vinayak Kamat <kgvina...@gmail.com> wrote:
> This is amazing, I checked out some of the code, I see you have a ton of
> very useful bindinghandlers and special functions etc. It would be very
> useful if you could share the forks/extensions at some point or are they
> already available?
>

Roy Jacobs

unread,
Mar 31, 2011, 7:23:51 AM3/31/11
to knock...@googlegroups.com
The KO changes are indeed very nice, but the demo is even better!
It sure beats using an actual marker to draw on my screen :)

Hunter Loftis

unread,
Apr 1, 2011, 4:32:39 PM4/1/11
to KnockoutJS
Just submitted a pull request to get some of our custom stuff into the
main branch (namespaced bindings!)

https://github.com/SteveSanderson/knockout/pull/74
Reply all
Reply to author
Forward
0 new messages