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
> >
>

Reply via email to