MACROMEDIA FLEX - DEVELOPING COMPONENTS AND THEMES Manual de usuario Pagina 5

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 36
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 4
UNDERSTANDING+THE+FLEX+3+COMPONENT+AND+FRAMEWORK+LIFECYCLE!
5!
!
©!2009!DevelopmentArc!LLC,!All!rights!reserved.!
entire!lifecycle.!!Her!comment!to!the!audience!was!that!she!wished!she!had!known!
this!information!sooner!because!it!helped!her!become!a!better!Flex!engineer.!
Our!point!is!that!Flex!is!still!voodoo!for!a!lot!of!us,!even!some!of!the!most!highly!
regarded!engineers.!It’s!a!complex!system!designed!to!be!very!powerful!and,!excuse!
the!pun,!flexible.!!Yet,!this!flexibility!creates!many!possibilities!for!extension!and!
implementation.!!Many!of!those!possibilities!are!not!the!best!way!to!develop!and!
even!have!the!potential!to!be!detrimental!to!overall!performance,!stability!and!
future!scalability!of!the!application.!
The!goal!of!this!paper!is!to!try!and!shine!some!light!onto!the!entire!lifecycle!so!that!
we,!as!a!community!of!developers,!can!create!better!applications!and!components!
within!Flex.!!One!word!of!caution,!much!of!the!following!information!is!inferred!
from!reading!the!source!code,!some!of!its!well!documented,!some!of!its!not.!!If!you!
see!something!that!isn’t!quite!right!or!maybe!could!be!done!in!a!better!way,!feel!free!
to!contact!us!at!DevelopmentArc!([email protected])!so!that!we!can!
append/update!this!document!to!make!it!as!technically!correct!as!possible.!
How+To+Read+Th is + Paper+
Throughout!this!document!we!refer!to!a!lot!of!the!Flex!Framework!code,!but!for!
brevity’s!sake,!we!do!not!always!show!the!code!we!are!referring!to.!!When!reading!
the!paper!we!recommend!that!you!have!Flex!Builder!open,!or!access!to!the!Flex!3!
Framework!source,!to!access!the!referenced!code!so!that!you!can!follow!along!as!we!
discuss!what!the!code!is!doing!and!why!it!is!doing!it.!
If!you!do!follow!along!in!code,!please!be!aware!that!we!often!skip!over!functionality!
or!specific!details!of!the!code!so!that!we!may!focus!on!the!current!topic!at!hand.!!
This!is!to!prevent!us!from!diverging!too!far!from!the!current!topic!just!to!explain!
every!little!nuance!in!the!code.!!This!is!not!to!say!that!what!the!code!is!doing!is!not!
important,!but!often!the!code!is!handling!special!use!cases,!preventing!potential!
issues!or!handling!cases!that!occur!later!on!in!the!lifecycle,!which!we!may!not!have!
been!discussed!yet.!
A+Brief+History+of+Flex+
Before!we!jump!head!first!into!the!minutia!of!the!Flex!Framework!and!how!we!can!
leverage!it,!we!should!step!back!and!look!at!the!overall!big!picture!of!Flex!and!why!
we!use!it.!Most!of!the!readers!of!this!paper!probably!have!experience!with!Flex,!you!
may!even!have!a!LOT!of!experience,!but!to!understand!some!of!the!decisions!the!
Flex!team!made,!we!need!to!look!at!the!history!of!Flex!and!the!Flash!Player.!!This!is!
important!because!many!of!the!paths!the!Flex!Framework!take!are!dependent!upon!
the!lower!levels!of!the!Flash!Player.!
It’s+All+About+the+F rames+
Fundamentally,!Flex!is!Flash.!!At!DevelopmentArc,!when!we!sit!down!to!teach!new!
developers,!or!clients,!about!Flex!we!have!to!keep!re‐iterating!this!point.!!At!the!end!
of!the!day!Flex!generates!a!SWF!file!just!like!Adobe!Flash!Professional!does.!!This!
Vista de pagina 4
1 2 3 4 5 6 7 8 9 10 ... 35 36

Comentarios a estos manuales

Sin comentarios