In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you what are the misunderstandings of Flex2.0, I hope you will gain something after reading this article, let's discuss it together!
Several misunderstandings of Flex2.0
◆ 1-Flex2.0 requires a flex player
Error, Flex application development requires flexSDK, generate swf files run in flashplayer, do not require other specific environment support.
◆ 2-Flex2.0 requires a specific server
Error, the swf file generated by FlexSDK can be deployed to any webserver. Previous flex1.5 required jrun, but flex2.0 no longer has this restriction.
◆ 3-Flex2.0 is expensive.
Error, now flexSDK is free, the development tool FlexBuilder2 (EclipseBasedIDE) is $499 for FlexChartingComponentComponents, and FlexDataServicesExpress for a single CPU is free.
FlexDataServicesDepartmental (J2EEServer) is $6KperCPU (limit100concurrentusers.100concurrentisplentyformanyapps)
, FlexDataServicesEnterprise (J2EEServer) is $20KperCPU (Nolimits,Lasersincluded).
◆ 4-Flex2.0 applications can only exchange data with specific server
Error, the Flex application swf file can communicate with any http/https or socket-based server:
-ExchangeanyformatofASCIItext (POST,GET,RESTHeadersSupported)
-ExchangeanyformatofXML (POST,GET,RESTHeadersSupported)
-Talktoanyserversidelanguage (.NET, RUBY,PYTHON,JAVA,PHP,PERL,XML)
-ExchangedatausingSOAPdirecttotheserver (manysoapencodingssupported)
-ExchangebinaryAMF (Optimizeddataserializationformatforremoting,paging).
ThisissupportedinColdFusionandJRunbydefaultandtherearemanyfreeAMFlibrariesfor.NET,JAVA,Ruby,PHP
-Exchangedatainreal-timeusing2waypushoverXMLSocketandBinarySocket.ThesefeaturesareuniquetoFlashPlayer
◆ 5-Flex2.0 cannot interact with ajax
Error, swf files can communicate with ajax through javascript in two ways. At present, more and more ajax applications use the features in flashplayer to optimize and improve performance. Flex can exchange data seamlessly through flex-ajax bridge, two major portals yahoo and google use flashplayer for graphical representation, and use ajax to describe the user interface.
◆ 6-Flex2.0 applications can only be used on full screen
Errors, flex applications can use widget and panel in large html or ajax applications, or they can be used to exchange hidden data provided by ajax. Several video companies use widgets developed by flex as a video player, and sometimes full-screen flex works well and sometimes it doesn't.
◆ 7-Flex2.0 is hard to learn.
Mistakes, the most difficult part of learning flex is to understand the component development model and MXML syntax. If you have PowerBuilder,VB,Delphi,VisualStudio,Java development experience, learning Flex development is a piece of cake.
◆ 8-few real-world projects use Flex2.0
Error, ThefirstmarketforFlexisintranetapplications, so there seems to be less to see publicly, ThereareafewleadingcompaniesusingFlex2forpublicfacingapplications, and few companies develop flex2 applications that are open to the public. WhatisinterestingisthatthePikeophotoservicelaunchedonFlex2lastweek.
◆ 9-Flex2.0 and flash cannot be used together
Errors, there are many ways to reuse swf content, whether it is flex runtime or compile time, you can now introduce and reuse flash animation and vector graphics into flex through the embed tag, when CS3 is released, we will see more tools added to the Flex development model.
◆ 10-Flex2.0 is slow
Wrong, FlashPlayer9andActionScript3 is designed for a big increase in speed. FlashPlayer9 contains a JITcompiler that is more than 20 times faster than the previous version. This performance is due to the fact that the player generates PPCandX86 native machine code at runtime, which is not only faster, but amazingly fast.
After reading this article, I believe you have a certain understanding of "what are the misunderstandings of Flex2.0". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.