Return-Path: X-Original-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFE76D6D0 for ; Tue, 5 Mar 2013 21:48:03 +0000 (UTC) Received: (qmail 75257 invoked by uid 500); 5 Mar 2013 21:48:03 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 75239 invoked by uid 500); 5 Mar 2013 21:48:03 -0000 Mailing-List: contact bloodhound-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-dev@incubator.apache.org Received: (qmail 75231 invoked by uid 99); 5 Mar 2013 21:48:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 21:48:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of olemis@gmail.com designates 209.85.223.171 as permitted sender) Received: from [209.85.223.171] (HELO mail-ie0-f171.google.com) (209.85.223.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 21:47:58 +0000 Received: by mail-ie0-f171.google.com with SMTP id 10so8509989ied.16 for ; Tue, 05 Mar 2013 13:47:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=lrzxp/2JGXRPy2lDrlRrsFgyHxKvmtzY4D9penvSh4M=; b=mKO1l8ZoLVfmZxhsNIbfRswH/981ziHKLmq/Ga8tx5StXEWlgPVEVhUhzwJmYvsJEq ZCBbs7HSCAauGhYlupSjkPHhF88Otzk4ob6M9ktypB2JdFWyHQOr0o5T6zldHycuTy5b fDbenYMqVAW55ZQSfNH8GlE+hsPCF1pi8/wMOI61sUPFy8S5uOIWhoosD1tW0L74A53b Swsw7QnQjeI/UHXluT/+Bj3tjlWBDinOcWzCWvbBG1mqKTrqLAcR28nHl5NQ7hnwJHtl bAYoXLfCpKS4RAUEcejJk5Hkhj3gmlz27HgqNwvopeFNWDavTjfeo74/7Nn5P4/Iz8Zv /Qmg== MIME-Version: 1.0 X-Received: by 10.50.219.228 with SMTP id pr4mr7645490igc.40.1362520057522; Tue, 05 Mar 2013 13:47:37 -0800 (PST) Received: by 10.50.190.225 with HTTP; Tue, 5 Mar 2013 13:47:37 -0800 (PST) In-Reply-To: <87c86dfa-cba6-40ef-93d2-ab01b8942656@googlegroups.com> References: <87c86dfa-cba6-40ef-93d2-ab01b8942656@googlegroups.com> Date: Tue, 5 Mar 2013 16:47:37 -0500 Message-ID: Subject: Re: [Trac-dev] Re: Trac internals' database simplification From: Olemis Lang To: trac-dev@googlegroups.com Cc: bloodhound-dev@incubator.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org cross-posting to blodhound-dev ML fyi . Please follow in trac-dev@... On 3/5/13, Leho Kraav wrote: > > >> + 1 for creating/adding a >> DAL to Trac >> +1 >> I could imagine that doing a fundraising for the goal could raise some >> money >> for solving the human ressource problem. >> Just count me in :) IMO the following two major scenarios would have been much easier to handle if an ORM would be handy : 1. mult-product support 2. run Trac with NoSQL DBs (e.g. MongoDB , CouchDB, ... ) so IMO it's about time to get rid of the SQL dependency . JFTR we are using a kind of hand made ORM in Bloodhound and there's also a way to make plugins use SQLAlchemy (plugin available @ t.h.o) . We didn't move forward to using ORMs , DAO or such kinds of DAL because Trac didn't in first place and it was very important for us (at the time) to keep our core compatible with Trac's . So we translated SQL queries under the hood , and so far looking good ... ;) >> > Maybe. Noone has attempted that yet. We have . Before starting Bloodhound multi-product support we raised a request in trac-dev (just take a look in ML archives if not already deleted) focusing on two options : 1. using DAO pattern 2. use ORM technologies there was no actual useful response from trac-dev , so we decided to go our own way [...] > But Hans, which direction are you preferring. Porting Trac main modules -= > > let's say Django, or hack Trac's core framework up towards the giants. > I'd advocate using the second . Let's just choose the ORM ;) > My spidey sense is telling me world doesn't really need yet another web > framework. I think it would make (at least for business) sense to port th= e > modules on top of bigger frameworks. > -1 The foundations of Trac are rock solid . --=20 Regards, Olemis. Apache=99 Bloodhound contributor http://issues.apache.org/bloodhound Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: