Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 38239 invoked from network); 16 May 2010 15:08:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 May 2010 15:08:09 -0000 Received: (qmail 72568 invoked by uid 500); 16 May 2010 15:08:09 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 72474 invoked by uid 500); 16 May 2010 15:08:08 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 72466 invoked by uid 99); 16 May 2010 15:08:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 15:08:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.24.207.26] (HELO mail.seitenbau.net) (217.24.207.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 15:08:00 +0000 Received: from [192.168.15.18] (helo=www.seitenbau.net) by router.seitenbau.net with esmtp (Exim 4.43) id 1ODfRL-0007RF-J2 for torque-dev@db.apache.org; Sun, 16 May 2010 17:07:40 +0200 In-Reply-To: <55B8568AFA5F144F886F18186BAD5B2C0642C1AD4D@durham-e2k7mb1.dukece.com> References: <55B8568AFA5F144F886F18186BAD5B2C0642C1AD4D@durham-e2k7mb1.dukece.com> Subject: RE: refactoring names in generator X-KeepSent: 2F218A78:3EE508B2-C1257725:00525AFD; type=4; name=$KeepSent To: "Apache Torque Developers List" X-Mailer: Lotus Notes Release 8.5 December 05, 2008 Message-ID: From: Thomas Fischer Date: Sun, 16 May 2010 17:07:38 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 8.5HF467 | May 15, 2009) at 16.05.2010 17:07:38 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Score: -1.4 (-) X-Spam-Report: -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Virus-Checked: Checked by ClamAV on apache.org > Don't have a strong opinion... just a take it or leave it thought > that since gf is sort of a Template engine that something like > Transformer might be slightly more appropriate. Hm a ??? is not just a template wrapper. It could also be a java class or a xslt stylesheet or just anything which produces text output. So yes, Transfomer would also be a good name. But, the name Transformer is already used in the generator; there is an interface called SourceTransformer which takes the input and transforms it before the ??? instances are applied. > Or we could go > with the power analogy and use something like Motor (which produces > Torque...) I'd rather have a name which describes what the class does. > FWIW, I'm thinking we'd still have a Generator project to contain > all the "build" tools in addition to code generation. E.g., stuff > to support the Ant/Maven tasks like jdbc->xml and xml->sql, and > the like. xml->sql is also just "code generation", but sql code instead of java code. For jdbc->xml, I'd rather create a separate subproject. But of course, this is open to discussion. > +0.5 Outlet || Transformer > +0.1 Motor So overall, I'd stick with "Outlet" if no new suggestions come up. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org