Facebook's Parse Embraces Swift - InformationWeek

InformationWeek is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Cloud // Platform as a Service
04:47 PM
Connect Directly

Facebook's Parse Embraces Swift

Developers can use Swift to access Parse services, but Apple is now competing for that business.

6 Models Of The Modern Data Center
6 Models Of The Modern Data Center
(Click image for larger view and slideshow.)

Just days after Apple announced a new programming language, Swift, to create OS X and iOS apps, Parse, Facebook's backend-as-a-service subsidiary, has added support for Swift.

"Here at Parse, we’re really excited about Swift, because it brings a whole host of new language features to iOS and OS X development," said Fosco Marroto, in a blog post. "Swift's type inference will save developers a ton of typing. And generics will reduce runtime errors by giving us strongly-typed collections."

Though Swift presently may not be as swift as Objective-C when it comes to code execution speed, it has generated real enthusiasm among Apple developers because it appears to be easier to work with than Objective-C and because Apple's Xcode 6 provides interactive feedback with Swift projects. Swift can help developers generate code with fewer errors and be more productive.

For Parse, adding Swift support was relatively painless because Swift is compatible with existing Objective-C libraries. Swift is simply a new way to address Apple's existing Cocoa and Cocoa Touch APIs.

And that's fortunate for Parse because Apple also introduced its own backend-as-a-service called CloudKit that makes it a competitor. Parse needs to minimize the friction for Apple developers because Apple just invited its developer community to try its own cloud-based services for their apps.

Facebook CEO Mark Zuckerberg, at Facebook's F8 Developer Conference in April, said his company's goal is "to build the cross-platform platform."

[Who is ahead in the battle for the cloud? Read Gartner's Magic Quadrant 2014 For Cloud: Winners & Losers.]

Apple's goal has long been the opposite, to ensure its platform is second to none by exercising control over its platform. With its new CloudKit services, Apple is providing a subset of Parse's services, but with far more storage and bandwidth.

CloudKit offers authentication (storing private data requires an iCloud Account), private and public databases, and structured and asset storage services. And its free for up to 1 PB of asset storage, 10 TB of database storage, 5 TB/day for asset transfers, and 50 GB/day for databases. As points of comparison, Parse offers up to 20 GB of assets, 20 GB of database storage, and 2 TB/month of transfers before it starts charging. Score one for Apple.

Beyond mobile developers, CloudKit could tempt enterprise developers whose iOS apps aren't interfacing with full-blown backend content management systems.

Parse still has some advantages: Its Core service supports server-side application logic and it offers Analytics and Push services too. It also works with apps on different platforms, like Android and Windows Phone, and with different development frameworks like Unity and Xamarin. If you're developing apps for multiple platforms, Parse looks like a better option.

But for cross-platform development, there's often a good argument to building your own backend and overseeing the server or cloud hosting yourself. Why lock your apps into a third-party cloud service if you don't have to?

Could the growing movement toward open source hardware rewrite the rules for computer and networking hardware the way Linux, Apache, and Android have for software? Also in the Open Source Hardware issue of InformationWeek: Mark Hurd explains his "once-in-a-career opportunity" at Oracle.

Thomas Claburn has been writing about business and technology since 1996, for publications such as New Architect, PC Computing, InformationWeek, Salon, Wired, and Ziff Davis Smart Business. Before that, he worked in film and television, having earned a not particularly useful ... View Full Bio

We welcome your comments on this topic on our social media channels, or [contact us directly] with questions about the site.
Comment  | 
Print  | 
More Insights
InformationWeek Is Getting an Upgrade!

Find out more about our plans to improve the look, functionality, and performance of the InformationWeek site in the coming months.

New Storage Trends Promise to Help Enterprises Handle a Data Avalanche
John Edwards, Technology Journalist & Author,  4/1/2021
11 Things IT Professionals Wish They Knew Earlier in Their Careers
Lisa Morgan, Freelance Writer,  4/6/2021
How to Submit a Column to InformationWeek
InformationWeek Staff 4/9/2021
White Papers
Register for InformationWeek Newsletters
Current Issue
Successful Strategies for Digital Transformation
Download this report to learn about the latest technologies and best practices or ensuring a successful transition from outdated business transformation tactics.
Flash Poll