Thoughts on RIA Development (III.)-Just The Code

Source: Internet
Author: User
Tags web services
From Flash5.0 Flash has a relatively perfect program language. This is definitely revolutionary progress. AS1.0 let's start with her. Learn the language, begin to understand with as can control the internal flow of SWF. Thereafter, AS2.0 gradually improved, at the same time he also began to not meet and control player internal operations, in the enhanced communication with JS, flash in the field of network programming is also strong.

There is no doubt that such progress has made us happy with those who like to write point programs. Remember that 1 years ago when Flash8 was about to be released, as what was the most exciting progress I ever expected. However, Flash8 ushered in filters, transition effects, camera capture .... But there is no big change of AS. This includes bloated V2 components, weak debug, and poor IntelliSense. I can't help but say I'm disappointed.

Components are common parts developed by RIA. The binding capabilities of V2 components are simple for ColdFusion Web services, which are cumbersome when communicating with. NET webserver, the most important of which is the mismatch of data types. At the same time, as2.0 does not do well with the reverse sequence of soap, which seems to me to have no predefined functions. Also, the performance of the V2 component is not very satisfying. In the ' Flash8 DataGrid component Performance Test ' I did a test to see that the DataGrid, as an important element of data display, adds a lot of pressure to the client when the data increases more than 1000. Document.title= "Flash8 DataGrid component Performance Test-" +document.title

Another problem, Flash has not provided a more complete debug tool, relative to the Vs.net debugging environment. In addition, because the flash processing mainly is the network asynchronous operation, for the exchange this is more important.

Third, I don't quite understand the compiling principle of AS. Often we create a class.as class file that instantiates them in the SWF file through namespaces. When class is increased and the file is invoked in the Flash schema, things are complicated. In my experience, it is absolutely painful to add attributes or method functions to the class. Because you have to recompile all of the SWF used in this class, you'll get an unexpected error if you forget which one. Often, it takes a few hours to find such a mistake.

Fortunately, Flash has provided the network development for Ria, the Listening and delegating mechanisms (easy to handle asynchronous operations), XML classes (including sockets), local shared objects (much better than cookies, easy online and offline seamless conversion), defining the interface of the class (make the language more specification). It's all her advantage, I think.

A lot of complaints. However, compared with the development of Ajax, Flash is still very friendly. Oh, maybe everything will not be perfect. Fortunately, AS3.0 is coming out. Hopefully for flash programmers, this is a new beginning.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.