From torque-dev-return-9633-apmail-db-torque-dev-archive=db.apache.org@db.apache.org Fri May 14 18:41:40 2010 Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 31713 invoked from network); 14 May 2010 18:41:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 May 2010 18:41:40 -0000 Received: (qmail 25331 invoked by uid 500); 14 May 2010 18:41:40 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 25299 invoked by uid 500); 14 May 2010 18:41:39 -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 25291 invoked by uid 99); 14 May 2010 18:41:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 May 2010 18:41:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of greg.monroe@dukece.com designates 152.3.166.24 as permitted sender) Received: from [152.3.166.24] (HELO dukece.com) (152.3.166.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 May 2010 18:41:31 +0000 Received: from ([10.123.20.180]) by smtpgw1.dukece.com with ESMTP with TLS id 4440076.19127843; Fri, 14 May 2010 14:40:50 -0400 Received: from durham-e2k7mb1.dukece.com ([10.123.20.181]) by durham-e2k7ca1.dukece.com ([10.123.20.180]) with mapi; Fri, 14 May 2010 14:40:50 -0400 From: Greg Monroe To: 'Apache Torque Developers List' Date: Fri, 14 May 2010 14:40:49 -0400 Subject: RE: refactoring names in generator Thread-Topic: refactoring names in generator Thread-Index: AcrzeSoIGwrreWctSE6KFtfosUEzKQAGU9Ww Message-ID: <55B8568AFA5F144F886F18186BAD5B2C0642C1AD4D@durham-e2k7mb1.dukece.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked by ClamAV on apache.org Hmm=2E=2E=2E sort of a nice reverse logic flow here E=2Eg=2E in the real wo= rld,=0D=0ATorque is required to turn the Generator which sends power to Out= lets=2E =0D=0AIn our case, the Generator sends stuff to the Outlet to produ= ce =0D=0ATorque=2E Kind of symmetrical, in an odd way=2E=0D=0A=0D=0ADon't = have a strong opinion=2E=2E=2E just a take it or leave it thought=0D=0Athat= since gf is sort of a Template engine that something like=0D=0ATransformer= might be slightly more appropriate=2E Or we could go=0D=0Awith the power = analogy and use something like Motor (which produces=0D=0ATorque=2E=2E=2E)= =0D=0A=0D=0AFWIW, I'm thinking we'd still have a Generator project to conta= in=0D=0Aall the "build" tools in addition to code generation=2E E=2Eg=2E, = stuff=0D=0Ato support the Ant/Maven tasks like jdbc->xml and xml->sql, and = =0D=0Athe like=2E=0D=0A=0D=0AAnyway, I'd say:=0D=0A=0D=0A+0=2E5 Outlet || T= ransformer=0D=0A+0=2E1 Motor=0D=0A=0D=0A> -----Original Message-----=0D=0A>= From: Thomas Fischer [mailto:fischer@seitenbau=2Enet]=0D=0A> Sent: Friday,= May 14, 2010 11:21 AM=0D=0A> To: Apache Torque Developers List=0D=0A> Subj= ect: refactoring names in generator=0D=0A> =0D=0A> =0D=0A> In the tiscussio= n about accepting the current generator codebase, it was=0D=0A> suggested t= hat the project name remains "generator"=2E However, in the=0D=0A> current = codebase, the project name is "torque-gf" (gf for generation=0D=0A> framewo= rk)=2E Also, "Generator" is the name of an interface for a java=0D=0A> clas= s=0D=0A> producing thext output=2E=0D=0A> So to prevent further overloading= of the term "generator", the name of=0D=0A> this=0D=0A> interface should b= e changed to something else=0D=0A> =0D=0A> I intend to pull this straight t= his weekend, with the following=0D=0A> replacements=0D=0A> =0D=0A> "Generat= or" (interface name of output-producing class and config xml=0D=0A> element= name) -> Outlet=0D=0A> "$torqueGf" (velocity variable name) -> "$torqueGen= "=0D=0A> gf (package name) -> "generator"=0D=0A> =0D=0A> Any objections ? A= ny better ideas for the class name "Outlet" ?=0D=0A> =0D=0A> Thomas= =0D=0A> =0D=0A> =0D=0A> ---------------------------------------------------= ------------------=0D=0A> To unsubscribe, e-mail: torque-dev-unsubscribe@db= =2Eapache=2Eorg=0D=0A> For additional commands, e-mail: torque-dev-help@db= =2Eapache=2Eorg=0D=0A=0D=0ADukeCE Privacy Statement:=0D=0APlease be advised= that this e-mail and any files transmitted with=0Ait are confidential comm= unication or may otherwise be privileged or=0Aconfidential and are intended= solely for the individual or entity=0Ato whom they are addressed=2E If you= are not the intended recipient=0Ayou may not rely on the contents of this = email or any attachments,=0Aand we ask that you please not read, copy or re= transmit this=0Acommunication, but reply to the sender and destroy the emai= l, its=0Acontents, and all copies thereof immediately=2E Any unauthorized= =0Adissemination, distribution or copying of this communication is=0Astrict= ly prohibited=2E --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org