Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-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 DF7F29EE3 for ; Tue, 10 Apr 2012 21:26:20 +0000 (UTC) Received: (qmail 45245 invoked by uid 500); 10 Apr 2012 21:26:20 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 45128 invoked by uid 500); 10 Apr 2012 21:26:20 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 45120 invoked by uid 99); 10 Apr 2012 21:26:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 21:26:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jonbcampos@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 21:26:13 +0000 Received: by obbuo13 with SMTP id uo13so343167obb.6 for ; Tue, 10 Apr 2012 14:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JtE2s204gsnW40HnWgCtWCJFvpjPbhl2cdlno/R+Bl8=; b=W/xsWz2koAajFoqTx0wHhk6X7oeKbUGK/252IC2S3ufMtvYw7xeH54e6GQQtom126u y2OPkmdez2bl8XPH8ClKgV3seFxmKMtDXcfbDYiiO+/exegZMbk3AEm20qGmklHQpjS+ Oz4UFwfxaUBNMiVa7zjDttU6V7f8ufecLten+h9VPjVzTQFw+XSeJK/FRsrTdJZI7uI3 OGWSTVr7oJw/86t9b4PBufxD0WLv1KwtsrZ5Y8zZEEp6KONGTRXn9y14/1PVUgCjKoRS vX+orDF9u+FfH8Mm/moOofNe3ROnP4G/A+yRak5sQCGAtJgR8Qs7BtXB+zUhQrbdQdO+ 0kiw== MIME-Version: 1.0 Received: by 10.182.72.71 with SMTP id b7mr18406740obv.11.1334093152536; Tue, 10 Apr 2012 14:25:52 -0700 (PDT) Received: by 10.60.37.134 with HTTP; Tue, 10 Apr 2012 14:25:52 -0700 (PDT) Received: by 10.60.37.134 with HTTP; Tue, 10 Apr 2012 14:25:52 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Apr 2012 16:25:52 -0500 Message-ID: Subject: Re: Modular code (was: ComboBox Selection (was: combo box)) From: Jonathan Campos To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d0447a2b574493504bd59c40f --f46d0447a2b574493504bd59c40f Content-Type: text/plain; charset=ISO-8859-1 Someone call Ben! (Reflex) On Apr 10, 2012 4:06 PM, "Erik Lundgren" wrote: > > 10 apr 2012 kl. 21.08 skrev Michael A. Labriola: > > > It could certainly be added, but I would like you to consider thinking > about it a different way. Rather than adding more heft to the base > component, we could add another object that interacted with the ComboBox to > facilitate that selection for you. This could be done a number of different > ways. > > This may be a stupid idea. > > But what if we did Flex development in multiple steps. > > 1. Compose components > 2. Compile components > 3. Compose views > 4. Compile application > > Eg: > > A custom window-like component could start with a factory-file: > > > > > > > > > > > > After the component compilation I would have a component where the > "Draggable" trait may have added logic requiring my component skin to > declare a "MoveArea" skin part. The "Physical" trait may have added > properties like "friction" or "density". The "Resizable" trait may require > a "CloseButton" skinpart etc. > > At the framework level we could have a "class pyramid architecture" vs a > "class tree structure". > At the application level we would have "pay-as-you-go" components. > > The intermediary component compilation could reduce performance hits of > modular code. > > I'm sure there are many problems with this approach, but ... ideas are > better out than in ... right! :) > > /Erik --f46d0447a2b574493504bd59c40f--