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 D55549C3B for ; Wed, 8 Feb 2012 15:01:41 +0000 (UTC) Received: (qmail 8928 invoked by uid 500); 8 Feb 2012 15:01:41 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 8840 invoked by uid 500); 8 Feb 2012 15:01:40 -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 8826 invoked by uid 99); 8 Feb 2012 15:01:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 15:01:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.97.132.53] (HELO mailgw21.surf-town.net) (212.97.132.53) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 15:01:32 +0000 Received: by mailgw21.surf-town.net (Postfix, from userid 65534) id 2A4E5423D; Wed, 8 Feb 2012 16:01:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailgw21.surf-town.net (Postfix) with ESMTP id F10A746C0 for ; Wed, 8 Feb 2012 16:01:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw21.surf-town.net X-Spam-Score: -1.44 X-Spam-Level: Received: from mailgw21.surf-town.net ([127.0.0.1]) by localhost (mailgw21.surf-town.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 78B42vgQukJF for ; Wed, 8 Feb 2012 16:01:05 +0100 (CET) Received: from [192.168.1.5] (c83-254-51-169.bredband.comhem.se [83.254.51.169]) by mailgw21.surf-town.net (Postfix) with ESMTPSA id DCC20423D for ; Wed, 8 Feb 2012 16:01:04 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: [RT] From Singletons to Unit-testable code From: Erik Lundgren In-Reply-To: Date: Wed, 8 Feb 2012 16:01:01 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4F318578.7020704@leichtgewicht.at> <027601cce647$1e69d2e0$5b3d78a0$@davidarno.org> <4F324761.6050803@leichtgewicht.at> To: flex-dev@incubator.apache.org X-Mailer: Apple Mail (2.1084) X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-1.44 tagged_above=-999 required=7 tests=[ALL_TRUSTED=-1.44] autolearn=disabled 8 feb 2012 kl. 15.25 skrev Michael A. Labriola: > I am going to provide a version of the framework and compiler with a = swappable, minimalistic injection mechanism and perhaps some basic = AOPish concepts like compile time mixins. [...] The biggest problem in = this approach is actually things like StyleManagement ... Given some sort of native dependency management in the framework, do we = really need styles? To me CSS just ads complexity to the development-model =96 a third = language/spec introduced to act as a configuration pool for objects to = reach out into and self-configurate (getStyle('myMagicString')). And the = process of maintaining "magical strings" is painful. Could objects that need styles not be injected with value-objects = written in MXML or ActionScript? I don't know the DI-mechanism you had in mind, but given how Flex = DI-frameworks handle things today, we ought to be able to map objects to = objects with the same amount of precision as Flex css does today? All the best! /Erik