Some Suggestions on learning Flex

Source: Internet
Author: User

What is Flex? RIA (Rich Internet Applications ). Flex is the presentation server (presentation Service) released by Macromedia. It is a java web iner or. for an application of net Server, the. mxmlfile (pure XML file and the actionscriptfile file correspond to the. SWF file, which is sent to the client and interpreted and executed by the flash player or shockwave player of the client, giving users a rich user experience. It is better to look at the instance if you say so much:

Http://appleshow.cc/tuya/ under the apple tree
DIYINN http://www.diyinn.com/products_assortment/1.html
Click "use this product to create a personalized product" to view the interface.

Reference content
Now many people are paying attention to and learning Flex (at least more than before), but now there are not many materials about Flex, and there are fewer materials in China, in addition, the popularity of Flex forums is very poor. From a glance, all of them are asking questions and posts. There are only a few replies, which is terrible. I have translated some things to add Chinese learning materials, but it is best to get used to English as early as possible to read English documents and English blogs. I am not an expert, but I am far away from technical skills, but I have been learning Flex for a long time. So I would like to give some learning suggestions for beginners here, we hope to help you avoid detours.

I. Start

1. Understand Flex and related things.

First, you 'd better search for what Flex is. Once I saw someone asking what is the difference between Flex and Flex Builder, faint. It is recommended that you read the Flex white paper first, read some documentation about Flex, and clarify FDS, Flex SDK, and other things first.

2. Elementary

After learning the basic concepts, I began to learn. There are still a lot of preliminary tutorials, such as the first tutorials on the Flex Quick Starts and Adobe official website. Flex Quick Starts Chinese Translation in Adobe China (http://www.adobe.com/cn/devnet/flex? Tab: quickstart = 1. There are many examples. For those examples, you 'd better knock them out one line at a time and run them to check the results. Do not copy them directly. When you are new to anything, do not copy other people's code. Laziness also depends on the situation.

After reading Flex Quick Starts, you should have a rough understanding of the component layout and event mechanism in Flex. At this time, we recommend that you understand the various controls in Flex. The official website has a very good example of various controls: Adobe Flex2 Component Explorer. We still recommend that you repeat all the code, at least having an impression on the appearance of each control and the layout of containers, when you need something, you will naturally think of a widget.

After learning about the control, you should know about ActionScript 3.0, which is quite powerful. If you have never touched the AS before, we recommend that you take a real look at the basic syntax and various data types of AS 3.0. Although each language is basically the same, it is at least a bit different, if you think it is easy to lose.

3. Advanced

After some exercises, I should be familiar with MXML and AS3.0. Next I will take a look at some advanced tutorials and sample code imitation. There are many advanced tutorials on Adobe Flex Developer Center. The Flex Store that comes with Adobe is also a good example. Many foreign Flex developers will download their own small examples from the source code, so it is not difficult to find the sample code. When imitating other people's code, pay attention to some other people's programming ideas, such as how to communicate between components and so on. After reading more code, a solution to similar problems will naturally come out.

(BTW, I am now in the advanced stage and will be in the advanced stage for a long time)

The above is about how to learn Flex. Next I will talk about the solutions to problems encountered during the learning process.

1. view the help document. The help document is the best tutorial. There are more things in it. If you don't have any problems, go to other places to ask. You should first read the help document. After learning Flex, I found that the help documentation for any large software is the best teaching material. After you read the help documentation, it is far more than a beginner. All the textbooks on the market are copied from the help documentation, except for a few good books. If you have any questions, search for the help document first. If you have any questions, read the relevant chapters carefully to ensure that you have gained some benefits.

2. Flex email list. If you encounter problems that cannot be solved in the help documentation, do not go to domestic forums to ask questions. It is not because I have a good understanding of domestic forums, but because of the fact that no one cares about you about problems such as Flex, chinese cool people are very busy and have no time to answer questions. You should be familiar with this, so we suggest you join the Yahoo Flex email list directly. Search for the previous emails of others (here: http://www.mail-archive.com/flexcoders@yahoogroups.com/) before the answer, generally you are not so lucky, the problem you encounter is basically met by others and it is likely to be answered, therefore, it is polite to search for small questions before asking a question. It is best not to waste others' time to answer repeated questions, although there are many enthusiastic people. If you cannot find it, you can send an email to ask questions. In the mail list, experts such as cloud, and Matt Chotin from the Adobe Flex development team are not likely to solve your problem. By the way, you can also practice English writing.

In addition to the above suggestions, we suggest you go to MXNA and Flex Blog (about Flex Blog you can find on the http://www.flex.org, here to remind, don't ask questions that are irrelevant to articles on developer blogs. It's very rude.) The news on MXNA is worth noting, and some people often write some preliminary and advanced tutorials, in addition, the source code is also downloaded, And the tutorials are generally written by senior developers (expect advanced developers in China to take the time to write basic tutorials). I believe you will benefit a lot from frequent attention.

Finally, I am a beginner. I have a general technical level, but I have translated some Flex tutorials. Most of the credit for translation can be attributed to Kingsoft and Google translation. Therefore, if you cannot solve any problem and find the help and email list, I will certainly be powerless. Therefore, please do not ask questions on my Blog in the future. Thank you. However, I hope everyone will like what I translate. I will work harder in the future.

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.