Search

Core Data: Apple's API for Persisting Data on Mac OS X

Core Data: Apple's API for Persisting Data on Mac OS X Review




Word of warning: not one of the 5-star reviewers actually worked through examples in this book then reviewed it.

It's not a 5-star book. It's a 5-star topic, and sadly (very very sadly) it's the only book I know of actually on that topic.

I think the author's intentions are good, and there's a lot of useful info. I'm grateful to have it.

But all of that has to be balanced against the maddening b.s. of trying to actually follow his examples. You know, to actually do what you're supposed to do with a programming book.

Up to chapter 5, it's a pretty good book. If you download the code from the publisher's web site, you'll discover that he names some of his objects differently than you would if you follow his instructions strictly. This actually will create problems for you potentially when you try and troubleshoot problems in your own code, but they're minor. Annoying and needless, but minor.

Then you get to chapter 5, and it's really not so minor anymore. Grab the book (print version or PDF) and work through the examples in chapter 5, and you will have a broken program. Don't take my word for it. Check out the forums and the errata page on their website, and you'll see others reporting the same problem. There is a complicated data migration described. After walking us through a fairly trivial example, he then goes on to give us a much more complicated version. He leaves large portions of that to the reader, and just goes instead for code. The problem is that he doesn't even give us some of the most important code. He shows us a very important ObjC method to add to the AppDelegate... but never even mentions the major alterations you need to make in another method to make that new one get called.

Perhaps it's unreasonable to expect programming book editors to actually go through the examples to see if it works. Perhaps it's unreasonable to expect all books to be as well-done as Hillegass' book.

What's sad is that I've been waiting for this kind of book ever since Core Data came out. And there are some very nice ideas here. I'm gonna slog through the rest and hope it gets better, because the topic is really important. If you plan to buy this book and really work through the examples, I think I'd still recommend it (since there's nothing else). But word to the wise: it's gonna require a LOT more work than a properly written and edited programming book would have.

Core Data: Apple's API for Persisting Data on Mac OS X Features

  • ISBN13: 9781934356326
  • Condition: NEW
  • Notes: Brand New from Publisher. No Remainder Mark.



Rating :

Price : $32.95

Offer Price : $17.22




Overviews

Whether you are targeting Mac OS X or the iPhone, at some point your Cocoa application is probably going to need to persist data. You could struggle with SQLite, generate XML, or create your own binary format. Or, you can save time and energy by taking advantage of Apple's Core Data API instead.

Core Data makes it easy for you to work with object graphs and to persist data-but there are plenty of pitfalls and issues to watch out for. This book shows you everything from versioning to integrating with Quick Look, Sync Services, and Spotlight. You'll see how to boost performance and work in multithreaded applications. You'll work with Core Data on both the desktop and the iPhone.

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 your application into OS X.

As an extra bonus, you'll see numerous recipes that are useful in unusual situations, or even in places where you wouldn't have thought to use the Core Data API before. It will become another indispensable tool in your kit.

Affordable Price at Store Check Price Now!



Customer Review


A top reference for any in-depth computer library - Midwest Book Review - Oregon, WI USA
CORE DATA tells how to move from Core Data basics from Apple to advanced configurations, covering all aspects of a full-featured application based on the Mac OS X Core Data API. Chapters cover common applications, pros and cons, common pitfalls, and how to boost performance using Core Data on desktop and iPhone alike. Also included are numerous 'recipes' for unusual situations, making this a top reference for any in-depth computer library.


Huge Oversight in this book. - A. Donoho - Austin, TX USA
I wanted to learn how to use Apple's Core Data technology in my iPhone applications. I was deeply disappointed by this book.

"Core Data" leaves out a discussion of NSPredicate, the query language of Core Data. This is basically the same as leaving a discussion of the WHERE clause out of a SQL book. For the record, "Core Data" actually does cover NSPredicate -- for 3/4 of a page. And then it references Apple's documentation. Before I bought this book, I had already read Apple's docs and found them wanting. Apple's lame documentation was a motivating factor in my choice to purchase "Core Data".

If you need to make queries on the Core Data object graph, then do not buy this book. It doesn't help you learn Apple's different query language.




*** Product Information and Prices Stored: Apr 24, 2010 07:59:25


Related : BUY "Kangol Hats" With Affordable Price NOW!! Best Deals & Discounts And Reviews Online Shopping All About Flip Flop Sandals Best Deals & Reviews On Buy Ray Ban Sunglasses

No comments:

Post a Comment