Ask HN: Flex or JavaScript. Which way to go?
5-10% of the application has been converted to Flex and the client loves it. The interface is stylish, clean, and responsive. The client wants the new part done in Flex. Nothing in the Application uses any advanced features like video or animation.
My objections to Flex are several. The full conversion will take a year or two, because it needs to be rewritten. For that period there will be a Flex interface and a JS/HTML interface, right now in different windows. I think this will be awkward for the other companies participating. The HTML interface can be cleaned up using a little design and CSS and rewritten as needed.
In any event the client side needs to be rewritten.
I think, but have not verified, that there are a lot more third party JS widgets than Flex.
Flex and JS can talk to each other, but they use different DOM implementations. I wonder how easy it will be to keep a client side global state while loading different sub-pages.
And I dont know Flex. This is not insurmountable, but it will slow me down.
Thoughts?
6 comments
[ 3.7 ms ] story [ 24.3 ms ] threadJavaScript improves at the pace of your users; i.e. you can roll out next-generation features by edict :-) it's free, portable, well-established, pleasant to work, and it's ours.
Thanks.
You can then introduce a simple client and progressively enhance it according to your client's sensitivities. If you use AJAX I recommend jQuery.
The Customer is always right - use Flex.