Claude Moore wrote:First I evaluated Javascript-based framework like AngularJS, Ember.JS, Handlebars, found them amazing, but I would be reluctant to adopt them in complex applications with tons of pages, forms and so on. I'm sorry, but I still think that they're toys you can play with to build just something simple and limited in complexity.
I'm evaluating GWT and, more specifically, I had a look at Vaadin. They both sound good; but again I'm afraid of adopting something which is not under Java EE umbrella.
So I thought about JSF. Until now, I avoided JSF, most because of the nightmares I had when playing with it at 1.0 version; just recently I gave it another try and found that it became really interesting, expecially PrimeFaces implementation (I found it full of great components).
But I'd love to hear your experiences. How about use JSF in complex applications ? Is still a viable choice ?
Bear Bibeault wrote:
You would be very very incorrect in this regard. I've worked on a number of complex applications as SPAs and I can assure you that they are far from "toys".
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:You not only have possibly-critical functions and data "outside the wall", you have the source code for those functions outside the wall as well, and that's just begging for trouble.
Bear Bibeault wrote:One point of disagreement:
Tim Holloway wrote:You not only have possibly-critical functions and data "outside the wall", you have the source code for those functions outside the wall as well, and that's just begging for trouble.
Only in poorly architected systems. Anyone who places hackable or critical sections in the client-side code shouldn't be developing web sites. Just because SPAs put the view and control logic on the client isn't a license to move everything there. Critical and secure code should still be on the server with proper authentication and authorization.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:Unfortunately, poorly architected systems are pretty much the demand - and the expectation - these days. You not only are more likely to be commanded to bang out stuff fast and cheap with little thought for performance and less for security, you're actually likely to get dinged for not doing it that way. Or at least I have been.
Tim Holloway wrote:
Yes, client-side scripting languages are very popular right now. They allow you to get pretty web pages out in a hurry.
Claude Moore wrote:I just wonder why instead having a proliferation of frameworks that, more or less, try to do the very same thing (help you not to write messy code, help you to be rigorous), and, with only a few exceptions, are doomed to be forgotten in a couple of years, programmers' community (and browser vendors, too) doesn't feel the need to join effords to develop a common web gui language, beyond HTML and Javascript.
Google tried with Dart, I don't know if has dumped it or not. Then Go language arose. For the gui, here is Polymer. Then AngularJS UI. Ehi, don't forget JQuery UI. Don't forget Dojo. And so on....
And JSF seems to be a good starting point, not for itself, but mostly because it's part of a large and stable ecosystem that Java is.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
"I know this defies the law of gravity... but I never studied law." -B. Bunny Defiant tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|