Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 41083 invoked from network); 26 Sep 2007 08:19:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2007 08:19:43 -0000 Received: (qmail 35303 invoked by uid 500); 26 Sep 2007 08:19:33 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 35292 invoked by uid 500); 26 Sep 2007 08:19:33 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 35283 invoked by uid 99); 26 Sep 2007 08:19:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2007 01:19:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 26 Sep 2007 08:19:34 +0000 Received: (qmail 5116 invoked from network); 26 Sep 2007 08:19:13 -0000 Received: from unknown (HELO ??3???h?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 26 Sep 2007 08:19:13 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <2F740099AD5F8E4BA876BC6580B16D486E506D@server2.cra.lan> References: <995b0fb00709190312k3dd6fae2u22112ef981529d0e@mail.gmail.com> <5FB63E04-DE43-4735-B834-D2A0B7DE431E@pvv.ntnu.no> <995b0fb00709200311pe9bcde6p1de8121b07bd0760@mail.gmail.com> <3E45C1B2-44CD-410D-8B41-FB86B5E964A4@objectstyle.org> <995b0fb00709241916o335042c4md8ce6bae29c5139e@mail.gmail.com> <2F740099AD5F8E4BA876BC6580B16D486E506D@server2.cra.lan> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <86697C95-68D5-4F73-9B3A-203B51B4F1A5@objectstyle.org> Content-Transfer-Encoding: 7bit From: Andrus Adamchik Subject: Re: Raw XML vs. Cayenne GUI Date: Wed, 26 Sep 2007 11:19:14 +0300 To: user@cayenne.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi Chris, I don't think anything you said warrants starting a flame war :-) GUI tools and text editors are not mutually exclusive. Where the Cayenne philosophy may have played out is in the lack of interest in documenting the XML format by the developers. But lack of interest not equals opposing the idea. I am all for taking the DTD, and creating a chapter in the user guide called "Cayenne XML Format" or something and/or providing XML snippets next to the GUI screenshots throughout the docs. If anybody is willing to participate in this effort (even if they are not current committers), let us know - we can arrange access to the documentation Wiki. Thanks Andrus On Sep 26, 2007, at 2:57 AM, Chris Farnham wrote: > I've been using Cayenne on two different projects for a couple of > months > now and am very happy with it. > > One thing that I don't like is the reliance upon a graphical composer > rather than a well documented and defined descriptor file. I know > that > the Cayenne community views the GUI tool as an important > differentiator > from other ORM frameworks. But not everyone likes to work with GUI > tools. Perhaps it's my Unix roots. > > I prefer working directly with Cayenne's XML descriptor. I wish that > the schema was documented beyond just a DTD and snippets that people > pass around on this list. I also get frustrated when I find > documentation which explains how to control caching or custom queries > and all it has are step-by-step screenshots of the GUI tool. > > I know that the GUI tool is part of the Cayenne philosophy and I am > wary > of starting a flame-war (perhaps this discussion was happened on this > list in times past and I haven't seen it). > > Do other people feel the same way I do? > If so, can Cayenne better support both modes of use? > > I would like to see documentation and examples that are XML descriptor > centric as well as GUI centric. > > I also think that it'd be an interesting project to look at the > current > XML syntax and make it a little more user/text-editor friendly. I > have > no concrete ideas on this latter point but I've been playing around > with > DSLs in other areas and it might be neat to either streamline > Cayenne's > XML syntax or create a DSL. Either of these could be transformed into > the current XML syntax. > > I only raise this issue because I've enjoyed using Cayenne and would > like to see it improve. > > Thanks, > Chris Farnham > > cfarnham@cra.com > > > > > THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS > ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, > CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If > you are not the intended recipient, your use of this message for > any purpose is strictly prohibited. If you have received this > communication in error, please delete the message and notify the > sender so that we may correct our records. >