one page app is popular, advocate by a guy, I dont remember name. one page
app doesnt mean just one js file. And for a good design you use JS design
patterns and frameworks. So it could be as complex as any other design.
I mentioned somewhere in the forum before, JQuery front end AJAX call to
REST back end is popular architecture now a days. Heard many projects done
this way. In this situation, Java developer become services developer if
they dont want to code JS.
JQuery(AJAX) + REST one page app could be very easy, as I say in flickr
example. But in the real world, remember, JS has mvc frameworks too.
actually they are libraries, like spine, backbone, so, it could be as
complex as any other technology stacks. Here are the design patterns in JS.
I don't really understand them, as java developer, I am kind of tired of JS.
Same as other Java Developers, JS is for kids, it is not for a true
developer, it is the mind set, it is not true, I guess, but you know where I
come from.
NameSpace Pattern
Constructor Pattern
Module Pattern
Revealing Module Pattern
Singleton Pattern
Observer Pattern
Mediator Pattern
Prototype Pattern
Command Pattern
Facade Pattern
Factory Pattern
Mixin Pattern
Decorator Pattern
Flyweight Pattern
JavaScript MV* Patterns
MVC Pattern
MVP Pattern
MVVM Pattern
Modern Modular JavaScript Design Patterns
AMD
CommonJS
ES Harmony