Whenever we want to learn a new technology, first of all to understand what he is doing, what is the use of their own, the relevant situation to find out after the decision to go not to learn him. Before studying JavaFX, the following questions I think should be clear first:
One, what is Rich Internet applications?
Rich Internet applications, abbreviated RIAS, translates into rich-client applications, or rich Internet applications. He is an application that is downloaded from the network to this computer and can be run in a browser. Of course, can also be separated from the browser, directly under the operating system run. Rich-client applications are mainly characterized by rich interface effects compared to traditional Web applications.
To put it bluntly, the RIAs is to run the application that originally ran on the desktop in the browser.
Second, the rich client is not to replace the traditional Web application interface?
For now, I think they complement each other, traditional WEB applications, especially enterprise-class applications, which focus on the storage, retrieval, and management of data, focusing on business and logic, not interfaces. And RIAs mainly highlight the user's experience and interactivity. The combination of the two should be based on the actual situation, you have to play in the browser Minesweeper game, of course, rich client, if it is a search engine, the traditional Web interface enough. If it's a bank account query interface, you might be able to combine the two.
Third, what is the purpose of the rich client's appearance?
May be asked: said for a long time, the rich client is not to replace the traditional Web interface, you can also run directly on the desktop, that also need to spend so much effort to put it in the browser inside?
The answer is very useful, the purpose has two: 1, cross-platform; 2, easy to publish.
Think, whether it's a computer or a cell phone, whether it's windows, Linux, Windows Mobile, Symbian or Google's mobile OS, which doesn't have a browser? As long as there is a browser, you write the program can be on any physical platform, any operating system running, this is a great thing ah!
Four, the current mainstream rich client technology what? What are their strengths and weaknesses?
1, based on AJAX technology rich clients, such as ExtJS.
Advantages: pure browser-based, do not need to install plug-ins.
Disadvantage: Personal point of view, after all, the middle of a layer of browser, speed and function may be slightly worse.
2, Microsoft's SilverLight.
Advantages: (1) He is Microsoft's technology.
(2) based on. Net Framework and WPF, powerful.
(3) The most important point,. Net Framework and SilverLight Plug-ins are bound to become part of Microsoft's new operating system. In the new operating system, your SilverLight program can run directly without installing a plugin.
Disadvantages: (1) or this one: he is Microsoft's technology.
3. Adobe Flex
Advantages: The bottom layer is based on Flash and released in flash form. Think about it, we reload the system, open the browser, into a portal site, what will generally do? Of course, the installation of Flash Plug-ins, as long as the internet machine, there are several not installed Flash plug-ins it? This clears up a big hurdle for the release of Flex programs. As long as the program to meet the requirements, what platform to develop users generally do not mind, but it is easy to install plug-ins that is really annoying. And Flash has been widely accepted.
Disadvantage: To learn a new set of language rules, a new Framework, really tired ah.