I would say that what I, and others, did was more like someone going to a website, hitting view-source, and saying "hmm this is interesting, there is something to be learned here" and then putting the interesting code snippets up on their blog. especially when the first line of my readme said "this is just for learning's sake, dont use this on your real website."
At any rate, I for sure agree that apple is not being a bully, unjust, or outside of their rights to tell me to take it down. But it does kind of suggest that apple is going out of their way to impede the quality of web-apps on the iphone rather than try to help it along.
Apple if your listening, why not just open source PastryKit?
You reproduced the code wholesale -- that was infringement, not fair use.
Apple if your listening, why not just open source PastryKit?
They don't want to -- that's their prerogative. I find your sense of entitlement baffling.
It does not. You're projecting motive onto an action when you have only seen the action itself, not the deliberations that lead to the action.
Copyright allows snippets of works for discussion under concept of fair use. It doesn't allow wholesale republishing into a distribution channel of the complete original work -- even if your first line does say "just for learning".
See "Fair Use" test #3: http://en.wikipedia.org/wiki/Fair_use
Why? If you care to learn the lessons of PastryKit, you can view the original source. Its not in Apple's best interest to support yet another web framework thats kind of Cocoa-like. Both SproutCore.com and Cappuccino.org provide web application frameworks that are more complete, better documented, and actually maintained.
I guess Apple has an incentive in doing so. Improving web apps improves it for all phones. They lose their comparative advantage in doing so.
When Apple is scared of web applications, they'll stop improving WebKit.
And WebObjects.
Oh, wait... http://en.wikipedia.org/wiki/WebObjects#2009:_No_longer_supp...
Perhaps they already intend to, but they don't want half the world using some half-baked prerelease version and then asking them for support?
I have no idea if that's the case, but it's at least as plausible as your theory that they're terrified of web apps competing with native apps. And it's supported by exactly the same amount of evidence, which is to say none.
The fact remains that PastryKit is open source, but close-licensed - by which I mean the frontend source code is transmitted when you access the website by necessity, but owned entirely by Apple.
Honestly, Apple is behaving much like Plurk just a few days ago. Their frontend source code was lifted, unpacked, analyzed, and repackaged for another product. Frustrated by having their intellectual property repurposed without permission or license, a takedown order was appropriate.
While I'm all for analyzing techniques like those found in PastryKit and am sort of a "rah! rah! open source!" guy in general, Apple was well within their rights to request a takedown. It sucks that they did, because I'd love to read up on this sometime and learn from it, but that's how these things tend to go.
That said, whether you agree with me or not, I don't think that this takedown notice is any reason to suggest that "Apple is terrified of iPhone web apps being as good as native apps."