Slashdot Log In
Apple's SproutCore, OSS Javascript-Based Web Apps
Posted by
kdawson
on Monday June 16, @09:14PM
from the mmmm-cocoa dept.
from the mmmm-cocoa dept.
99BottlesOfBeerInMyF writes "AppleInsider is running an article about Apple's new SproutCore Web application development framework, utilizing Javascript and some nifty HTML 5 to offer a 'Cocoa-inspired' way to create powerful Web applications. Apple built on the OSS SproutIt framework developed for an online e-mail manager called 'Mailroom.' Apple used this framework to build their new Web application suite (replacing .Mac) called MobileMe. Since SproutCore applications rely on JavaScript, it seems Apple had good reason to focus on Squirrelfish for faster JavaScript interpretation in Webkit. Apple hosted a session last Friday at WWDC introducing SproutCore to developers, but obviously NDAs prevent developers from revealing the details of that presentation. Apple has a chance here to keep the Web becoming even more proprietary as Silverlight and Flash battle it out to lock the Web application market into one proprietary format or another. Either way, this is a potential alternative, which should make the OSS crowd happy." TechDIrt's writeup on the browser evolving towards acting as an OS expands on the theme AppleInsider raises.
Related Stories
[+]
Developers: Next-Gen JavaScript Interpreter Speeds Up WebKit 193 comments
JavaScript is everywhere these days. Now WebKit, the framework behind (among others) Safari and Safari Mobile, as well as the yet-unreleased Android, is getting a new JavaScript engine called Squirrelfish, which the developers claim provides massive speedups over the previous one. The current iteration of the engine is "just the beginning," they claim; in the near future, six planned optimizations should bring even greater speed. With JavaScript surviving as a Web-page mainstay despite many early gripes, and now integral to some low-powered mobile devices, this may mean many fewer wasted seconds in the world.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

Another good article on this... (Score:4, Informative)
Reply to This
Re:Roughly Drafted==Spam (Score:5, Insightful)
Reply to This
Parent
Supporter here (Score:5, Insightful)
I just wanted to throw in some words of support in the midst of the AC wasteland from people who can't even post with a real userID.
Reply to This
Parent
Re:Roughly Drafted==Spam (Score:4, Funny)
Reply to This
Parent
Re:Roughly Drafted==Spam (Score:4, Insightful)
Roughly Drafted is one of the better Apple blogs out there. I don't agree with everything the guy says, but it is original and interesting, unlike most Apple blogs, which are just rehashes of press releases (sadly much like the rest of the news).
Reply to This
Parent
But what will the code look like? (Score:4, Insightful)
For example where I work we were building a B2C app and instead of wasting coder time building the bla bla stuff around the real working site. They used go live and in the end we had to re-do it all.
Reply to This
Re:But what will the code look like? (Score:5, Informative)
Reply to This
Parent
correction (Score:4, Informative)
But not all of them and not in the same way.
There are a number of nuances that can not be completely replicated by the free alternatives and they certainly will not be as tightly integrated into the OS and into 3rd party apps that run on the OS.
Sorry, but you're dismissing some things you don't know everything about.
And calling people retards certainly does not help your case.
Reply to This
proprietary (Score:5, Informative)
It's not true that Flash is completely proprietary. There are multiple open-source compilers, and there's an open-source browser plugin. You do have to work hard to develop in flash using an OSS software stack, but there are people doing it. Gnash, the open-source browser plugin, has gotten to the point where it can play you-tube videos, provided you have the right hardware and sacrifice an unblemished calf. Adobe has also been slowly moving in the right direction as far as open-sourcing some of their code, and relaxing some of the more onerous licensing restrictions. A lot of the problems with making flash more open are actually problems with codecs, and that situation is also showing signs of improving, with support for less patent-encumbered codecs being added to newer versions of flash.
Reply to This
Re:proprietary (Score:5, Insightful)
If things can be accomplished with COMPLETELY open and free (as in freedom) frameworks and languages, why choose Flash?
Reply to This
Parent
Re:proprietary (Score:5, Informative)
SproutCore is pretty impressive for building real JS web applications, although the story doesn't real end there.
There's a convergence of other improvements, such as HTML5, CSS, and SVG, that are filling a lot of the multimedia roles previously the domain of flash.
For example, WebKit already supports CSS transforms [webkit.org], gradients [webkit.org], client-side database storage [webkit.org], animation [webkit.org], HTML5 media [webkit.org], downloadable fonts [webkit.org], masks [webkit.org], reflections [webkit.org], etc.
A lot of these things are only available in WebKit right now, although they've all been proposed or will be proposed as web standards in the near future, and provide a nice glimpse at where the web is heading. Web 3.0 (or whatever marketing term people come up with) is clearly though going to be focused on multimedia.
Reply to This
Parent
Re:proprietary (Score:5, Insightful)
Reply to This
Parent
Re:proprietary (Score:5, Insightful)
These days, I try not use flash (got flashblock) but for the times I need it, the official Adobe is installed. Perhaps when Silverlight gets released for linux, and developers start using it - Adobe will lift its game a bit.
Reply to This
Parent
lockin (Score:5, Interesting)
I started writing on DOS. (I won't count the Apple ][.) Wrote for PDP-11s. Wrote for Windows. Wrote for SGI GL (before OpenGL). Each new platform was yet another paradigm, yet another set of non-portable libraries or techniques.
I like POSIX, and I like portable languages and toolkits that I can take from platform to platform. I like writing little graphical apps or command-line tools in Perl, Python, GTK, SDL, OpenGL that I can run on Linux, Windows, Mac OS X, or even my Nokia N810. All the knowledge is transferrable, all the benefits of the little tools are transferrable with a little work to smooth out details like widget placement or font decisions.
I never bothered to get deep into Objective C, because while it's theoretically transferrable, it is really just used to write for the Apple Carbon/Cocoa/Core/Whatever/Don'tNitPickItsJustAnExample* stack. Same went for DirectX on Windows when I still wrote software for Windows. I would like to make apps that do whizzy things with Core Animation or whatever, but I just can't make myself get excited at the prospect of learning yet another vendor-lockin technology. The hardware-accelerated compositing is cool, the effortless scripting of visual objects is interesting, but not interesting enough to actually learn something that won't be portable.
If I really want a visual effect like Core This or Direct That, I will write a portable library to do it in OpenGL on Python or something. Or if the need isn't extreme, I'll just wait for someone else to write the general library if it ever happens.
Reply to This
Re:lockin (Score:5, Funny)
Reply to This
Parent
Apples and Oranges (Score:4, Informative)
Flash/Silverlight don't only contain the same app struts for you to build upon, but they are also incredibly powerful application hosting frameworks with rich graphics and multimedia libraries to go beyond what HTML can render.
Comparing SproutCore to Flash and especially Silverlight is nonsense. Saying it's a Flash/Silverlight killer is delusional.
Reply to This
Re:Apples and Oranges (Score:5, Insightful)
I don't think anyone expects SproutCore to "kill" Flash in its current usage - mostly ads and multimedia. I think the claim is that SproutCore could kill Flash's aspirations (via AIR) to become a standard for building rich apps on the browser.
I mean, you have to admit that if you were considering building a rich app, and you were looking at all of the options... well, now Apple has some real rich apps working via javascript and Google has always had their javascript rich apps - at the very least it shows you that you can be successful while sticking with javascript.
Reply to This
Parent
280 North seems to have the same idea in mind. (Score:5, Informative)
Now I don't know if SproutCore is anything like what they are doing (wasn't at WWDC so I don't know the details), but the end goals of both projects seem like the same thing. A language and framework where whatever you make should just work across browsers. It's very early days for both, so we will have to see. From the article it seems like SproutCore is going to be fairly open. The 280 North guys seem like they want something similar for Objective-J and Cappuccion but they are still working on cleaning up the frameworks.
Either way, the competition should be good and hopefully bring sanity to the client side scripting world.
Reply to This
Re:There are many areas where Apple matters (Score:5, Interesting)
Reply to This
Parent
Re:There are 6 million iPhones out there (Score:5, Interesting)
Reply to This
Parent
Re:There are 6 million iPhones out there (Score:5, Informative)
The most important thing about the iPhone isn't the sleek design, the touchscreen, iTunes integration, or any other single feature. It's the way that people use the device. Specifically, it's that people actually use it to do stuff besides making phone calls. Examples:
Almost 85% of iPhone owners browse the Web on their phones, versus 58% of the U.S. smartphone market and 13.1% of the overall U.S. mobile market, according to mobile research firm M:Metrics.
Some 31% of iPhone owners watch mobile TV or video, like Google's (GOOG) built-in YouTube software, compared to 4.6% of the overall market.
About 20% of iPhone owners access Facebook, versus 1.5% of the overall market.
And 74% of iPhone owners listened to music on their phones, compared to 28% of the smartphone market and 6.7% of the overall market.
Even if the usage is overstated that's still a hell of a lot of mobile Internet users.
The iPhone isn't like a regular smartphone. Rather than trying to supplement an experience for someone with existing shitty expectations of the big boy Internet on mobile devices, it's trying to broadly appeal to the market and it's becoming a catalyst that is literally changing the dynamics of the mobile data market.
Saying that people will be loading binary apps will kill off web development is like saying Web 2.0 is pointless because we all have Windows.
Reply to This
Parent
Re:Web 2.0 exists because (Score:5, Insightful)
Reply to This
Parent
Re:There are 6 million iPhones out there (Score:5, Interesting)
Web development is for the web, not targeted at the iPhone. Whether or not key customers can view your content is a big deal. iPhone users will have more impact than their numbers suggest, just as Mac users do.
The fact that this also benefits Linux users is just a nice finish.
Reply to This
Parent
Re:There are many areas where Apple matters (Score:5, Insightful)
And any time someone brings something new and interesting to the web, especially something they're willing to open source, it's a positive thing.
Reply to This
Parent
It can use any backend (Score:5, Informative)
Reply to This
Parent