Sign in to queue

The Discussion

  • User profile image

    Hi Bob,

    I remember in a lesson in the JS for beginner series, you said we can solve the namespace issue by creating an object includes all our functions. Why don't we use that technique in here? What's the differentiation if using WinJS.Namespace?

    One more thing, in this line: data-win-bind="textContent: time"> Why does the "data-win-bind" know the exactly "time" they need? I think has something to do with it, but I do not quite understand this function, even thought I've read the documentary.

    Thank you.

  • User profile image

    @Minowar: Absolutely nothing wrong with continuing to use that Namespace approach from before.  You'll get a few benefits from using Microsoft's beefed up Namespaces, however.  Check out this thread for a good conversation about this very topic:

Add Your 2 Cents