a. We should probably use the same component life cycle as Flex components (createChildren, commitProperties, measure, updateDisplayList)
b. It would be nice if we didn't have to have the same min, max, explicit, measured width/height properties as Flex. Possibly a bad idea though since I'm not sure what issues that would cause.
3. Agreed. For the most part I don't have any problem with Flex's Measurement and Invalidation model. We'll want to define interfaces for these properties so they're optional in Reflex, but I think it'll largely be the same so far.
Yeah, I think it would be smart to use what already works well from Flex (no reason to reinvent the wheel and makes the learning curve not so steep). I already have a lighter weight version of the LayoutManager for invalidation.
My initial thoughts are that the Flex component lifecycle and validation process are one of the shortcommings in Flex.
The Flex instantiation process is overly complicated, something left over from Flex 1.5 and its performance and display-list limitations. I'd like to explore a newer model.
Your implementation of the LayoutManager would be better than Flex's I'm sure, I'd love to have a look and make suggestions. It might be a good idea to hash it out on a Skype call sometime (this weekend?) where we can discuss what's important in a validation cycle and really slim down code and increase performance.
thoughts?
Tyler