Due to the working relationship, the two presentation layer technologies JavaScript + HTML and flex have been used for a period of time. These two technologies have always been a hot topic of debate. I just want to express my views based on my own experiences.
- Ease of use is similar for beginners who have no development experience. It is possible that the JS + HTML method looks simpler. However, for developers with some experience (such as those who have written background programs but have not written foreground programs), Flex is actually easier to use. First, the official flex development documentation is comprehensive and meticulous, including flex development, as3 development, and air development. There are few complete Javascript development manuals that can be downloaded from the Internet, which are basically "complete webpage creation manual" and "javascript User Manual. However, the documents of Ajax component libraries developed based on JS are good and bad, and the Yui documents are still good, which is much worse than Rico.
Conclusion ease of use flex> JavaScript + html
- If the component availability is not supported by other component libraries, the results are obvious. JS does not have its own ComboBox, no tabnavition, no tree, no ..... In a word, except for the simplest input, JS is useless. Of course, after Ext, Yui, or dojo is added, these components are available. If you have time, you can write it on your own. However, if you have time for the current project, you will be able to take a long time.
Conclusion Component Availability flex> = JavaScript + html
- IDE supports a wide range of development tools. Flexbuilder supports code prompts, compilation checks, graphical interfaces, and debug debugging. I did not find any useful tools for JS development, but I still wrote them in notepad. The development efficiency of the two companies is much lower.
Conclusion ide supports flex> JavaScript + html
- In-depth development of Flex is a development framework based on as3. As3 has both java rigor and js flexibility. Compared with js, it has an obvious advantage in using inheritance and interfaces to build a powerful program framework using various design modes. (Of course, js also has inheritance, but it feels a bit strange ). The open source code of Flex makes it easier for developers to understand details and to expand at various levels. In short, it allows you to do more and learn more at a lower cost.
Conclusion in-depth development of flex> JavaScript + html
- Cross-browser support is believed to have been severely affected by web pages. Even if Javascript components that claim to support cross-browser support are used, the browser does not support them occasionally. The unknown workload has increased more than doubled. Cry ...... The cross-browser support of flex is indeed much better. Although some features are different in different browsers, there is almost no impact.
Conclusion cross-browser support for flex> JavaScript + html