Core Data: Apple's API for Persisting Data on Mac OS X (英語) ペーパーバック – 2009/10/28
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
"Core Data" walks you through developing a full featured application based on the Mac OS X Core Data APIs. You'll discover how Core Data contributes to Cocoa applications, as well as some of the pitfalls and issues surrounding the current implementation. "Core Data" takes an unusual approach to explaining Core Data by focusing on a single application throughout the book.You'll start by building an application from scratch and as you learn new principals and abilities of Core Data. We won't gloss over any important details - you'll get it all. We'll explore not only how to get everything working properly, but also how to take advantage of shortcuts thanks to the flexible and customizable nature of the API. By the end of "Core Data", you'll have built a full-featured application, gained a complete understanding of Core Data, and learned how to integrate our application into OS X. Finally, at the end of the book you'll see numerous recipes that are useful in non-mainstream situations, or even in places where you wouldn't have thought to use Core Data before.
Marcus S. Zarra is the owner of Zarra Studios LLC and the creator of seSales and iWeb Buddy. In addition, he is a co-author of "Cocoa Is My Girlfriend," a wildly popular blog covering all aspects of Cocoa development. Marcus S. Zarra has been developing software since the mid-1980s and has written software in all of the major technological fields.
Amazon.com で最も参考になったカスタマーレビュー (beta)
All the books that I've read while learning Cocoa touch upon Core Data, but they don't go into any depth. Sure, we always have Apple's own documentation, but let's be honest here: it's a little dry and boring. It is more of a reference. That's why all those Cocoa books exist anyway. This is why I've decided that my best bet is picking up a book that focuses on Core Data exclusively.
Sadly, this book didn't live up to my expectations. It starts out with writing up a simple app, not really explaining what's going on, only giving you directions for what to do, while promising we'll get to the actual theory later. And I thought that was just fine, a lot of books take that approach. Those books actually stick to the promise though. They explain what and why you did in the first place. All right, we've built a simple app that uses Core Data, and now we expect a discussion, right? Well, guess what. There are 40 pages on actual Core Data (compare to 234 pages of text in the whole book). Furthermore, the 40 pages are somewhat cumbersome. I've had an impression that the author didn't take into account that his readers are not really familiar with Core Data as well as he is. What seems natural to him, was a complete mystery for me and missing big chunks of explanation is not something novices enjoy too much. What are the other pages for? Well, they are pretty much advanced topics which I don't think are of the first priority to Core Data beginners (DB migrations, performance, multithreading, Spotlight and Quick Look integration).
As a result, I'll have to turn to other sources to learn Core Data. You don't have to believe me, but you'll have to believe the table of contents: the actual discussion of actual Core Data is 40 pages long (insert pictures and blank space here).
Given that many people will be coming to core data on iPhone with new projects it would have been helpful to see three, clearly distinct, sub-sections:
1) starting a core data project from scratch on iPhone (post-SDK 3)
2) importing a core data model and persistent store from the desktop to use in an iPhone app (post-SDK 3)
3) upgrading an existing app (pre-SDK 3) to use core data
For iPhone developers new to core data I'd recommend building an app from scratch using the Apress, or PragProg, or Sams intro books and then reading this book to understand what core data is all about in the larger world view. No book that I'm aware really covers core data on iPhone very well.
The iPhone part of the book presented itself as an effort to attract iPhone developers. and it was not well thought out. If the book just slowed downed, stayed on topic and made no assumptions it could have presented itself as the description states.
If I could get my money back, I would!
- 洋書 > Computers & Technology > Apple > Home Computing & How-to > OS X
- 洋書 > Computers & Technology > Computer Science > Information Theory
- 洋書 > Computers & Technology > Computer Science > Modeling & Simulation
- 洋書 > Computers & Technology > Networking > Network Administration
- 洋書 > Computers & Technology > Programming > Software Design, Testing & Engineering > Software Development
- 洋書 > Computers & Technology > Web Development & Design > Web Design