Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8724017AA7 for ; Wed, 18 Feb 2015 15:44:52 +0000 (UTC) Received: (qmail 871 invoked by uid 500); 18 Feb 2015 15:44:30 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 836 invoked by uid 500); 18 Feb 2015 15:44:30 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 825 invoked by uid 99); 18 Feb 2015 15:44:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2015 15:44:30 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of prvs=64917ff0ce=rhs@alum.mit.edu designates 18.7.68.20 as permitted sender) Received: from [18.7.68.20] (HELO alum-mailsec-scanner-8.mit.edu) (18.7.68.20) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2015 15:44:24 +0000 X-AuditID: 12074414-f797f6d000004084-cc-54e4b34353bd Received: from outgoing-alum.mit.edu (OUTGOING-ALUM.MIT.EDU [18.7.68.33]) by alum-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id B7.94.16516.343B4E45; Wed, 18 Feb 2015 10:44:03 -0500 (EST) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (authenticated bits=0) (User authenticated as rhs@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.13.8/8.12.4) with ESMTP id t1IFi2HC029479 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 18 Feb 2015 10:44:03 -0500 Received: by paceu11 with SMTP id eu11so1999706pac.10 for ; Wed, 18 Feb 2015 07:44:02 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.70.23.5 with SMTP id i5mr58288050pdf.119.1424274242332; Wed, 18 Feb 2015 07:44:02 -0800 (PST) Received: by 10.70.31.194 with HTTP; Wed, 18 Feb 2015 07:44:02 -0800 (PST) In-Reply-To: <54E4A73C.8040709@redhat.com> References: <54E458E2.1080105@redhat.com> <54E4A73C.8040709@redhat.com> Date: Wed, 18 Feb 2015 10:44:02 -0500 Message-ID: Subject: Re: Proton API layout proposal From: Rafael Schloming To: "users@qpid.apache.org" Content-Type: multipart/alternative; boundary=047d7bdc1c1646f08b050f5eb0b4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrJKsWRmVeSWpSXmKPExsUixO6iqOu8+UmIwecDmhZnV/xndGD0mHrn AVsAYxS3TVJiSVlwZnqevl0Cd8andY/ZCn6ZVlza2cbUwPhYp4uRk0NCwETizObz7BC2mMSF e+vZuhi5OIQELjNKTH79kAnCucskcauzDSrTyCixeF0HG0gLr4CgxMmZT1i6GDmA2gslntwR BgkLCXhJvDo8lxnE5hTQkjgw/SIzRO8JVolVd/eA9bIIqEqsO7qUCWJOgMTUVdNYQWxhAXWJ WeebwZrZBDQltl3eCFYvImAs0br4NVgNM9CCHVdnM01gFJiF5IxZSFKzgE5iBhq1fp4QRFhN 4va2q+wQtrbEsoWvmRcwsq5ilEvMKc3VzU3MzClOTdYtTk7My0st0rXQy80s0UtNKd3ECAlk kR2MR07KHWIU4GBU4uHtYHoSIsSaWFZcmXuIUZKDSUmU99c6oBBfUn5KZUZicUZ8UWlOavEh RgkOZiUR3tyVQDnelMTKqtSifJiUNAeLkjjvt8XqfkIC6YklqdmpqQWpRTBZGQ4OJQnedRuB GgWLUtNTK9Iyc0oQ0kwcnCDDuaREilPzUlKLEktLMuJBsR1fDIxukBQP0F7GTSB7iwsSc4Gi EK2nGI05Lp3cNZOJY8qJAzOZhFjy8vNSpcR5X4JsEgApzSjNg1sES2GvGMWB/hbmtQcZyANM f3DzXgGtYgJaNf/PI5BVJYkIKakGxiXzlMJFQkxfL2zS/l8Tv0Bjyu5HFzJnvF52mrs8SNp9 a3CE8IS60zcLBSxqdm3TFZdX2JPz7cOJwnOTQ/RilqdPObZRMCa9+MhDfq6MTwF7FrAsiolu rnl3/MiECcmKq/UaVZcy+k258WvO7ysVHpKBc+ob1hZkHtW1en9tfZLsvWD7R/Nb+ZVYijMS DbWYi4oTAYlVmw08AwAA X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc1c1646f08b050f5eb0b4 Content-Type: text/plain; charset=UTF-8 On Wed, Feb 18, 2015 at 9:52 AM, Gordon Sim wrote: > On 02/18/2015 02:28 PM, Rafael Schloming wrote: > >> On Wed, Feb 18, 2015 at 4:18 AM, Gordon Sim wrote: >> >>> To amplify a little, the point was that the two things currently in the >>> utils module are ways of adapting the reactive, non-blocking, >>> event-driven >>> style to some other style (messenger is in my view a similar sort of >>> thing). Though it is certainly more narrow, I think its also more >>> helpful. >>> >>> The other aspect to these is that they aren't yet considered as >>> fully-baked as the reactive core. I certainly don't object to them being >>> in >>> an extras namespace to denote that, until we are more comfortable we have >>> the interfaces right. You could also however indicate that through >>> documentation or some 'experimental' annotation. >>> >> >> >> I agree we don't necessarily need to signal bakedness in the package name, >> I think it's good to think of it as an orthogonal dimension. I'm not quite >> sure I follow the reasoning for proton.adapters though. That sounds to me >> like somewhere we'd put stuff for integrations, e.g. maybe the tornado >> stuff. >> > > I see these things as providing an alternative API on top of the reactive > style API. Which to me is what an adapter does. > > To me the tornado integration is more of a plugin. > > I'm not adamant about the 'adapters' name though, just saying its clear to > me(!). I really don't like 'contrib' though. For one thing it makes no > logical sense to me. How are things more 'contributed' than anything else? > I think 'extras' is actually a clearer way to describe the layering you > mention. I don't mind that, though it is a little vague. (I think an > adapter is also clearly layered). I can't speak to the logic, but I believe the use of contrib to signal pretty much *exactly* what we are talking about here is a pretty common convention. There's a post here that describes django.contrib in much the same terms: http://jacobian.org/writing/what-is-django-contrib/ If we didn't already use the contrib convention I wouldn't actually care all that much, but I feel like we should at least be consistent within our own codebase, so if we introduce python.extras, that's pretty much pushing for a rename of the java contrib stuff which seems like unnecessary churn at this point. I do get the impression that there is possibly an unspoken bias against contrib, i.e. that's just a bucket to stick unwanted contributions, but I really don't think we should view it that way. I think the comments in the post above about it only containing best practices and what not are something we should take to heart. --Rafael --047d7bdc1c1646f08b050f5eb0b4--