JavaScipt RIA applications lose in their multimedia capabilities applications created using Flash or Java. For example, in AJAX applications there is no easy way to integrate Video or Audio, as the implementation of controls is inferior in its entertainment. Despite this, AJAX has its advantages, which undoubtedly make it competitively capable. Therefore, before you start developing with this or that technology, make a brief analysis of what you need to get in the end.
The following are a few facts to consider:
1. The size of the application.
In this case, the clear advantage of AJAX applications. For the beauty you need to pay! The price is dozens of extra kilobytes. On slower channels, this luxury is not available to everyone. Before you make a choice, decide which channels your customers will operate on.
2. Reliability of the developer of the technologies used
Despite the fact that we live in a world where copyrights do not cost anything, this situation can change very quickly. Suffice it to recall the latest radical actions against users of an illegal copy of Windows. Let me remind you that XMLHttpRequest is an API that is also owned by Microsoft. On the other hand, Flash also has a copyright holder - Macromedia. To whom you trust more so and work!
')
3. Integration with streaming video or audio.
If your application works with multimedia, then, in fact, you have no choice. At the moment, I do not know the acceptable solutions for JavaScript (I will be glad if you leave links to interesting multimedia AJAX applications that use streaming audio and video in the comments).
4. Are there any qualified developers for your project?
It is very difficult to find developers working only on JavaScript, usually JavaScript is an addition to some kind of server language. But Java or Flash developers dealing only with these technologies are much more. I do not even know what is more profitable. After all, most likely your project will need not only the client side, but also the server side!
5. Compatibility issues
Perhaps this item was necessary to put in the first place. In the case of JavaScript support in different browsers of the same application, it can turn into a living hell! In the case of Flash, everything is much simpler, there is a player that works equally well in all browsers (even the problem with Linux has disappeared with the release of Flash Player 9.0 for this platform). True, to work with Flash, you need a development environment, and you can work with JavaScript even in Notepad.
6. Availability of GUI libraries
In fact, this fact is not decisive at the moment, there are a lot of good free libraries! Under any of the platforms! The main thing to find your liking.
7. Browser support.
A huge advantage when using JavaScript is that it is supported in each of the modern browsers, but for Flash you have to install Player!
And yet, what to choose? Flash or JavaScript? For myself, I chose JavaScript, for one very important reason, which can be briefly formulated like this - DOM. Just do not throw me stones and say that Flash also has an object model of the document.
It is important for me to manage exactly the HTML document! And be able to easily embed your code into any page. Openness Here that is important.
codeart.ru