maybe, writing docu is my nightmare :-)
On 23.12.2012 1:24, Mike Kienenberger wrote:
There's nothing wrong with editing the models by hand. I sometimes
make small changes by hand myself.
But the best way to learn the xml format right now is going to be to
set up an initial model using the modeler tool. There's no
user-friendly documentation on the format of the model right now.
Maybe you could write some up as you go along.
On Sat, Dec 22, 2012 at 6:31 PM, Michael Jaruska
<[email protected]> wrote:
hmm, i was in hope not to make spam but instead of (short) point to some
notes
about using cayenne without modeler but just hand-editing xml files there
was rubbish
about xml and editing them by hand. i'm editing xml by hand for more than 10
years
without problems and there's more efective formats for machines than xml.
btw: in cayenne i'm beginner, hibernate, ibatis etc i'm using for years and
yes, i (and in fact all my colleagues) am editing xml's by hand.
from this point of view, programmers of modeler are programming in wrong
way...
On 22.12.2012 15:55, Tony Giaccone wrote:
In fact I would argue that any system that requires you to edit xml by
hand
is fundamentally broken (I"m looking at you JPA). XML is meant for
machines
not humans, and if you develop an xml dialect to represent something
you've
only started your work. Never make your users edit XML. Never.
On Fri, Dec 21, 2012 at 6:21 PM, John Huss <[email protected]> wrote:
This message should be on the user mailing list, not the dev list, so
please reply there.
Cayenne is not primarily intended to be used that way, so there is no
tutorial. It is possible to do, but there's not really a good reason to
for a beginner. Using the modeler prevents from having to know the whole
XML api - instead the screens may it fairly easily to figure out what you
need to do.
Anyway if you want to hand-code the XML you can create a mapping using
the
modeler (or find an example) and then see how the XML looks, then follow
the same pattern. There is also a DTD somewhere I believe. But you
should
really use the modeler, at least until you get a hang of the basics.
Even
if you decide to skip the modeler later, start with it first.
On Fri, Dec 21, 2012 at 5:02 PM, Michael Jaruska
<[email protected]>wrote:
hi folks,
i'm searching for tutorial for using cayene without caynene modeler, i
need
something like "download this jar, write this bean, edit this xml in
this
way
and this is how you can access objects from database".
i'm not fun of grafical/ide tools (writing this hope this won't lead
into
spam), just like hand-make work.
is there tutorial with this aspect keeping in mind?
please be patient to my beginer question.
michael