Ask HN: Flex or JavaScript. Which way to go?
6 comments
I briefly flirted with Flex and it reminded me of the era when I waited on a corporate custodian to release features that I needed yesterday. Flex might be open source but the culture is really hard to stomach; Adobe runs the show every step of the way, and nothing gets done without their blessing.
JavaScript 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.
JavaScript 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.
Maybe you could use ExtJS or ExtGWT (http://extjs.com/) since you're already developing in Java?
You might want to consider separating your front and back ends with an API that could be accessed by Flash or AJAX.
You can then introduce a simple client and progressively enhance it according to your client's sensitivities. If you use AJAX I recommend jQuery.
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 client wants the new part done in Flex.
The Customer is always right - use Flex.
The Customer is always right - use Flex.
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?