| I would start by asking, "what makes Reflex valuable and unique?"Reflex is, primarily, a Flex framework replacement. What makes Reflex valuable is that it provides a much better workflow for building Flash/RIA components. Everyone who works with Flex loves it at times and wants to throw it out a window at others. Some of these pain points are fundamental to Flex's architecture, and so we are building a community driven alternative that makes it easier to do the types of customizations required in real-world projects.
I would add, Reflex aims to be as small and light-weight as possible with the features used. You mention this below too.| ... Simply targeting the gap between them isn't very compelling.I agree, but I don't think that's what we're doing. We intend to offer components fairly close to the size of Keith's that offer features comparable to Flex. So in that line of thinking we're really not in-between them. We're encompassing a lot of common ground on both sides. We're doing this using a pay-as-you-go model, so some features may add weight but only if you use them in your project.
In addition to fixing the light-weight vs. features debate, we feel like this project can bridge the gap between purely Flash devs and Flex devs. I think a lot of what caused this divide is the abstraction that Flex builds around the Flash APIs and the fact that it's an all-in system (you're forced to cope with every aspect of Flex to use almost any part of it). In contrast Reflex is staying very close to the Flash APIs, and many pieces of Reflex can be used independently of the whole. It feels a lot more like a Flash library.Yeah, exactly. Except now one particular piece (behaviors) won't be able to be used independently without using a custom Flex compiler. And importing a swc if you're in Flash Pro. Unfortunate, but necessary if we want to keep metadata.| My proposal to you, would be to focus on a strong pure AS implementation, then decorate it for each environment.I'm scared of this approach only because we hope to create a work-flow where even custom built pieces are reusable across all environments. The meta-data does cause a hiccup in this, because for items to be used in Flash they would have to be provided as a swc. However, using custom decorations for each environment would further enforce the segmentation we're trying to bridge.
I think he might have ment decorating for actual use, not when building up the components. This could be best if the same AS files worked in each environment, but there were decorators for when you built an application in each environment. The core would be the same everywhere, and you'd use pay-as-you-go extras when building apps in this environment or that environment. Such as using styling in Flash Builder apps, but not in Flash Pro apps. And maybe a nice utility in Flash Pro for working with it's skins.| Being able to move UI from Flash Pro to FlashBuilder and vice versa is a huge value proposition, and should help you drive adoption.I agree, and I think it is a primary goal. I'm not convinced it's time to give up on the meta-data just yet though. It's also important for us to preserve the improved work-flow we offer over Flex, and meta-data is a big part of making that approachable.
The way I think of the custom compiler is as an inconvenience to FlashBuilder users for the benefit of getting to use meta-data. If we force FlashBuilder (and FDT, etc) users to have the custom compiler, then any swc would be usable in Flash Pro. We can even output the interim AS3 for use in Flash Pro. I feel like this is pretty close to your goal of having an AS3 core with custom work-flows for separate tools, but I may be entirely off base.It will be interesting to see how well a custom compiler is embraced by the community at large. This is a very Flex-user-centric list right now, and we're Flex users making allowances for Flash Pro users right now. I'm curious how a Flash Pro following will affect discussions.Jac
People, keep in mind.
REFLEX WILL ONLY support AS3 natively. Yes, only progrmatically. No metadata.
The ideia was to use a custom compiler that would convert the metadatas into AS3 code. It is like what happen with Bindable or Embed.
Sent from DROID
But when I think about a Flash Pro workflow, I have a hard time
understanding how Reflex fits in? Mxml? Databinding? What the heck is
a timeline doing here? I am used to the idea of library assets that
bind to a class and in some way get instantiated in a Main class (or
child thereof).
So to recap.
- Add a swc to the classpath. Great.
- Lightweight components. Great!
- Databinding. Yay!!!
- MXML ... uhh ... ok that's different.
- Randy
On Apr 8, 5:38 am, Marvin Froeder <velo...@gmail.com> wrote:
> Hrmmmm, and how do you plan to generate this code? Using an independent
> application?
>
> That would be the same as using a compiler extenstionhttps://bugs.adobe.com/jira/browse/SDK-26041
>
> At least I don't see any advantage of using an independent extra application
> over a compiler extension. Is quite easy to forget to run the extra app,
> then run the compiler and only see the problem at runtime. Also, how you
> you get this extra app integrated with Flexbuilder?
>
> I like the independent application because it allow the project to move
> freely. With or without Adobe applying patches to Flex Compiler. Give you
> independence and freedom, I even prefer that. But, it can be hard to get it
> integrated on flex environment.
>
> VELO
>
> On Thu, Apr 8, 2010 at 8:15 AM, Jesse Freeman <jessefree...@gmail.com>wrote:
>
>
>
> > Why not use code gen over a custom compiler? I think that is a bad road to
> > go down.
>
> > Sent from my iPhone
>
> > On Apr 8, 2010, at 7:06 AM, Marvin Froeder <velo...@gmail.com> wrote:
>
> > People, keep in mind.
>
> > REFLEX WILL ONLY support AS3 natively. Yes, only progrmatically. No
> > metadata.
>
> > The ideia was to use a custom compiler that would convert the metadatas
> > into AS3 code. It is like what happen with Bindable or Embed.
>
> > Sent from DROID
>
> > Em 08/04/2010 00:56, "Ben Stucki" < <benstu...@gmail.com>
> > benstu...@gmail.com>escreveu:
Not that we would have to, but I think it would be easy enough to use -keep-generated-actionscriptwith the compiler to provide Flash Pro compatible src along with the swc for Flash Pro users. This could be done pretty easily as part of the build process.
Paul
> - MXML ... uhh ... ok that's different.MXML is Flex's answer to Flash's design capabilities... You get a
stage, timeline, and frames to do your business, we get declarative
markup :)
I think Reflex so far is fully compatible with Flash Pro and its
workflow.
MXML is Flex's answer to Flash's design capabilities... You get astage, timeline, and frames to do your business, we get declarative
markup :)
I think Reflex so far is fully compatible with Flash Pro and its
workflow.
Would a custom compiler for Flash Pro workflow enabling mxml classes
be a deal killer? I think not!