Learning lessons learned in Spring

      For learning Spring, I have my own views and attitudes, and summarized below, we just look on the line Ha, this is just my experience of learning a.

  When I first learned of Spring, level really dish (now certainly be much better compared to before), that would be learning Java, say how nice some of the framework. I have to admit, these frameworks, Spring, mybatis also, or hibernate, struts, they really are outstanding. But for a novice just getting started, the direct study of these frameworks, they are like a black box, you do not know the code inside is how they perform. Some people say that simple ah, I see the source code, single-step debugging ah. As a programmer, this ability is very important. But the current situation is, as a rookie, when opening the source code after that huge amount of code is suffocating.

  I had tried many ways. Watching videos, find information. For watching videos, training and some training institutions, I am really flattered, of course, not all institutions are very poor. Why do I say to boast about it? Currently I'm still a graduate student, and sometimes want to earn a little money Well, some of the school's resource teacher will tell you what what what project. Once a student in the group made the university a domestic top20 hair summer training, recruit some training teachers, to be honest really required is not very high, but my professional counterparts also did not go, in that short time What kind of training to be able to do? We can not imagine. In Java talk about training institutions, right, of course those institutions really long time and very boring, I think the teacher's level is really uneven. Bao bought a record number of learning videos are some of the training institutions. Then I also have students report to class, to be honest, I do not know specifically how to learn, but to do that in two project, and this project is relatively simple, they can not keep my proficiency did not spend 18000 training. Currently learning resources so rich, Mu class network, China University of Mu class, Netease cloud classroom can study so many sites, learning is always better people will take the initiative to learn.

  I learn Spring and how it? To be honest, when the fourth year, Inversion of Control (IOC), dependency injection (DI), AOP (Aspect Oriented Programming) to understand these concepts I have for a long time, and later to understand what is thought, but do not know how a practice . So for a long time I can now say Spring is still foggy veil to uncover layers, and then there are a lot needs to slowly uncover the veil.

  Spring is the time to learn, Java foundation is really too important, I will not say what basis. Java High little knowledge, reflection must understand, there are multi-threaded , synchronous mode. Then the design mode, there are 23 kinds of design, where you should be familiar with the factory pattern, singleton, proxy mode, the adapter mode , after understanding the thought of them, to learn a Spring would be easier, I personally feel that these are some of the Prior Knowledge. After I just simply learned the basics of Java, that I would be eager to learn the framework, it is clear that I would be wrong. Many times, such as we were about to faint framework, there is no return to the nature of language , the framework is desirable, but the blacksmith need its own hardware Yeah, after a few truly understand the essential knowledge, to learn a framework, will soon understand the thoughts inside, why people are so designed, you will discover the beauty of the frame. After I learned that some of the above knowledge, through an actual project, to analyze their own look at the code, plus the usual practice of some small, we would know how to use the Spring or other frameworks, using the framework, really the amount of code will reduce a lot, I will be more focused on how to achieve business functions, some other completely irrelevant to some of the framework is configured, then we must learn their own active learning will be more effective Oh, do not be someone else with rhythm.

  I definitely missed a lot here, but here I just wrote I think the most important ones.

Guess you like

Origin www.cnblogs.com/loki-dong/p/11298581.html