Reputation: 30895
im standing and trying to decide which client web GUI to chose flex or js/dhtml ( one of the frameworks or combination ) i need to build front end to system that user can edit some kind of book format that involved images and texts and i really don't know what is better . for user experience and easy development
Upvotes: 0
Views: 365
Reputation: 1158
Simply put: Flex will be a much easier framework to work with to provide a good user experience.
Flex is really great (actually the best) to process images and do video and sounds effects in the browser. Manipulating text and images layout just cannot be simpler with any other framework.
When working with Flex, try to target Flash player v9 (not v10) since it's already installed on ~98% of PCs connected to the internet.
On the other hand, js/dhtml might be harder to work with (depends on your experience) but will be able to provide a better user experience IMO. Users will be working with a web page after all which will feel more natural to them.
Performance: The flash player is the fastest VM you can target to run code on the browser as far as I know. It is way much faster than IE6 for example (no doubt about that, a huge gap). But with FF 3.5, and latest versions of IE and Safari, I think the gap is much smaller if there is any. Actually FF 3.5 uses the same technology to run js the Flash player used to run ActionScript. Tamarin
That said, there are other aspects of performance than code execution speed. The flash player will require more memory (special on Mac and Linux). And depending on your application, might be less responsive overall. (this depends on rendering, animation, and how will you implement things).
I really don't consider requiring a browser plugin is one of the cons of Flex since that plugin is there for almost all users, and users are very likely to be running it on another page before visiting your web app.
The only pro for js/dhtml is that it will feel more natural to users and IMO will provide a better experience if done correctly.
Upvotes: 1
Reputation: 5342
Since my relatively large client-server project made the transition from a heavy DHTML front-end into a heavy Flex front end, I'll explain our reasons. We were using dojo 1.1 for our JavaScript library.
I prefer JavaScript to ActionScript 3, but the flex transition made sense for us.
Upvotes: 0
Reputation: 473
I made my self the same questions some weeks ago. I have choosen flex because it's easy to use and you can get good looking effects without effort. I think the issue of need the flash plugin installed in the browser is no problem at all beacause most of users have it already installed and if not it's very easy to install.
Upvotes: 0
Reputation: 63139
Pro Flex:
Pro JavaScript:
Upvotes: 1