Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

[Flex 2] 02 Flex

###################
#
FlexÓëWebÉè¼Æ
###################
´ó¶àÊýÆóÒµ¼¶µÄWebÉè¼Æ¶¼ÐèÓÐ3²ã½á¹¹£º
    *
±íÏÖ²ã(Presentation
Tier)£ºÕâÒ»²ã¹¹½¨µÄÊÇÓû§¿´µ½µÄÄÚÈÝ¡£ÓÐʱºò£¬ÈËÃÇÒ²°ÑÕâÒ»²ã½Ð×öͼÐÎÓû§½çÃæ(graphical
user interface,GUI)¡£
    *
ÒµÎñÂß¼­²ã(Business
Logic
Tier)£ºÄ»ºó¹¤×÷¾Í·¢ÉúÔڴ˲㡣³ÌÐò´úÂë¾ÍÊÇÔÚÕâÀïÈ·¶¨Ê²Ã´¿ÉÒÔÁôÏÂÀ´¡¢Ê²Ã´²»¿ÉÒÔÁôÏÂÀ´ÒÔ¼°µ½ÆäËû·þÎñÆ÷ºÍÊý¾Ý¿âµÄÁ¬½Ó¡£ÕâÊÇÍê³ÉʵÖÊÐÔ¹¤×÷µÄµØ·½¡£
    *
¹Ç¸É²ã(Backbone
Tier)£º¸ù¾ÝÒµÎñÂß¼­²ãÖÐÉùÃ÷µÄ¹æÔòÀ´ÊÕ¼¯ºÍ·Ö·¢Êý¾ÝµÄÊý¾Ý¿â·þÎñÆ÷¾Í´¦ÔÚÕâÒ»²ã¡£

      ÈËÃÇÓÐʱºò°ÑÖîÈç´ËÀàµÄÉè¼Æ½Ð×ön-²ãÉè¼Æ¡£³ýÁ˸ղÅÁгöµÄ»ù±¾µÄ3²ãÉè¼Æ£¬ÓÐЩÉè¼Æ·½°¸»¹ÓжîÍâµÄ·þÎñÆ÷²ãºÍÊý¾Ý²ã¡£
    FlexÖ÷ÒªÊDzÎÓë±íÏÖ²ãµÄ½¨Éè¡£ÊÂʵÉÏ£¬ÈËÃdz£³£°ÑFlex³ÆΪ³ÊÏÖ·þÎñÆ÷¡£ËüµÄÖ÷Òª¹¦ÄÜÊÇÔËÓÃΪ´´½¨RIA(µÚ1ÕÂÓнéÉÜ)¶øÉè¼ÆµÄ¹¤¾ßÀ´´´½¨Óû§½»»¥¡£
###################
#
FlexÓ¦ÓóÌÐò¿ò¼Ü
###################
    FlexÓ¦ÓóÌÐò¿ò¼ÜÓÐÆä×ÔÉíµÄ²ã´Î½á¹¹¡£
      Î»ÓÚ×îÉÏ·½µÄÊÇMXMLºÍActionScript3.0¡£ÆäÒâÒå·Ç³£ÖØ´ó£¬ÒòΪËüÒâζ×ÅFlexʹÓÃÊÇWebÉè¼ÆÖеÄÁ½¸ö×îÁ÷ÐеŤ¾ß£ºXHTMLºÍÃæÏò¶ÔÏó±à³Ì(object-oriented
programming, OOP)¡£MXMLÀàËÆÓÚXHTML£¬ActionScript3.0Ôò×ñÊØÁËOOPµÄÄÇЩ×îÑϸñµÄ×¼Ôò¡£
      ÏÖÔÚ£¬Èç¹û¹âƾÕâÁ½ÑùÈÔ²»¹»µÄ»°£¬ÎÒÃÇ»¹¿ÉÒÔͬʱÔËÓÃMXMLºÍActionScript3.0¶ÔAdobe
Flash Player
9µÄÄÜÁ¦½øÐмÝÔ¦¡£ÕâÒâζ×ÅÎÒÃÇʵ¼ÊÉÏ»ñµÃÁË3·½ÃæµÄ×î¼Ñ×éºÏ£ºÒ»ÃÅÀàXHTMLµÄÓïÑÔ£¨MXML£©¡¢OOP(ActionScript3.0)ºÍFlashµÄÄÜÁ¦¡£3Õߺ϶øΪһ¡£
    Flex»¹×Ô´øÁËÒ»¸ö·á¸»µÄÀàÎļþ£¨Ô¤½¨³ÌÐò£©¼¯ºÏ£¬¸Ã¼¯ºÏ°üº¬Á˳ɹ¦¹¹½¨RIAËùÐèÒªµÄ´ó²¿·Ö¹¤¾ß(ÆäÖаüÀ¨ÓÃÀ´Á¬½Óµ½Êý¾ÝÔ´µÄFlex
Data
Services(FlexÊý¾Ý·þÎñ))¡£¼´£¬ÎÒÃÇÐèÒªµÄ´ó²¿·Ö¶«Î÷ÒѾ­¹¹½¨ºÃÁË£¬ÎÒÃÇÒª×öµÄ¾ÍÊÇÔÚÐèÒªµÄµØ·½µ÷ÓÃËü£¬²¢¼ÓÈë¸÷ÖÖÏëÒªµÄ×Ô¶¨ÒåÄÚÈÝ¡£Flash
Player»áÖªµÀÈçºÎ´¦ÀíÕâЩԤ½¨µÄÀàÎļþ£¬²¢Ê¹ÓÃËüÃǹ¹½¨³öÒ»¸öÄÜÓëÓû§½»»¥µÄRIA±íÏÖ¡£
1
MXML
    MXMLÊÇÒ»ÃÅ»ùÓÚXMLµÄÓïÑÔ£¬ËüÌṩÁËÒ»ÖÖ¼ò±ãµÄ·½·¨À´µ÷Óú͹ÜÀíÓ¦ÓóÌÐòµÄÊÓ¾õÔªËØ¡£Í¬Ñù£¬´ó²¿·ÖµÄÊÓ¾õÔªËض¼ÊÇÒѾ­Ô¤½¨ºÃ£¬µÈ×ÅÎÒÃÇÖ±½Ó


Ïà¹ØÎĵµ£º

×îÈ«µÄFLEXÍøÕ¾ÊÕ¼¯·ÖÏí

Ò»¡¢¹úÍâÕ¾µã
1.×ÊÔ´ Àà
Adobe Flex 2 Component Explorer £º ¹Ù·½µÄ£¬Õ¹Ê¾Á˸÷ÖÖ×é¼þ µÄÓ÷¨ £¬ÈëÃÅ ±Ø¿´¡£
CFlex £ººÜºÃµÄÒ»¸öFlex×ÊÔ´Õ¾µã£¬°üÀ¨½Ì³Ì £¬ÐÂÎÅ£¬×ÊÔ´Õ¾µã¡­¡­ Ö»ÊÇÒ³ÃæÓеãÔÓÂÒ£¬´ó¼ÒÒ»°ã¿´ÓÒ±ßÄÇÒ»À¸¾ÍÐÐÁË¡£
FlexBox £ºÒ»¸öÊÕ¼¯ ÁËÍøÉϺܶ࿪Դ ×é¼þµÄÕ¾µã£¬Êǽø½×ѧϰ µÄºÃ°ïÊÖ¡£ ......

FlexÓ¦ÓÃÆô¶¯±³ºóµÄ¹ÊÊÂ

       
ÊÕ²ØÀ´×ÔÔÆ×ÔÎÞÐÄË®×ÔÏС£
      Ê×ÏȽéÉÜÒ»ÏÂSystemManager. SystemManagerÊÇFlexÓ¦ÓõÄÖ÷¿ØÕß, Ëü¿ØÖÆ×ÅÓ¦Óô°¿Ú, ApplicationʵÀý, µ¯³ö´°¿Ú, cursors, ²¢¹ÜÀí×ÅApplicationDomainÖеÄÀà. SystemManagerÊÇFlashPlayerʵÀý»¯µÄµÚÒ»¸öÀà, Ë ......

flexǶÈë×ÖÌå

Hey,buddy! How are you doing these days?All right,Let us straight to the point.
flexǶÈë×ÖÌåÓÐÁ½ÖÖ·½Ê½£º
·½Ê½1£¬Ö±½ÓǶÈ룺
   [Embed(mimeType='application/x-font', source='font/minicartoon.ttf', fontName='ÃÔÄã¼ò¿¨Í¨')]
   private var mnCartonFont:Class;
 &nbs ......

FlexÖ®TabNavigator

TabNavigatorĬÈÏÊÇÖ»³õʼ»¯µÚÒ»¸öTABµÄ£¬ÉèÒ»ÏÂÊôÐÔ£¬ÉèÁ˺ó»á³õʼ»¯ÆäËûTAB£¬creationPolicy="all"
²¹³äÏÂtabÀïÃæµÄÈÝÆ÷ÊÇCanvas
¶¯Ì¬Éú³ÉTabNavigator tabÒ³Ãæ
var canvas: Canvas = new Canvas();
canvas.label = "new Tab";
tabNavigator.addChild(canvas);
-------------------------------------------------- ......

[Flex 2] 01 RIA


#####################
# B/S & C/S
#####################
    B/S(Browser/Server,ä¯ÀÀÆ÷-·þÎñÆ÷)½á¹¹,¿Í»§¶ËÖ»Ðèä¯ÀÀÆ÷¼´¿É£¬¿çƽ̨ÐԽϺ㻼ò»¯ÁË¿Í»§¶ËµÄ¹¤×÷£¬ÏàÓ¦µØ¶Ô·þÎñÆ÷ÐÔÄÜÒªÇó½Ï¸ß£»Óë´Ëͬ
ʱ£¬ÒòΪËü£¨¾¡¹ÜÓÐAJAX£©ÎÞ·¨´Ó¸ù±¾Éϸıä“ÍøÂçÓ¦ÓóÌÐòµÄ±íʾ²ã½¨Á¢ÓÚHTMLÒ³Ãæ&rdqu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ