Well it's much easier for me to critique it than to come up with
something better. But I thought I'd at least share my thoughts.
-James
On Fri, 2009-11-06 at 10:30 -0700, Jacob Wright wrote:
> So I've been thinking about styling, and I think we should have it be
> part of our first release. Here are my reasons:
>
>
> * Flex developers already use and appreciate styling. It is
> familiar and useful. It would be lame to create some unique
> mechanism that hooked up your skins with your components.
> * The tool already supports it.
> * The code is minimal and added only when used. This means that
> Flash Pro users can have a mechanism that makes sense for
> them, instead of both Flex users and FPro users both using
> something less-elagant for the sake of having the same thing
> between environments.
> * More robust styling solutions can replace the original smaller
> Flex ones down the road.
> * Metadata defaults with a link-in class is actually a bit
> hackish from the users point of view
> * Even though our styling might be hackish under the hood, it
While I agree that supporting existing workflows and methodologies is
important - and Reflex should support those - I'd like to see us at some
point rethink some of the styling stuff.
- Styles are essentially configuration and I'd rather they used a more
conventional method for configuration instead of CSS (why not just use
MXML)?
- Styles in Flex are not easily debuggable.
- I don't like all the many different ways Styles can be set. Seems
very confusing to new users.
- I never liked how we had to decide what was a style and what was just
a property. Some times it's not clear and things get ugly - like with
making top, bottom, etc styles. This creates a lot of confusion.
Well it's much easier for me to critique it than to come up with
something better. But I thought I'd at least share my thoughts.