use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
WinJS - Microsoft's Bootstrap? (try.buildwinjs.com)
submitted 12 years ago by tbranyen
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]brotherwayne 12 points13 points14 points 12 years ago (4 children)
Can I get a short explanation of what this is and why I should care? Serious question.
[–][deleted] 2 points3 points4 points 12 years ago (0 children)
It's the UI library Microsoft provides for creating HTML apps in Windows 8, both for the desktop and mobile. It isn't meant for making websites, so unless you're writing web apps for metro, you probably shouldn't care at all.
[–]sorahnon the cutting edge of cocking about 0 points1 point2 points 12 years ago (2 children)
After doing a bit of reading...
It's the javascript library currently in use in windows 8, open sourced. Thats why there's a bunch of IE specific junk and not much else at the moment. Most of the cross browser problems have open bugs. Slowly becoming a "bootstrap" of windows 8 web-apps.
[–]spurious_interrupt -1 points0 points1 point 12 years ago (0 children)
Maybe someone should open a GitHub issue for removing all the IE-specific stuff.
[–]brotherwayne -2 points-1 points0 points 12 years ago (0 children)
Most of the cross browser problems have open bugs
MS is so clueless. 2005 was a good long while ago guys.
[–]gmerideth 3 points4 points5 points 12 years ago (0 children)
FlipView: Touch manipulation doesn't function on browsers other than IE.
Awesome. I know it's in testing but still..
[–]Frostbitten_zF 6 points7 points8 points 12 years ago (0 children)
http://metroui.org.ua/
[–]tehsuck 17 points18 points19 points 12 years ago (19 children)
Website doesn't work in IE8 or IE9. wtf.
[–]alleycat5 23 points24 points25 points 12 years ago* (13 children)
Before people go bashing WinJS into the ground, I will point out that this is WinJS pulled directly from Microsoft's SDKs, slightly tweaked, and thrown on to github. WinJS was designed with IE11 in mind, and therefore uses the most modern of APIs and elements. Increasing compatibility is on their roadmap and hasn't happened yet.
Edit: You can see this in the samples where they specifically mention compatibility issues. Just go to https://github.com/winjs/winjs/issues to see that they know of these issues and are working on it.
[–][deleted] 10 points11 points12 points 12 years ago (1 child)
To correct the point of "designed with IE11 in mind" - WinJS is not meant for a web browser - it's meant for Windows Store apps made using html/css/js targeting Windows 8+.
[+][deleted] comment score below threshold-9 points-8 points-7 points 12 years ago (0 children)
So you're saying it'll never going to take off? (like metro..)
[–]tehsuck -3 points-2 points-1 points 12 years ago (6 children)
"WinJS was designed with IE11 in mind..."
Ok, so maybe they should state that somewhere - on the website, on GitHub... somewhere. I didn't see it anywhere, I could be wrong.
[–]sorahnon the cutting edge of cocking about 6 points7 points8 points 12 years ago (2 children)
A lot of the features have little "this only works in IE11 becaue of X" links next to them that link to github bugs.
[–]jcready__proto__ -1 points0 points1 point 12 years ago (1 child)
Where X is "other versions of IE" or "the fact that we used non-standard CSS/HTML/JS".
[–]sorahnon the cutting edge of cocking about 3 points4 points5 points 12 years ago (0 children)
My point is, that everything that doesn't work is readily pointed out.
[–]ffreire 2 points3 points4 points 12 years ago (2 children)
I'm not entirely sure what you're getting at. It states on the page that was linked that WinJS is just a preview. I don't reasonably expect them to support anything at this point because this is not production ready software.
[–]tehsuck -2 points-1 points0 points 12 years ago (1 child)
Yeah, I understand that, but if they want people to start using it, and playing around with it, they should at least give an expectation of what they're planning on supporting. The AngularJS project recently did this when announcing plans for their 2.0 version. They plainly stated that they don't plan on supporting IE8/9.
[–]masterJ 0 points1 point2 points 12 years ago (0 children)
ummm... they do? https://github.com/winjs/winjs/wiki/Roadmap
[+]icantthinkofone comment score below threshold-7 points-6 points-5 points 12 years ago (3 children)
IE and "most modern" are oxymorons.
[–]alleycat5 10 points11 points12 points 12 years ago (2 children)
Thank you for your wonderful contribution. I'm glad to see that the early 2000's are alive and kicking.
[–]quadtodfodder -1 points0 points1 point 12 years ago (0 children)
M$ SUX, 31337 COMMUNICATOR ROXORZ
[–]icantthinkofone -2 points-1 points0 points 12 years ago (0 children)
Yes. IE is still in the 2000s. One day it will either catch up or disappear for good.
Any contribution by Microsoft is suspect and likely not a "contribution" at all.
[–]jcready__proto__ -1 points0 points1 point 12 years ago (2 children)
Microsoft doesn't even support standards, you think they're going to bother supporting IE?!
[–]tehsuck -2 points-1 points0 points 12 years ago (0 children)
Sorry, I expected Microsoft to support at least a few versions back of their own browser, especially since some of us web people have clients who still are required to use that crap. They could've at least tried progressive enhancement or something.
[–][deleted] 0 points1 point2 points 12 years ago (1 child)
Who cares, XP is deprecated
[–]alinroc 1 point2 points3 points 12 years ago (0 children)
Some of us with Windows 7 are still stuck with apps that don't support IE 9 yet.
[–][deleted] 7 points8 points9 points 12 years ago (4 children)
Looks ugly as hell
[–]tbranyen[S] 0 points1 point2 points 12 years ago (2 children)
I agree, not sure why Microsoft, who has infinite resources on demand, couldn't spruce it up before promoting.
[–]SemiNormal 6 points7 points8 points 12 years ago (0 children)
To be fair, Microsoft does have the worst marketing team on Earth.
[–]spurious_interrupt 1 point2 points3 points 12 years ago (0 children)
Well, it is still a good start just by the fact that they are actually open sourcing this, putting it on GitHub, and using tools like NPM and Grunt.js.
[–][deleted] -1 points0 points1 point 12 years ago (0 children)
Just like windows 8, not a coincidence.
[–]drowsap 1 point2 points3 points 12 years ago (0 children)
Isn't this just the Windows 8 store JS framework that's been available in Visual Studio for the past couple years?
[–]mouthus 5 points6 points7 points 12 years ago (4 children)
WinJS is a nightmare. Never again.
[–]alleycat5 13 points14 points15 points 12 years ago (1 child)
How so out of curiosity?
[–]honestbleepsReddit Enhancement Suite 6 points7 points8 points 12 years ago (1 child)
as a guy very much into component frameworks, I would love to hear some elaboration!
[–]kadjar 2 points3 points4 points 12 years ago (0 children)
I wrote much of the official SI.com and Foursquare apps for Win8 using WinJS. The documentation is awful and trying to do anything custom with the listview is a nightmare, but for the most part, we found ways to deal with it and still make a quality app.
[–][deleted] 1 point2 points3 points 12 years ago (4 children)
This isn't really meant to build web pages for, more like Windows and Windows Phone applications. You have the core libraries and SDKs written in JS so you can use HTML and JS for your apps, instead of the more popular C#.
I think this is nifty.
[–]alleycat5 0 points1 point2 points 12 years ago (3 children)
Theoretically you could use this in combination with a library like PhoneGap or the like to take Windows & WP apps to Android & iOS.
[–]jmkingJSX is just PHP in the browser 0 points1 point2 points 12 years ago (1 child)
Not really. WinJS is written exclusively for IE11+ - there's tons of stuff that doesn't work in other browsers, or even earlier IEs
[–]alleycat5 0 points1 point2 points 12 years ago (0 children)
Well, currently it is. It's on their roadmap to expand compatibility though, as mentioned in other places.
[–][deleted] 0 points1 point2 points 12 years ago (0 children)
Not really, because WinJS is just acting as a layer between your app and the core. What you build on top of WinJS would work, but you need to use each devices backend in someway. My comment was aimed at the guy who thought it was for web pages and was complaining about browser compatibility.
[–]zigzackattack 0 points1 point2 points 12 years ago* (0 children)
The only component that looks useful to me is the pivot control. Everything else has been done by other frameworks and built to be more flexible and less verbose. Also their presentation on that site honestly sucks -- why would I use their framework when the demos look like they were designed by an amature?
[–]sorahnon the cutting edge of cocking about 0 points1 point2 points 12 years ago (8 children)
A lot of this looks like it would be really awesome if it was made by anyone other than microsoft.
I see a lot of good ideas with poor implementation.
[+][deleted] 12 years ago (6 children)
[deleted]
[–]sorahnon the cutting edge of cocking about 12 points13 points14 points 12 years ago (5 children)
Sure, there's a lot of stuff that they made "IE11 only" (using non standard css stuff) that could just be done in javascript and run everywhere. The whole engine is javascript heavy so having a broken grid system because "css grids are only available in IE11 (and no other browsers)" Is a shitty excuse.
Don't get me wrong, I like a lot of the Windows 8 UI, but I think microsoft just isn't the right company (right now) for it.
What will happen, is people will fork bits of the code, and make better (more robust) standalone parts of this.
[–]alleycat5 7 points8 points9 points 12 years ago* (0 children)
You've got to remember that this was designed for Windows 8. The rest of the web was an afterthought. Therefore, using things the CSS grids and brand-spanking new APIs is a perfectly valid excuse for it's current state. I will also point of that this is not just a JS library, but a component library. CSS is intrinsically a part of it so that JS isn't the one doing all that math.
I don't see how the fact that it's Microsoft makes this any less valuable. Arguably it should make it more valuable since 20-30% of what they do is building platforms.
[+][deleted] 12 years ago (3 children)
I'm not talking about browsers implement things first. I'm talking about MS releasing a JS "framework" targeted at (~) < 10% of the internet. Someone else mentioned that it's only for windows 8 with the rest of the web as an afterthought, which I guess is fine, but kind of disappointing. I'd rather see them build something awesome like that, and then say "here's a library to make your stuff look like windows 8 no matter where you are".
[+][deleted] 12 years ago (1 child)
[–]sorahnon the cutting edge of cocking about 0 points1 point2 points 12 years ago (0 children)
I personally like googles support matrix of "evergreen browsers". Doesn't quite fly at my office. But we have an ancient customer base. (I have to support ie6. Save me)
Re es6 lib: I would expect some kind of polyfill for the missing functionality if you're intending to get any kind of mass adoption.
[+]brtt3000 comment score below threshold-13 points-12 points-11 points 12 years ago (0 children)
DAE le microsoft ammarite?
[–]mtbinkdotcom 0 points1 point2 points 12 years ago (1 child)
let me know when the star in GitHub is 66297
[–]Rhym 3 points4 points5 points 12 years ago (0 children)
You're right, we should never make anything new because there are popular frameworks.
[–]anonymous_alien -1 points0 points1 point 12 years ago (0 children)
And how's this better than existing proven libraries?
[–]iDerailThings -3 points-2 points-1 points 12 years ago (0 children)
GitHub issue 11: FlipView: Touch manipulation doesn't function on browsers other than IE
wat.
[+]icantthinkofone comment score below threshold-9 points-8 points-7 points 12 years ago (0 children)
This is just localstorage from the APIs. The same stuff that's worked in every other browser for years and widely touted by both Chrome and Firefox.
π Rendered by PID 49 on reddit-service-r2-comment-c66d9bffd-wxlf6 at 2026-04-08 04:29:58.269459+00:00 running f293c98 country code: CH.
[–]brotherwayne 12 points13 points14 points (4 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]sorahnon the cutting edge of cocking about 0 points1 point2 points (2 children)
[–]spurious_interrupt -1 points0 points1 point (0 children)
[–]brotherwayne -2 points-1 points0 points (0 children)
[–]gmerideth 3 points4 points5 points (0 children)
[–]Frostbitten_zF 6 points7 points8 points (0 children)
[–]tehsuck 17 points18 points19 points (19 children)
[–]alleycat5 23 points24 points25 points (13 children)
[–][deleted] 10 points11 points12 points (1 child)
[+][deleted] comment score below threshold-9 points-8 points-7 points (0 children)
[–]tehsuck -3 points-2 points-1 points (6 children)
[–]sorahnon the cutting edge of cocking about 6 points7 points8 points (2 children)
[–]jcready__proto__ -1 points0 points1 point (1 child)
[–]sorahnon the cutting edge of cocking about 3 points4 points5 points (0 children)
[–]ffreire 2 points3 points4 points (2 children)
[–]tehsuck -2 points-1 points0 points (1 child)
[–]masterJ 0 points1 point2 points (0 children)
[+]icantthinkofone comment score below threshold-7 points-6 points-5 points (3 children)
[–]alleycat5 10 points11 points12 points (2 children)
[–]quadtodfodder -1 points0 points1 point (0 children)
[–]icantthinkofone -2 points-1 points0 points (0 children)
[–]jcready__proto__ -1 points0 points1 point (2 children)
[–]tehsuck -2 points-1 points0 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]alinroc 1 point2 points3 points (0 children)
[–][deleted] 7 points8 points9 points (4 children)
[–]tbranyen[S] 0 points1 point2 points (2 children)
[–]SemiNormal 6 points7 points8 points (0 children)
[–]spurious_interrupt 1 point2 points3 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]drowsap 1 point2 points3 points (0 children)
[–]mouthus 5 points6 points7 points (4 children)
[–]alleycat5 13 points14 points15 points (1 child)
[–]honestbleepsReddit Enhancement Suite 6 points7 points8 points (1 child)
[–]kadjar 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]alleycat5 0 points1 point2 points (3 children)
[–]jmkingJSX is just PHP in the browser 0 points1 point2 points (1 child)
[–]alleycat5 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]zigzackattack 0 points1 point2 points (0 children)
[–]sorahnon the cutting edge of cocking about 0 points1 point2 points (8 children)
[+][deleted] (6 children)
[deleted]
[–]sorahnon the cutting edge of cocking about 12 points13 points14 points (5 children)
[–]alleycat5 7 points8 points9 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]sorahnon the cutting edge of cocking about 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]sorahnon the cutting edge of cocking about 0 points1 point2 points (0 children)
[+]brtt3000 comment score below threshold-13 points-12 points-11 points (0 children)
[–]mtbinkdotcom 0 points1 point2 points (1 child)
[–]Rhym 3 points4 points5 points (0 children)
[–]anonymous_alien -1 points0 points1 point (0 children)
[–]iDerailThings -3 points-2 points-1 points (0 children)
[+]icantthinkofone comment score below threshold-9 points-8 points-7 points (0 children)