Apple's SproutCore, OSS Javascript-Based Web Apps
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.
http://www.roughlydrafted.com/2008/06/14/cocoa-for-windows-flash-killer-sproutcore/ This is from Roughly Drafted.
"keep the Web from becoming even more proprietary"?
That's my question. I have seen too many apps that "help" you create websites but the code it generates is a mess. And if you want to integrate it with another app forget it.
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.
I think the iPhone would disagree there. Pretty much as long as Apple refuses to put Flash on the iPhone, anything iPhone-friendly will have to be some flavor of HTML. The fact that it would also work well on Linux is a bonus.
Don't thank God, thank a doctor!
I think "retard" is a little strong. Obviously you're not in MobileMe's target market, but there is an integration between Apple's products that makes things easier for those "retards" who don't mind paying money for having things handed to them instead of spending time digging around the internet like you (and I) do.
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.
E pluribus unum
You've linked to Roughly Drafted - the site that was caught trying to spam digg.
Roughly Drafted is poorly written & not credible. Please don't link to it - as the unofficial apple weblog puts it:If you're an Apple fan - don't link to RD; that website actually hurts, rather than helps Apple.
There are shills on slashdot. Apparently, I'm one of them.
You can get "some" services which are "similar" to .mac for free.
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.
MIT license, doesn't look like ass, fast, well designed... score: SproutCore 4, EXT: 0. If I wasn't going to be dick-deep in teen pussy tonight, I'd be all over this shit right now.
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.
Find free books.
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.
[
From TFA, SproutCore is basically a rich set of JavaScript libraries. Flame/mod away, but it's true.
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.
using System.Awesome;
How do those seekrit sh-h-h-h-h don't tell nobody! NDAs work with OSS? The "O" part starts for "open". "..and now here we show you these open source new goodies, but you can't tell anyone about them, no details, nor show them, but they are really open, honest!"
Good luck with that. Apple makes some good stuff, but let us not confuse them with being some sort of "open" champions, because they are *not*.
By end of year there will be 12 million of them. I'd go out on a limb and say that about 20% of iPhone users actually use the web browser in it on a regular basis. I hate to break the news to anyone, but that's a minuscule fraction of the market.
Don't get me wrong, I have an iPhone myself, but let's be real here - people will be loading binary apps on it starting in July, at which point web development will become an inconvenience on the iPhone for a lot of things.
The photo gallery demo on SproutCore.com fails to work on Opera - the right photo pane not even rendering. Although Opera isn't widely used, with its exceptional standards-compliance it's a great barometer for how compatible something may ultimately be.
It's an interesting idea, and maybe I'm missing the "awesomeness" of it, but I don't find a compelling reason to switch to this over a standard development stack. It just seems as though it's a highly widgetized javascript framework, running on ruby.
I develop in Rails and C#, and I'd just as soon use jQuery and it's host of extensions to build my own application like widgets that I could use across any backend.
I've looked through the documentation and I'm hoping I'm just missing something about SproutCore's awesomeness.
Tags on the article at time of posting: apple, rails, ruby, rubyonrails (tagging beta)
...is ruby really that lame that people are tagging unrelated articles to grassroots this bitch into existence?...
or not http://www.sproutcore.com/ Site Temporarily Unavailable We apologize for the inconvenience. Please contact the webmaster/ tech support immediately to have them rectify this. error id: "bad_httpd_conf"
Sorry that's not true and you know it.
Over a thousand of my readers wrote Digg to ask it to stop censoring my articles (and cc:ed me) after a small contingent of Digg users complained that I was poking at their Xbox, Zune, and Windows Enthusiast views.
Digg has never accused me of creating scores of accounts, and some anonymous blog entry is not "credible evidence."
Promoting articles I write by submitting them to sites designed for that purpose is not spam.
Web 2.0 exists because you don't have to code your apps for each and every device separately. This is not the case with iPhone - anything not specifically built for iPhone is just awkward to use.
More importantly, is that in dog?
"Not an actor, but he plays one on TV."
Nice sig. You're clearly not a sockpuppet at all.
Personally I'm not seeing the need...
Cantankerous old coot since 1957.
To me, all this looks like Zimbra. Am I right? By the way, are all components Open source? Without an answer in the affirmative, I will not touch it even with a 10 foot pole.
I like my iPod Touch, but I don't like smug Apple fans like you who choose to worship a corporation and deride others for using a different product. You need some serious growing up to do. [Unless of course you are doing it make money from all those affiliate ads on your site; then it's OK.]
Flash & anything javascript related is a security bomb waiting to go off.
Just because this is coming from Apple doesn't remove the deficiencies in Javascript.
/I don't actually know anything about Silverlight's security or lack thereof, so I left them out of this.
[Fuck Beta]
o0t!
Just out of curiosity, am I supposed to have some idea who you are?
Be the next generation web app designers...$120k!
Requires 3 years experience in:
SproutIt, MobilMe, and SproutCare
When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
why is this tagged with ruby on rails? theres nothing in the article to suggest so, or are the rails nutters at it again?
(yaya, flamebait, i know)
Just how many accounts do you have on slasdot?
More than twitter even it would appear.
After reading a bit about this, it sounds like something similar to Google's GWT (with Gears), except that SproutCore uses Ruby instead of Java.
How do the two compare?
GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
The author just happens to use Ruby on Rails, but you can use Java also (Apple is using WebObjects) or PHP ...
The best way to predict the future is to invent it
... from the mouth of an anonymous coward!
It seems like the guys at 280 Slides have been working on something similar. They have an Apple background and called their language Objective-J, from what I can tell it's an extension on JavaScript in a similar manner to way Objective-C is to C. Their Cocoa like framework on Objective-J is called Cappuccino.
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.
Personally I'm not seeing the need...
According to the FAQ, it's about as far from a Rails clone as you can get and still be on the web:
The SproutCore framework is completely JavaScript based. We have also created some build tools that will take care of efficiently packaging your HTML, JS, and CSS for delivery over the web that are based on ruby. However, Ruby is not required for you to use SproutCore except during development.
http://www.sproutcore.com/about/
http://plausible.coop
mods, this is not really very interesting. There is zero information content, and frankly, it's stated so poorly that it's not even really clear what riceboy50 is actually saying, except, "me thinks Flash bad." Nobody gives a rat's ass if some imbecile tried Flash once and it crashed is 486 PC running Windows 95 and Netscape. What if he had said exactly the same thing about Javascript? It would be interesting if he had provided, oh, any information at all. Yeah, we all *know* Flash is a bloated horrible pile of crap. But saying that isn't interesting, if anything it's redundant.
Summary has yet again a "Bullshit about Flash" factor in it.
The reference implementation of the Flash VM may be proprietary, but the formats and standards involved have been open source and independantly speced longer that Java has been open sourced. In fact it was Adobes SVG that was a reaction to Macromedia openin the flash swf format. That's how long Flash has been as open as you can wish for.
We suffer more in our imagination than in reality. - Seneca
Thank you -- This is all kinds of awesome, and I hadn't heard a lick about it before!
Tweet, tweet.
"... anything not specifically built for iPhone is just awkward to use."
Because the design language and interface UI requirements are different when you're making an application driven by touch as opposed to a "normal" web page with miniscule widgets and links designed to be manipulated by a mouse/cursor combination.
If you don't design for fingers, then the application WILL be awkward to use. Period.
Any sect, cult, or religion will legislate its creed into law if it acquires the political power to do so.
Also-to add to the above. I pay for .Mac (soon to be MobileMe)
it gives me auto synced mail, bookmarks, contacts, storage, gallery etc etc for the aforementioned price. being a contractor, every hour I'm not working is an hour I'm not making money. now at $75/hr exactly how many hours do you think I need to spend finding/configuring these other services that "do exactly the same" over a year, before I'm worse off, from a purely financial point of view.. i'll give you a hint: it's not many.
What is...?
Martin
Wait so Apple took SproutIt and "created" SproutCore? That's almost as bad as Microsoft's Office Open documents, SQL Server an other self aggrandizing names...
But... the future refused to change.
Reply by anonymous was actually mine:
By the same measure, Win32, Microsoft Office formats, and numerous other formats out there aren't proprietary because you can implement it.
Sorry mate, it is proprietary. Until the day that I see Adobe not only make the specification available without needing to sign an NDA (which they've done just recently), but also completely opensource the whole plugin (without any exceptions) and licence it under something like CDDL or BSD, I'd sooner cheer lead for Microsoft and Silverlight.
Adobe have screwed the *NIX community over for years, and buggered if I know why you seem to be hell bent by slobbering at the mouth over 'promises' which Adobe have made. Heck, they can't even make a Plugin for non-Microsoft platforms that doesn't suck!
Quite frankly, if Adobe fell off the edge of the cliff tomorrow, along with all its employee's and management, it would a net benefit to the computing world and the environment.
-- Fucking bloody fucking firefox not fucking keeping the fucking passwords; fuck, prime example of shit programmers doing a shit job checking their software.
Apple is also working on getting CSS transformations into the CSS standard. This will allow you to do to your arbitrary image rotations with only CSS and you can control it with javascript by just setting the element's style attribute. They're also working on CSS animations and transitions to bring Core Animation like effects to the web browser. Check out the Webkit nightlies if you want to see it for yourself. It's quite impressive and easy to use. Hopefully it'll be supported by more than just Webkit soon.
I heard Duke Nukem Forever's engine will use SproutCore...
Stop using that word!!!! AAaaaaaargghhhh!!
There comes a point in life where rather than spending time sourcing wheels, engine, doors, body, fuel system and spending time testing and assembling before a journey you just go out and get a car.
.Mac gives me for the money. Looking at it MobileMe will deliver too. The tight integration with the OS is what's important.
I'm happy with what
You may think me a tired, old, cynic. I'd have to disagree about the tired bit.
I just read about Objective-J a few days ago. I wonder what Apple thinks about it. It's basically a lot of porting of AppKit and they even call their frameworks the same thing (AppKit, Foundation etc.). It seems quite interesting and if anyone can make Javascript behave more like Objective-C then I'll definitely be looking into it more.
It's not 'Apple's SproutCore'. Last year at WWDC they had a session on the Dojotoolkit? but it wasn't Apple's dojotoolkit. In some of the web-related sessions Prototype was used, but it's not Apple's Prototype.
Let's just call it Apple's HTML5 and Apple's CCS3 while we're at it.
Maybe it's Apple's DreamHost that the www.sproutcore.com site lives on too..
John Soward...University of Kentucky
Stop utilizing that word!!!! AAaaaaaargghhhh!!
That's your article? Goddamn you suck. I read some of the drivel, and not only are you insane, you have NO FUCKING CLUE what you're talking about.
FAIL!
If it helps to get the retards to pay $100 per year for a set of services they can get elsewhere for free,
.me? To manage them?
.me a cost of exactly 1 hour of my time. Strikes me as a good deal less than I'd sink into replicating it with "free" services.
How long does it take you to find those services? To integrate them all to the convenience level provided by
I currently bill out at $100/hr, which makes
If you're not worth that much, or if you choose to not optimize your time as sensible people do -- that being the only absolutely limited resource there is! -- I respectfully submit that it is you, and not worthwhile people, who is the retard.
Apple aren't refusing to put Flash on the iPhone. Adobe are.
Flash is (more or less) only available for major operating systems on x86-based architectures.
Non-Intel Linux isn't supported, and 64-bit OSes aren't supported on any platform. For a piece of software as major and significant as Flash, this is a pretty big deal.
PPC Macs are still supported, although support has been waning for several years, and was never all that good to begin with (extremely slow and buggy, even compared to the "good" Windows version).
Also, given the absurd levels CPU usage incurred by the Flash player, it's no small wonder that Apple don't want it on their device.
-- If you try to fail and succeed, which have you done? - Uli's moose
yeah yeah yeah - we've been hearing about this since Netscape was relevant. When's it going to happen?
In my book, trying to spam the wasteland that is Digg is a nobel and just cause - you have to if you want to break through the inner circle that controls the site content.
So instead of complaining about what they may or may not have done to Digg, explain more specifically about what was wrong with that specific article. If you want the site to get better then the way to do so is to correct mistakes they make, not censor them.
Even if he gets a little odd with numbers sometimes, generally I find he has at least a pretty good summary of the situation, even if you have to research a bit more. In an article that is generally about the technology at hand treating it as an overview for the technology makes it a useful source.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
I was one of the ones who wrote. I'm a very real person, one who dislikes censorship of any form - the rest of you should be ashamed for promoting attacks on someone who is simply strongly opinionated. I am no minion or sock puppet, but someone concerned that very small groups are controlling most content that users see on digg, that kind of story inbreeding is really healthy for any site (and indeed on any given day you can see that over the years Digg frontpage story quality has dropped significantly).
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.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Flash-lite is available for ARM processors. You can run it on Windows Mobile phones right now.
Information week reports that Jobs doesn't want Flash on the iPHone because it runs too slowly. That's from March of 2008 (earlier this year.)
Of course, you're contradicting yourself in your own post: Apple aren't refusing to put Flash on the iPhone. Adobe are.
Also, given the absurd levels CPU usage incurred by the Flash player, it's no small wonder that Apple don't want it on their device. So really, I can't figure out if you're trolling or just being really silly.
Writing a spec doesn't make a platform open. Using open components doesn't make a platform open. An open platform is one that isn't tied to a single vendor, which may involve the reference implementation being open source (eg, sockets), it may involve having multiple implementations (eg, HTML), but when you need to buy Adobe's development environment to edit and author arbitrary SWF then it's not "open" in any meaningful sense.
So tell me, mister bones, how does one develop general purpose flash without using Adobe's proprietary development environment?
Open systems with a single proprietary key component are open in name only.
c'mon guys
http://research.sun.com/projects/lively/
Well, someone's gotta counteract Paul Thurrot ;-)
Since you still can't come up with anything wrong in what was actually an innocuous if opinionated summary of the technology, you have unfortunately applied the label "Uber Wanker" to yourself.
Just thought you should know, Mr. Uber Wanker.
I always let wankers have the last response so post away and I'll not bother you further. However since I and most other people do not read wankers mad ramblings, I'm not quite sure what ypu're buying there.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
SproutCore was built while SproutIT developed Mailroom. Mailroom was launched in February 2006 (Interview with Charles Jolley, SproutIt.com).
...
So the core is much older and tested rather well. The only thing that's new is the hype
Btw. The Ars Technica article on SproutCore is good as well SproutCore: rich web apps in JavaScript, no Flash needed
-- "As a human being I claim the right to be widely inconsistent", John Peel
Although Recycle is less important than reuse.
Thanks for your agreement that Apple is 33% as green as Nokia.
There are shills on slashdot. Apparently, I'm one of them.
You keep lying, nobody needs to prove you wrong.
Lars T.
To the guy who modded me down from perfect to terrible Karma - Apple haters still suck
No content & a cheap insult!
I am proved correct (yet) again.
There are shills on slashdot. Apparently, I'm one of them.