realbasic-nug
[Top] [All Lists]

Re: Best way to handle loss of ResourceFork

To: "REALbasic NUG" <realbasic-nug@lists.realsoftware.com>
Subject: Re: Best way to handle loss of ResourceFork
From: "Dennis Birch" <dennisbirch@gmail.com>
Date: Thu, 31 Jul 2008 07:53:04 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=21w5M5z56Q/Q8SdjOAAcaTIWVxpGnmaDam3Vb6v6sU8=; b=W7MbtVBzX1pTF95xXGSNsMyZISt15WQxY3Cm2tOn034h7EGQ4W1lBs0i8Hbqrhozy2 +EM8YdI4hSxxqy76AJnM6PCmZryjhxvySORTY8FIDOtEsxHfsszNG4yLpUGfaUtGsCcG eXAmGyLuGiXEgyTUxgnO6th9UOp6UfMZjuS3I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=sew06h/v8+pT0b/qwF6/UU0Dc5V0enSE5fKXww1w0WRb/5+T8+u0e2hANJGKcAhPx8 Tgbw/tYfBRtUoFAISHPy5JPpOeNoywKlbTQg9jgYHk3pra+uBgcC9yQsh/nETNBsmZYG Z4RQUv5RrLmA8okvApyOJ4UORb2MC7PjUxZVA=
In-reply-to: <p0600200cc4b777ca6932@137.187.213.59>
References: <mailman.3026.1217477886.19703.realbasic-nug@lists.realsoftware.com> <p0600200cc4b777ca6932@137.187.213.59>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
On Thu, Jul 31, 2008 at 7:25 AM, jda <jda@his.com> wrote:

> Basically I would like a way to determine a simple boolean setting of a file
> without having to open it and parse its contents. The ResourceFork was
> perfect for this. I'd appreciate any thoughts on the replacements I've come
> up with, or any I haven't considered.

But even with a ResourceFork you ARE opening the file to read the
resource. It's opening it in a different way than reading the data
fork, but it's still opening it.

I would consider adding your boolean to a proprietary file header in
the data fork. You could also change to an XML format, but that sounds
like overkill for the needs you have described.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>