From graffito-dev-return-887-apmail-incubator-graffito-dev-archive=www.apache.org@incubator.apache.org Thu Jan 12 03:04:46 2006 Return-Path: Delivered-To: apmail-incubator-graffito-dev-archive@www.apache.org Received: (qmail 41599 invoked from network); 12 Jan 2006 03:04:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jan 2006 03:04:46 -0000 Received: (qmail 80070 invoked by uid 500); 12 Jan 2006 03:04:45 -0000 Mailing-List: contact graffito-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: graffito-dev@incubator.apache.org Delivered-To: mailing list graffito-dev@incubator.apache.org Received: (qmail 80059 invoked by uid 99); 12 Jan 2006 03:04:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 19:04:45 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of the.mindstorm.mailinglist@gmail.com designates 64.233.162.196 as permitted sender) Received: from [64.233.162.196] (HELO zproxy.gmail.com) (64.233.162.196) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 19:04:45 -0800 Received: by zproxy.gmail.com with SMTP id i11so317851nzi for ; Wed, 11 Jan 2006 19:04:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RTayBk+V8Syu+N4rn7xJrmKeQdvRgte2BvVPxKxlxytiidLiW/x1tIh8E4kbVVL7liYBaxwqXCyTUHO3unY01kafPBntx2K49lRIEj+yGTu125iqn+FdF0bUqhltZ2VGxGgwEohubz9kWHlYnPiTSL0nroX89Of9ivNnrxa5BOA= Received: by 10.36.119.20 with SMTP id r20mr1439350nzc; Wed, 11 Jan 2006 19:04:24 -0800 (PST) Received: by 10.36.160.4 with HTTP; Wed, 11 Jan 2006 19:04:23 -0800 (PST) Message-ID: Date: Thu, 12 Jan 2006 05:04:23 +0200 From: Alexandru Popescu To: graffito-dev@incubator.apache.org Subject: Mappings - components and spread objects MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi! I've started thinking about possible extension of the current supported mapping strategies. The directions I am investigating right now are including: - component mapping - relations - inheritance - spreaded So far (and indeed the easiest one) are the component mappings: they allow mapping the properties of a child object to the properties of the current working node. In the JCR world, a very good example of this are the mixins. Introducing a mixin to a node may add a set of properties that the user can manipulate with the help of a single entity. Such an entity doesn't have any restrictions upon it (no path required, as it doesn't live by itself, no limitation in children, anything). Please let me know what do you think about this. In the future episodes I will try to address the remaining areas. cheers, ./alex -- .w( the_mindstorm )p.