Re: Re: propoal: persistence though id

[email protected]
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
sorry for the delay in this,

>This is not a repeat and I like your thinking.  You do owe it to yourself to
>study up on Prosist though as some background on what already exists in
>Prothon persistence.  http://prothon.org/prosist.htm

ough, i did, actually i read all the documentation, and played with most of the test suit, obviously forming opinions of the various ideas and implementations of things, as i went.  what i thought about prosist was that it had a cleaner interface than Python's, and had extra useful features, but it was just that i think there's an even more central role for persistence,

the best way to persist objects has to be in a way that they can just be regarded as file objects, with only performance differences to a memory object, so no saving or loading, a file based object just 'is', it isn't a maintained duplicate of a memory object. 

i think its the maintenance of the duplication, rather than the persistence, which causes the need for the Prosist Modes, the Modes representing an unnecessary distinction between memory and file objects. maintained duplication, as distinct from multiple referencing, might be another core principle worthy of its own separate methodology, after all its seems to me to be technically the same thing as synchronisation.

if a file object was a container, wouldn't it be a module?

if all the objects in a program were file objects, couldn't a program just be paused rather then shutdown and restarted?

could program pausing be accomplished with persisted thread objects?

i think a simple and fairly obviously syntax for this would be to extend the object function:

reference= Object(objectReference)

without objectReference, obviously the normal behaviour of creating a new object with just Object as a prototype would occur, if objectReference were a file name, then reference would become a file object and the object id would be the file name.


__________________________________________________________________
Switch to the New Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.