If your application is small enough that you do not see placing sql in your
screens and actions as a maintenance problem then do not bother creating an
business object model and you will finish coding your app much quicker. I
do not know the requirements that would lead to this conclusion, but I am
sure there are lots of small apps that can be written and maintained
sufficiently w/o an object model.
I personally prefer to think in terms of OO design and Peers allow you to do
a fairly good OO design as long as your object model is not too complex, say
less than fifty objects (of course the complexity of the objects and their
relationships must enter into the calculation). If your project calls for
on the order of fifty objects or more, you are probably better served with a
fuller persistence layer, or just skip to ejb.
I would still use BasePeer's executeQuery and executeStatement functions if
acceptable as they will save some errors.
John
----- Original Message -----
From: Tomasz Skutnik <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 06, 2000 12:02 PM
Subject: Peer Model question
> Hi everyone.
> Because there is currently no "search" option in mailing list
> archive, and I don't have a patience to manually browse through it, I
> decided to post this question. I want to ask you if there are some
> on-line papers/documents/etc. describing Peer model ? Excuse me if this
> question has already been posted (and probably anwered), but I try to
> understand the Peer model ("Getting started" is quite poor at explaining
> theoretical matters, it tells me nothing except "code this, then code
> that..."). I need it to know if it's worth to conteptualize and build
> Peer for my app or I'll should save myself work coding all those Peer
> and Peer-supporing classes, especially if I develop quite small and not
> very functionality-rich applictions.
> Scooter
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]