flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] Doing some refactoring
Date Tue, 16 Jul 2013 08:04:50 GMT
OK, pushed a bunch of changes to hopefully make it more easy/clear when creating components.

I added IBeadView, IBeadController and IBeadLayout interfaces to go along with the already
existing IBeadModel.  The CSS makes it more clear now as to what parts make up the component.

I renamed view beads to end with "View".

Lots of view interfaces were eliminated.  Only interactive components that have a separate
controller will need a custom interface to describe the contract with the view.  Others can
just use IBeadView.

Removed initModel and initSkin methods.  The lifecycle is now much simpler:  instantiate,
set properties and beads then add to the display list.  We're still using child.addToParent(parent),
but I am going to experiment next with changing over to parent.addElement(child).


From: Alex Harui <aharui@adobe.com<mailto:aharui@adobe.com>>
Date: Friday, July 12, 2013 11:19 AM
To: "dev@flex.apache.org<mailto:dev@flex.apache.org>" <dev@flex.apache.org<mailto:dev@flex.apache.org>>
Subject: [FlexJS] Doing some refactoring


I'm doing some refactoring in the FlexJS code to try to simplify a few things so life will
be easier from here on out.  The main goal is to reduce the number of calls when creating
components in AS.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message