Why are you using sproutcore for a static plain ol html page? There is no need to use much js on such a page, is there? And then you are ending up breaking the page on old browsers. Whats the point? Are you using the right tools for the right job?
First, I wanted to test drive SproutCore 2.0. It's always good for framework developers to be app developers themselves; and just from the feedback and collaboration today I've fixed several bugs in SproutCore. So, that's a net positive, even though I'm sorry there was temporary frustration while we got to it, and it didn't help that I was in a plane for part of the day.
The second reason is that this is just the start. I plan to add many more browsing and filtering capabilities over the next few weeks and months. I hope this can be a good demo for how to build data-driven applications in SproutCore.
Good catch! There was a bug in the SproutCore 2.0 developer preview where Object.create was being invoked on platforms where it isn't available. I've put up a new version of SC that fixes this.
Please let me know if you're still having problems. Sorry for any inconvenience.
You need to upgrade to FF4. (Presumably as SproutCore 2 gets closer to release, it will get better error handling. But the old Firefox is the reason is won't render.)
3.6 barely runs on my machine as it is; a number of clients are asking me to downgrade them from 4 to 3.6 because of stupid issues like not saving your tabs by default when you close the browser. I have about thirty tabs open in my browser right now, and the last time I upgraded Firefox, it didn't bother to save any of them the next it launched.
I just can't be arsed to go to that much trouble over one website.
The landing page for FF4 has a "restore previous session" button on it which opens all your tabs for you if you so desire (just in case you missed that).
Also you can "pin as app tabs" anything that you like to consistently have open.
FF4 also runs considerably faster. I can't imagine wanting to downgrade ...
Wow, that's bad. I accidentally shipped the version of SproutCore 2.0 with property accessors turned on; however, Safari 5 has a bug where this blows up when called on an element, and we've been testing on Lion.
Since YUI3 has no recommendad usage scenario, I would submit for consideration:
Use YUI3 if you want a comprehensive framework that includes DOM manipulation and event handling along with a highly consistent set of widgets, layouts and utility components all in one package.
At least, this is when I choose YUI over arguably lighter / smaller / simpler solutions (like jQuery).
Nothing here either (Opera 11, Windows). Seriously guys, Sproutcore is so horribly not-cross-browser that it's a joke. Please stop making sites with it.
Just FYI: the version of SproutCore being used here is SproutCore 2.0 developer preview, which made aggressive use of new browser features, but missed a couple of places to polyfill. Those places are now plugged, mostly due to this exercise.
SproutCore 1.x, the current stable line, is in use for a number of major sites that work across a large number of browsers, including IE7 and IE8.
I'll assume that there's a reason why you wrote "across a large number of browsers, including IE7 and IE8" in reply to a comment about Opera?
I must admit I haven't checked right now, but at least a few months ago the site was all about how awesome Sproutcore is, but accidentally neglected to mention that there are common browsers on which it does not work. I had to install and try to use it to figure that out.
IMHO this is a serious attitude problem; launch first, make work later. That's all right if you're open about what's missing, but the Sproutcore site makes promises ("it works") that it can't keep.
That's what I get now using Opera 11.11 32bit on Linux.
Uncaught exception: ReferenceError: Security error: attempted to read protected variable: toString
Error thrown at line 9, column 22266 in x(a, b, c) in http://www.everyjs.com/js/libs/sproutcore-2.0.a.3.min.js:
if(g&&g.toString===e)
In line with tomdale's quite constructive multi-framework suggestion (and yeah I gave it props on the pull's comment page too), everyjs site looks ready for a third pulldown at the top: "Render this page using <JS-library-list>"
Maybe with some loadtime stats and other statporn too
The explanation of MooTools' advantages should mention inheritance. MooTools is indispensable if you want to build a robust class-and-instance structure that more closely matches the architecture you're using in other client technologies (e.g. java, flex, or cocoa)
Ender looks really interesting but I feel like it's missing the example that really shows the power behind it. I'm not sure I'm seeing it right now. Anyone have/know of such an example?
Is this intended purely as libraries to use in the browser? JavaScript doesn't just mean web anymore - but if this is aimed at web it might be worth saying so explicitly.
I had that originally in the House Rules section but removed it. I'll reconsider the best way to word this without trying to cause a server/browser JS flamewar.
I agree! I put this together in a few hours while spending Memorial Day weekend at my parents' house.
I'm planning on adding sorting/filtering based on browser compatibility, file size, and area of expertise. I'd be interested in hearing any other criteria people want.
The web page is actually a SproutCore 2.0 app, so I'm hoping it can be used to show the flexibility of the framework when it comes to building data-driven apps.
Question for Tom: Some of the wording ('your own' and 'maintainer') suggests you only want people to submit their own libraries and not ones they use and enjoy. Is that intentional?
That might impede the amount of submissions you would get.