Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 37503 invoked from network); 6 Nov 2008 14:35:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2008 14:35:59 -0000 Received: (qmail 33560 invoked by uid 500); 6 Nov 2008 14:36:05 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 33316 invoked by uid 500); 6 Nov 2008 14:36:04 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 33305 invoked by uid 99); 6 Nov 2008 14:36:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 06:36:04 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [207.97.245.141] (HELO smtp141.iad.emailsrvr.com) (207.97.245.141) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 14:34:44 +0000 Received: from relay4.r5.iad.mlsrvr.com (localhost [127.0.0.1]) by relay4.r5.iad.mlsrvr.com (SMTP Server) with ESMTP id 46096C41B for ; Thu, 6 Nov 2008 09:34:25 -0500 (EST) Received: by relay4.r5.iad.mlsrvr.com (Authenticated sender: mahesh-AT-exchange.aptela.com) with ESMTP id E4634C3F8 for ; Thu, 6 Nov 2008 09:34:24 -0500 (EST) Message-Id: From: Mahesh Paolini-Subramanya To: "couchdb-user@incubator.apache.org" In-Reply-To: Content-Type: multipart/alternative; boundary=Apple-Mail-146-714244429 Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Simplest possible plugin/component mechanism Date: Thu, 6 Nov 2008 09:34:23 -0500 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 --Apple-Mail-146-714244429 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Could not agree more. Back when (way back when) we used to do something similar to extend the NeXTStep widget set. It was usually functional as long as I was the *only* person doing anything, but trying to manage/maintain this across multiple users (or heck, just myself after a 3 month gap) was insane. I eventually gave up on the whole thing. Also, i suspect that the security issues might be interesting, to say the least... :-) cheers --- Mahesh Paolini-Subramanya CTO, Aptela Inc. (703.386.1500 x9100) http://www.aptela.com On Nov 6, 2008, at 12:08 AM, Antony Blakey wrote: > > 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. > > --Apple-Mail-146-714244429--