BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Requirements for Object Persistence
Goto page 1, 2  Next
 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical
View previous topic :: View next topic  
Author Message
listmember
Guest





PostPosted: Sun Jul 24, 2005 8:08 pm    Post subject: Requirements for Object Persistence Reply with quote




I would like to know what extra is needed for Object
Persistence and why it hasn't been made part of Delphi?

Is it because experts have not agreed on how to do it,
or what?
Back to top
Joanna Carter (TeamB)
Guest





PostPosted: Sun Jul 24, 2005 8:22 pm    Post subject: Re: Requirements for Object Persistence Reply with quote



"listmember" <listmember (AT) letterboxes (DOT) org> a écrit dans le message de news:
[email]xn0e552j751ylr001 (AT) forums (DOT) borland.com[/email]...

Quote:
I would like to know what extra is needed for Object
Persistence and why it hasn't been made part of Delphi?

Is it because experts have not agreed on how to do it,
or what?

Borland have now included Bold or ECO in their high-end versions, but these
are much more than persistence mechanisms.

However if you want to find out about some of us have built our own OPFs,
then wander over to the oodesign group and search for old messages, there
are plenty of good discussions on what you need to allow Delphi to support
an OPF.

Joanna

--
Joanna Carter (TeamB)

Consultant Software Engineer
TeamBUG support for UK-BUG
TeamMM support for ModelMaker



Back to top
listmember
Guest





PostPosted: Sun Jul 24, 2005 8:27 pm    Post subject: Re: Requirements for Object Persistence Reply with quote



Joanna Carter (TeamB) wrote:

Quote:
"listmember" <listmember (AT) letterboxes (DOT) org> a icrit dans le message de

I would like to know what extra is needed for Object
Persistence and why it hasn't been made part of Delphi?

Is it because experts have not agreed on how to do it,
or what?

Borland have now included Bold or ECO in their high-end versions, but
these are much more than persistence mechanisms.

However if you want to find out about some of us have built our own
OPFs, then wander over to the oodesign group and search for old
messages, there are plenty of good discussions on what you need to
allow Delphi to support an OPF.

Hi Joanna,

I have seen a few attempts and all of them felt like workarounds,
bit like home-made dynamic arrays before Delphi supported them
natively.

So, my question is actually more about what is it that needs to be
added to *Delphi* itself to facilitate people's OPF attempts to
feel at home.

Cheers,
Adem


Back to top
John Jacobson aka Captain
Guest





PostPosted: Sun Jul 24, 2005 8:36 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

listmember <listmember (AT) letterboxes (DOT) org> wrote in message
<xn0e552j751ylr001 (AT) forums (DOT) borland.com>
Quote:
I would like to know what extra is needed for Object
Persistence and why it hasn't been made part of Delphi?

Is it because experts have not agreed on how to do it,
or what?

ECO.

--
Everything in this post is mere opinion.
It might be very well formed opinion based
on an uncanny grasp of the facts, but it
remains opinion nevertheless.

Here's where you'll find Absolute Truth:
http://blogs.slcdug.org/jjacobson/



Posted with Reader3000-BETA 0.9.4.1031



Back to top
Bob Dawson
Guest





PostPosted: Sun Jul 24, 2005 8:41 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

"listmember" wrote
Quote:

I would like to know what extra is needed for Object
Persistence and why it hasn't been made part of Delphi?

Is it because experts have not agreed on how to do it,
or what?

In some ways you could say that an OPF is like a pattern: there are lots of
specific ways to build one, and each is going to have advantages and
disadvantages.

Bold and



Back to top
Bob Dawson
Guest





PostPosted: Sun Jul 24, 2005 8:48 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

"listmember" wrote

Quote:
my question is actually more about what is it that needs to be
added to *Delphi* itself to facilitate people's OPF attempts
to feel at home.

Not much. IMHO the three biggest design feature constraints in Delphi's OO
model from an OPF writer's point of view are

weaknesses in RTTI
lack of class vars and class constructors
differing lifetime semantics for interfaces and objects.

These are largely win32 issues. All are addressed in .NET, though some less
elegantly than others. And I believe some will be addressed in win32
eventually

bobD



Back to top
listmember
Guest





PostPosted: Sun Jul 24, 2005 8:58 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

John Jacobson aka Captain Jake wrote:

Quote:
listmember <listmember (AT) letterboxes (DOT) org> wrote in message
[email]xn0e552j751ylr001 (AT) forums (DOT) borland.com[/email]
I would like to know what extra is needed for Object
Persistence and why it hasn't been made part of Delphi?

Is it because experts have not agreed on how to do it,
or what?

ECO.

ECO is not an integral *part* of Delphi.

Back to top
Atle Smelvær
Guest





PostPosted: Sun Jul 24, 2005 9:10 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

Why don't you just use OmniXML or some of the other free persistence tools
out there. Then just publish all properties you want to be saved and use
TOmniXMLReader and TOmniXMLWriter to write and save objects.

I did some adjustments on the OmniXML code so it could handle object
references also. So it is now very mutch like the "serializable" feature in
..NET

-Atle


Back to top
Peter Morris [Droopy eyes
Guest





PostPosted: Sun Jul 24, 2005 9:19 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

Quote:
So, my question is actually more about what is it that needs to be
added to *Delphi* itself to facilitate people's OPF attempts to
feel at home.

Nothing, it has already been added in the form of Bold and ECO.



Back to top
Peter Morris [Droopy eyes
Guest





PostPosted: Sun Jul 24, 2005 9:20 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

Quote:
ECO is not an integral *part* of Delphi.

It is if you buy Architect. Are you saying that the DB stuff that comes
with Enterprise is not an integral *part* of Delphi either?


--
Pete
====
ECO Modeler, Audio compression components, DIB graphics controls,
FastStrings
http://www.droopyeyes.com

Read or write articles on just about anything
http://www.HowToDoThings.com

My blog
http://blogs.slcdug.org/petermorris/



Back to top
listmember
Guest





PostPosted: Sun Jul 24, 2005 9:46 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

Peter Morris [Droopy eyes software] wrote:

Quote:
ECO is not an integral part of Delphi.

It is if you buy Architect. Are you saying that the DB stuff that
comes with Enterprise is not an integral part of Delphi either?

TDataset stuff is.

Anyway, what I was wondering whether it was something to do
with the RTL --that you can only serialize published properties.
And, whether we should have a property modifier such as 'serialize',
much like 'stored' etc.

Back to top
listmember
Guest





PostPosted: Sun Jul 24, 2005 9:51 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

Atle Smelvfr wrote:

Quote:
Why don't you just use OmniXML or some of the other free persistence
tools out there. Then just publish all properties you want to be
saved and use TOmniXMLReader and TOmniXMLWriter to write and save
objects.

This is the thing that makes it feel like a tacky add-on. Why can
I only serialize published properties --why not the others too?

Why do *I* have to write extra code to be able to do that; if only
we could have a property modifier such as 'serializable' that came
into action when you're serializing the class.

Quote:
I did some adjustments on the OmniXML code so it could handle object
references also. So it is now very mutch like the "serializable"
feature in .NET

In the past I have had so much fun trying to cover all sorts of
classes with it, it was painful. It wasn't OmniXML's fault, though.

Back to top
Henry
Guest





PostPosted: Sun Jul 24, 2005 11:11 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

listmember wrote:
Quote:
I would like to know what extra is needed for Object
Persistence and why it hasn't been made part of Delphi?

Is it because experts have not agreed on how to do it,
or what?

See earlier thread "OOP in database programming"

Back to top
Lauchlan M
Guest





PostPosted: Sun Jul 24, 2005 11:18 pm    Post subject: Re: Requirements for Object Persistence Reply with quote

Quote:
I would like to know what extra is needed for Object
Persistence and why it hasn't been made part of Delphi?

Is it because experts have not agreed on how to do it,
or what?

ECO.

For Win32.

Lauchlan M



Back to top
Dave Nottage [TeamB]
Guest





PostPosted: Mon Jul 25, 2005 12:19 am    Post subject: Re: Requirements for Object Persistence Reply with quote

listmember wrote:

Quote:
ECO.

ECO is not an integral part of Delphi.

What exactly do you expect to be integrated, and in what manner?

--
Dave Nottage [TeamB]

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.