top | item 9681872

CloudKit JS

162 points| mindrun | 10 years ago |developer.apple.com | reply

35 comments

order
[+] sirn|10 years ago|reply
The link to JavaScript reference is 404 right now, but after fiddling with the URL a little bit, these seems to work:

CloudKit JS: https://developer.apple.com/library/prerelease/ios/documenta...

CloudKit Web Services: https://developer.apple.com/library/prerelease/ios/documenta...

Edit: They've fixed the links.

[+] untog|10 years ago|reply
Heh. I'm happy to let other people try this out - iCloud hasn't exactly had the best record for uptime and little things like this reinforce my worry that Apple doesn't do backend services well.

That said, I look forward to being proven wrong.

[+] mindrun|10 years ago|reply
Cool, thanks! Much appreciated! :)
[+] kojoru|10 years ago|reply
If I'm reading correctly, that means I can build an app without any explicit auth on OS X/iOS with backend which allows access to personal data via AppleID username/password.

That's neat.

[+] meesterdude|10 years ago|reply
This is great for some people, certainly. I won't knock it for people who's lives are better with this.

But let's not kid ourselves. It's still their system; you're still playing by their rules and doing things their way. Their history in this space is not good at all. Maybe things have changed for the better; but it doesn't change the fact that this only brings you deeper into their walled garden.

One of the reasons apple doesn't like the web is they can't make money from them like they can from apps. Now, they have a way. They still have a bad track record with infrastructure; numerous instances of failures, but I imagine they're getting better.

Thanks, but no thanks.

[+] efsavage|10 years ago|reply
Sorry Apple. You are many years of good behavior away from my trusting you with this big a piece of my infrastructure.
[+] bsaul|10 years ago|reply
I absolutely don't understand why you got downvoted because i absolutely feel the same. Apple has a proven record of not understanding anything related to the web, and having product and technology issues with anything related to it.

Just yesterday evening, you couldn't add an app on itunesconnect because of some angularjs error ( which they apparently used to refactor their site), and you could trace the debug log on the console, and follow the link on angularjs documentation ( a "bindonce" directive not included error).

[+] yalogin|10 years ago|reply
Can you elaborate on this? Why? And why many years?
[+] MCRed|10 years ago|reply
They have been providing rock solid internet infrastructure, and the tools for it, going back to the acquisition of NeXT. WebOBjects, for instance, powered Dell's online store, and selling direct was Dell's entire purpose of being in business in the 1990s. It's been powering iTunes since 2003 or so with less than a tenth as much downtime as Amazon Web Services... yet lots of people use AWS.
[+] hamxiaoz|10 years ago|reply
Is this something similar to parse/firebase?
[+] christiangenco|10 years ago|reply
This was my thought as well. It looks like `(parse|firebase) + apple ID authentication`.
[+] nathan_f77|10 years ago|reply
Yeah I heard that Apple considered buying Parse before deciding to build CloudKit instead. It's a direct competitor, although Parse is still much further ahead. CloudKit is a lot cheaper though.
[+] jimmytidey|10 years ago|reply
Free storage for 1PB - can that be right? Am I misunderstanding when I think petabyte?
[+] ceejayoz|10 years ago|reply
There's a "Capacity scales with your users" section that says you have to have 10M active users for that.
[+] mindrun|10 years ago|reply
Yep, you're probably right. I mean, dragging the slider from left to right clearly increases the TB-number to 1000 (where it stops) and 1000 TB = 1 PB
[+] suninwinter|10 years ago|reply
What are the chances Apple will pull your app if you start accessing these web services from an Android app?
[+] Jgrubb|10 years ago|reply
Yesterday I'd have said 110%, but I dunno... I'm getting this dreamy feeling that something wonderfully developer-friendly might be going on here. Not to mention owning that infrastructure that let folks also -run- back Android apps seems like it'd have value in itself, beyond just the dev PR.
[+] mindrun|10 years ago|reply
I think think they will do anything to prevent that. I mean, it's made for the web, so it's technically made for every device from every provider.
[+] gcz92|10 years ago|reply
0% It would kill any chance of adoption in favor of parse or firebase.
[+] lsllc|10 years ago|reply
Powered by FoundationDB?
[+] LunaSea|10 years ago|reply
No it's powered by the tears of former FoundationDB clients that got fucked in the process.
[+] brentm|10 years ago|reply
I hope this is a precursor to Apple Pay on the web.
[+] joesmo|10 years ago|reply
I assume the cost goes up with users but the js on this page doesn't work on my kindle.
[+] IanCal|10 years ago|reply
It doesn't, apparently. The cost seems to be per-user, so

250MB asset storage / user

3MB database storage / user

50MB transfer / user

10 req/s per 100k users

is all free. I don't know how the requests part scales though, 10/s for 100k users is each user hitting it once per 3 hours. I can't complain about the amount given away for free, but I don't know quite how this would scale with costs for different types of apps/loads.