When to use the script, I think the general practice is as follows: non-molding module use, non-key module use, prototype implementation module use, non-terminal performance requirements of the module use. Here we need to mention that haoxi is not designed but transformed, and the design will be used for the next transformation. As a matter of fact, changing things cannot provide a perfect design in advance. For some new immature modules, we need to provide a set of tools to adapt to small steps. The web layer is the most typical case.
So what kind of script should I choose? How can I use the script to implement actions or even other aspects? The best thing about the action layer (or even the view layer) is JavaScript. Why doesn't the browser use the logic? Focusing on web development should be dominated by Js. In the future, Web developers only need JavaScript, And the frontend and backend are all responsible. Java developers provide basic libraries and frameworks, or provide backend for complex background Distributed Control
Program. Java personnel are Java personnel who do not need to focus on the interface. Web and front-end development are interface-related. The division of labor is clear and not better. Ah ~, J2EE provides a JS version for JSP implementation. Nodejs? Is it like that?
Can nodejs fully utilize various background libraries of Java? Java and focuses on Modular object-oriented development. JS focuses on demand changes and dynamic integration of modules, and treats itself as glue. If this happens, not the web system can. Of course, it should be emphasized that it is also necessary to gradually transform the JS implementation part into Java implementation after the function is solidified. This is also the feature of evolution and reconstruction. In some specific scenarios, the entire implementation of Java into Native implementation may be the target of the demander. At this time, the performance is not considered as a function. Maybe, that is a distant future. software is in the era of standard functions, standard interfaces, and quasi-power usage like electric equipment such as vacuum cleaners and televisions. That is the era of Homogeneous Competition.