Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 7403 invoked from network); 6 Nov 2008 05:09:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2008 05:09:31 -0000 Received: (qmail 48203 invoked by uid 500); 6 Nov 2008 05:09:31 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 48143 invoked by uid 500); 6 Nov 2008 05:09:31 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 48122 invoked by uid 99); 6 Nov 2008 05:09:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 21:09:31 -0800 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: domain of antony.blakey@gmail.com designates 209.85.198.248 as permitted sender) Received: from [209.85.198.248] (HELO rv-out-0708.google.com) (209.85.198.248) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 05:08:14 +0000 Received: by rv-out-0708.google.com with SMTP id k29so484281rvb.0 for ; Wed, 05 Nov 2008 21:08:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=0NssZuAZU4C+k29pYGdHSgZSq6BRH0ajlRpan6Nr/74=; b=CTG1DdLFwvKKBkBsPtHrWtc/MbkdgjExMybXL01gWbqFQQBBLRSYliigP5qaJ6V4Z6 QjSJje/Nal1IMErZZ9JDUEmlPicnFNZJRxmzjRlMnu6Q3mDkBFaMtELpTjHzWHqq4aRD QlEET/MMdQS87TLI9FRKHthKRt+HC/631yzlw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=fAnLJxMjOIKUgh4k9mIp9yDM7rfhSnZGpjkaS65a4ibKNGTNnoTkxaRasMLcgsoJf7 MGDFjd+ag/HAno6/UJCm5GhYfz9gttv2dcBZSN31Na6Nz180z4zFlfipVhEynOrmpIDg liYNlil7ljM8cbEgeOrhW55npAb+SoBij9Qkc= Received: by 10.141.5.20 with SMTP id h20mr1053507rvi.0.1225948136607; Wed, 05 Nov 2008 21:08:56 -0800 (PST) Received: from ?192.168.0.19? (ppp121-45-224-135.lns10.adl6.internode.on.net [121.45.224.135]) by mx.google.com with ESMTPS id k2sm2465467rvb.1.2008.11.05.21.08.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Nov 2008 21:08:55 -0800 (PST) Cc: couchdb-user@incubator.apache.org Message-Id: From: Antony Blakey To: couchdb-dev@incubator.apache.org, Paul Davis In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Simplest possible plugin/component mechanism Date: Thu, 6 Nov 2008 15:38:51 +1030 References: <4C915D97-E639-4FEC-BCB4-F8E6B42FE7AD@gmail.com> <39E37E59-AA38-4BCE-BC54-296B5C92EACC@gmail.com> <20081106042953.GA16433@bytesexual.org> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On 06/11/2008, at 3:27 PM, Paul Davis wrote: > Also, not sure if this is gonna get laughed at or not, but reading the > docs on the erl_prim_laoder, it looks like it actually wouldn't be > that hard to write a thing that could pull in erlang code from a > document. Obviously there'd be some security issues to figure out, but > how fucking cool would it be to replicate a design doc and not only > have a web app, but add new functionality to the underlying server? I > mean, that's one hell of a plugin system if you ask me. Danger Will Robinson! In Smalltalk I run into the Subject/Object problem all the time. When you require your system to be stable in order to fix a problem with the system, you're usually SOL. Imagine deploying a plugin that crapped out the very mechanism used to update and deploy plugins. You would need a fallback mechanism for deploying plugins (e.g. ssh/rsync etc), in which case you might as well make the fallback mechanism the primary mechanism and just save yourself the grief of vicious circularity. Antony Blakey ------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 There is nothing more difficult to plan, more doubtful of success, nor more dangerous to manage than the creation of a new order of things... Whenever his enemies have the ability to attack the innovator, they do so with the passion of partisans, while the others defend him sluggishly, So that the innovator and his party alike are vulnerable. -- Niccolo Machiavelli, 1513, The Prince.