Part 4: Quick Tour of WinJS (1 of 2)
- Posted: Feb 28, 2013 at 3:24 PM
- 48,576 Views
- 2 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
In this lesson we explore WinJS to learn more about what it can do for our apps. We learn about creating namespaces, classes, simple binding to objects, observability, and more.
Introduction to creating Windows Store apps using HTML and JavaScript
Chris Anderson & Josh Williams at Build 2012
http://channel9.msdn.com/Events/Build/2012/3-115
Channel 9's JavaScript Fundamentals Series - Lesson 10: Understanding Function versus Global Scope
Organizing your code with WinJS.Namespace
http://msdn.microsoft.com/en-us/library/windows/apps/hh967793.aspx
WinJS.Class.define function
http://msdn.microsoft.com/en-us/library/windows/apps/br229813.aspx
Already have a Channel 9 account? Please sign in
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
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 WinJS.Binding.as has something to do with it, but I do not quite understand this function, even thought I've read the documentary.Thank you.
@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:
http://social.msdn.microsoft.com/Forums/en-US/winappswithhtml5/thread/53886eb2-314e-4543-8a1f-4e1f1f450fec/
Remove this comment
Remove this thread
close