Re: How to save data from standalone?

2006-02-07 Thread Marielle Lange
Andre Garzia wrote: As I read on this quick email, it appears that you have some massive amount of data to store, I'd use some database engine for that, it's easier to query then the file system and you can make better data relationships than simply storing files. Some database engines

Re: How to save data from standalone?

2006-02-07 Thread Jim Ault
On 2/7/06 9:54 AM, Marielle Lange [EMAIL PROTECTED] wrote: But my main concern was to make sure I would avoid the following scenario: A user download it on a computer where there are multiple accounts. On a mac, it install the rev stack in the application folder. It starts storing its data.

Re: How to save data from standalone?

2006-02-06 Thread Mark Wieder
Scott- Sunday, February 5, 2006, 1:22:36 PM, you wrote: Any attempt to modify an application will not work. This is not a runrev thing, it's part of the OS. Actually - it is a RunRev thing. It is possible to save to an executable in Windows in several different IDE's, most notably

RE: How to save data from standalone?

2006-02-06 Thread Scott Kane
Hi Mark, ...all right, technically it *is* possible to do save to an executable if you pull the right tricks. That's how resource editors work. Are you saying that an executable can modify *itself*, though? That would involve fiddling with runtime permissions at a very deep level, and

Re: How to save data from standalone?

2006-02-06 Thread Richard Gaskin
Scott Kane wrote: Hi Mark, ...all right, technically it *is* possible to do save to an executable if you pull the right tricks. That's how resource editors work. Are you saying that an executable can modify *itself*, though? That would involve fiddling with runtime permissions at a very

RE: How to save data from standalone?

2006-02-06 Thread Scott Kane
Microsoft says apps shouldn't modify themselves, and Rev merely follows suit. I agree with that principle. Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: How to save data from standalone?

2006-02-06 Thread Marielle Lange
Thanks for the input. 1. I thought I had read on this list that custom properties were saved in standalone format that there was no need to create a splash screen to handle this. What did I get wrong? If you need to save data changes then you need separate substacks; or create a splashscreen

Re: How to save data from standalone?

2006-02-06 Thread Andre Garzia
Marielle et al, sorry for arriving late on the thread. I don't know how it started, my connection been a little flacky due to some horrible thunderstorms. As for saving data, I'd say that first you need to decide if you're going the way of databases or the way of file system. If you're

Re: How to save data from standalone?

2006-02-06 Thread Dave Cragg
On 6 Feb 2006, at 21:54, Marielle Lange wrote: Using pathToUsersDocumentsFolder would therefore be a better approach, but I don't really want to create a file within this folder as the file is in a completely adhoc format that would puzzle anybody who come across it. It's not uncommon

Re: How to save data from standalone?

2006-02-06 Thread Jim Ault
Marielle, What is 'massive' in your definition? 1 Mb, 2 Mb, 20 Mb? Using put crheaderthe seconds /headercr \ theDataBlockToBeWritten \ after url (file:/HD/User/Documents/thisAppFolder/dataForMe.txt) would separate the data by time written. Of course the URL could be an ftp server, if that

Re: How to save data from standalone?

2006-02-06 Thread Marty Knapp
While we're on the subject of saving data from a standalone, there seems to be an intermittent bug on a Mac OSX version of a standalone where the closeStackrequest and shutdownRequest handlers are ignored. So if you trap for those expecting to give your user the opportunity to save data (in

Re: How to save data from standalone?

2006-02-06 Thread Mark Smith
Also, we shouldn't ignore the idea of saving data in a stack, rather than a text document. Not a substack, but a separate, faceless stack, that simply has your data in it's custom props, and mixing binary and text data is then possible, too. The size of an empty stack is about 4 Kb.

Re: How to save data from standalone?

2006-02-06 Thread Richard Gaskin
Mark Smith wrote: Also, we shouldn't ignore the idea of saving data in a stack, rather than a text document. Not a substack, but a separate, faceless stack, that simply has your data in it's custom props, and mixing binary and text data is then possible, too. The size of an empty stack is

How to save data from standalone?

2006-02-05 Thread Marielle Lange
Dear all, I know this has been discussed many times before but somehow I couldn't find definitive answers when searching the doc. I have designed a neat application to manage my urls the cms way (with technorati/delicious type of tagging for each url). You can find an alpha version at:

Re: How to save data from standalone?

2006-02-05 Thread Mark Smith
No, I'm afraid nothing gets saved in a standalone, so you have to save data in files or separate substacks. Mark On 5 Feb 2006, at 18:01, Marielle Lange wrote: Dear all, I know this has been discussed many times before but somehow I couldn't find definitive answers when searching the

Re: How to save data from standalone?

2006-02-05 Thread Richard Gaskin
On 5 Feb 2006, at 18:01, Marielle Lange wrote: ... Everything works fine when used in a revstack format. But in standalone format, I cannot get the data to be saved between sessions. Mark Smith wrote: No, I'm afraid nothing gets saved in a standalone, so you have to save data in files or

Re: How to save data from standalone?

2006-02-05 Thread Eric Chatonet
Hi Marielle, Le 5 févr. 06 à 19:01, Marielle Lange a écrit : I just want the freshly opened application to look exactly the same as last time the user left it. For instance: all my plugins are can'tModify stacks to ensure the security (that would automatically the case with a standalone).

Re: How to save data from standalone?

2006-02-05 Thread Mark Wieder
Marielle- Sunday, February 5, 2006, 10:01:20 AM, you wrote: 1. I thought I had read on this list that custom properties were saved in standalone format that there was no need to create a splash screen to handle this. What did I get wrong? Any attempt to modify an application will not work.

RE: How to save data from standalone?

2006-02-05 Thread Scott Kane
Any attempt to modify an application will not work. This is not a runrev thing, it's part of the OS. Actually - it is a RunRev thing. It is possible to save to an executable in Windows in several different IDE's, most notably Borland Delphi. I can point you towards some sample app's that