Taking this title will inevitably lead to childishness and ridicule. The root of my heart is not comparing the two, because whether the two are comparable is itself a question. however, recently, companies with friends have been worried about UI technology selection. some friends asked me this question, so I want to list my ideas here for reference only.
I declare that I am not a good guy or a strong player in flex and ext, or even have never practiced ext in projects. before writing this article, I asked myself, why should I speak here? Finally, I found a reason to convince myself that I owe enough money. since someone asks a question, I should give an answer. Since I cannot give the answer more clearly, why not use it as the source and let more people unveil this layer? This article is difficult to avoid falling into the conventional style, hai Han.
No worries. Go to the topic.
Who should I choose from flex and Ext?
I. project risks:
To a certain extent, the success of the project is not a technical concern. because different technologies may achieve the same effect. however, we often select only one of the most confident technologies, which is to avoid risks for the project. Which of the two technologies are more confident? Everyone knows better, but I can probably analyze the current use status of the two to make a speculation or guess. No exception exists.
Flex has been slower than other countries in China for half a shot. I can draw this conclusion from the relevant learning materials of Flex. I remember from flex2 I started to use Flex again (I used to play flash) at that time, I was still working on the Implementation Project in X-Dragon automotive company using the SSH architecture. the project has a lot of dealers' data that requires statistics and comparison. The customer is eager to directly see The comparison results of specific data items of each dealer in the system, at that time, I was unable to persuade the manager to use the flex chart to implement this function. Instead, I used the large system of Bo report to "crack down on mosquitoes with anti-aircraft guns". At that time, I proposed that the team members of the FLEX technology project team had heard nothing about it, I am simply saying that flash is a technology that everyone can hear. flash depends on FP. later I learned flex and became my hobby. of course, there will probably not be any similar situation in China now. Flex and Microsoft's sl have a wide range of advantages. meng Yan of csdn said, "RIA is a trend". I want to tell you if it is a trend. here I want to make it clear that ext has been accepted by many enterprises and users, but flex is still being tested and promoted. back to risk considerations, there are not many or none of your team really understands flex. because everyone has no experience in flex, if you adopt flex rashly, once you encounter problems that flex itself or your team cannot solve in your project, however, if it is difficult to seek external technical support, your project is bound to be loose. I don't want to feel this thrilling sensation. EXT sounds like a new term, but as xx people said, Ajax is just a DD of new bottled old wine. We can achieve "tailism" perfectly without extra learning ", in addition, we can also modify the internalCodeSo for now, the technical risk of ext is much lower than that of flex.
Ii. Learning and Training costs:
If your team has no flex experience or ext experience, you need to go to the previous project. there is no other way. 1. Let the team members learn and communicate with each other. 2. Train the team members. whether it is learning or training, ext will be more accessible to everyone, so ext's learning and training costs or usage costs are lower. (Of course, this is only for the current project, from the company's long-term consideration, learning flex, this investment may get a higher return, This is not to mention ).
Iii. Enterprise Operation costs:
Bsstructure DD, server is the major concern during operation, bandwidth size, server load capacity .... factors: Before project development, the technology selection should be thoroughly studied and adhered to the principle of "problems must be exposed first at the beginning of the project ", we cannot ignore the higher bandwidth requirements of the Flex project. The first time flex downloads the SWF of the entire project to the client cache, it will be very slow if the project is loaded, given that the bandwidth status in China seems to be not optimistic, this is almost the biggest headache in the selection of FLEX technology. Some may argue that there is a solution: I want to say something very seriously and I cannot solve it. Using RSL and module can only alleviate this embarrassment;
To solve this problem. adobe officially said that flex is prepared for enterprise-level users. Of course, if you are working on enterprise-level solutions, this embarrassment can be avoided; therefore, the use of Flex on the Internet seems to require more careful consideration.
Back to the topic, flex requires much higher bandwidth than Ext. If the end user's network bandwidth is not ideal, you can use flex to make it more gorgeous and dazzling, he does not know the user experience. when the number of system concurrency increases sharply, the enterprise's servers must correspondingly increase the response speed to users, and also need to increase the bandwidth, using the Barrel Principle, the bandwidth that may need to be increased is not small (I have no data to explain, because I have not performed a test), the cost of payment will also increase several times.
Iv. development efficiency and maintenance costs
Seeing above, it seems that I prefer Ext. It seems that I have nothing to say about flex. In fact, Flex is also a hero of the times, but his performances have just begun, in terms of development efficiency, ext cannot be compared with Flex. You can compare the following points,
1. Flex can be fully based on visual drag, rich components, and self-scaling, allowing you to rest assured of the UI.
2. Flex has EC-based plug-ins and Fb independent ide. It is handy to use EC experience. debugging and editing are almost the same as Java, which is much easier than ext Js.
3. user experience. This is the strong point of Flex. I won't talk about it anymore;
4. cross-platform, this is also the strong point of FLEX, and I will not mention it;
5. search engine. Some people have always regarded this as a flex handle, saying that flex cannot be better searched. We may have seen the news just now, flex now supports Google and Yahoo Search. As for other search engines, it will be a matter of time. EXT does not seem to have such changes.
6. maintenance costs, in fact, seem to have come to the conclusion from;
V. Benefits of introducing new technologies to enterprises:
New technologies are often introduced not just for a single project at present. The company is eager to have technical accumulation and experience accumulation through this project, while flex integrates many highlights, must be the darling of the rich client era. (here I don't want to discuss the advantages and disadvantages of flex and Ms SL, because no one can replace the two, no matter who is or not, just like Java and.. net .) if enterprises can promptly introduce and accumulate flex technology, they may be more eye-catching in the bidding process with customers and may make their products more colorful. EXT, I heard from others that ext is only one of the transitional products of Ajax technology. Maybe he will not disappear. Maybe he will continue to shine brightly in the Ajax sky, there may be other possibilities. while Flex is like a baby, there is still a long way to go, and I have the courage to conclude that flex has a longer life cycle than Ext.
6. Who do you choose for flex and Ext?
I will repeat my personal point of view: I think ext is only a work, and it may not allow you to create many places, while Flex is a real tool, you can use your imagination to do anything for customers.
If you can easily obtain the answer after the above five points are balanced, then your answer should be correct, but if you still have no choice, I recommend using Flex. don't forget to share your experiences with Flex.
I have been worried about sending this article, and I am afraid that there are too many naive views that may attract criticism. However, I wrote this article for the purpose, which has been explained before the article. I just want to serve as an introduction, let everyone give full play to their views. If you have ext and flex experiences and ideas, you may wish to share them with us. Thank you!
Transferred from:
Http://www.iteye.com/topic/212875