2017-9-16
From August onwards to now, one months of internship, the post is the Java Web back-end development. The process of learning more than self-study, but also let me realize the need to learn more knowledge. Here I will be in the larger aspects of this internship to summarize the lessons learned, and then need to study hard knowledge.
Basic
After one months of exercise, the biggest feeling is the fundamental importance. Here I am referring to the data Structure Foundation. Having experienced the development of actual projects, I am sure I know more about the programming of an enterprise project, and understand what the actual technology is about, and this process I understand that the basic data structure is so important. To be honest, I feel that most of the time a project is doing repetitive activities, called additions and deletions. The process is nothing more than dealing with data, such as how to get data, how to save the data you get, and how to return the data you want to the front end is the core of what we do. And that's not exactly the data structure thing? For example, we should be familiar with the List, MAP and other structures, and know what scenarios use those containers to encapsulate data. Another is the algorithm, although I have not used the algorithm for 1.5 months, but undoubtedly this is the advanced must, because the algorithm can help us to better process the data, and this is the task of the back-end engineer-processing data. So the data structure and algorithm is the future must be mastered. Another basic point to note is the use of the JDK's common API. One thing I was impressed with was the use of String. One time I want to judge a string is not empty, then the practice seems to be just "copy" someone else's code, no deep thinking process, then have idle thinking, found a String to judge non-empty actually want to pay attention to the things are many, and we can actually directly view the JDK document, we will find the JDK inside The string class has a direct IsEmpty () method for us to use; Similarly, if you want to determine that two strings are equal, the API directly provides the. equal () method for our use, and one of the special considerations here is that you cannot use = = to judge two strings equal! So what I've learned from this process is that the habit of viewing official documents, especially common APIs, is to be memorized. SQL vs. databaseThere is also a very important place is the study of SQL. This piece with the data structure is what I now think is the most important. As I said above, the back-end processing is nothing more than data processing, and many times the data needs to be retrieved from a variety of databases, which requires the use of SQL. I was not very familiar with SQL before I had an internship, and I ate a few times during the interview. In real project development, I also really feel the frequent and important use of SQL, especially in the Mybatis framework to write SQL statements often, deepened my attention to SQL. Of course, the SQL statements are very basic things, in which there is a database for me to understand and learn, such as how to optimize the data query, some database features and so on. The project is using the MySQL database, which is the database I need to deepen my study on next. Team Developmenttalk about team development. We're using SVN for our project and it's very handy and not so complicated (though I'm not familiar with Git). The thing that needs to be documented here is that each time the code is submitted in a "canonical process" (not limited to SVN, team development should do this to prevent conflicts).
- Every day to the company, open the project after the first update code (generally all), found that the conflict resolved in a timely manner;
- Write your own function, run in the local, until you can run through;
- Now you need to update all the code to prevent the other people write the same day code conflict;
- After the update code can not be submitted immediately, need to run again, verify that the code is updated with no error;
- Check again to see if there is an update code, no to submit their own code;
- Every day before work to check whether you have written the code has been submitted, timely submission.
here again said the code submitted by the "annotation specification", there is no unified standard, I am my own online search after feeling quite good, later to use.
- Changed (completed tasks)
- Updated (Update to complete the task)
- Added (newly added demand)
- Fixed (fixed bug)
- Can write when repairing issue: fixed #xx
- The small change directly in a sentence to say clearly
- The big change oneself builds a issue to say clear situation, plan, change, then write fixed #该 issue number
Framework and Process This project is using the SSM framework, and now I think the daily use of this framework is no problem, this is also a big gain, formally used in enterprise projects, the understanding of these frameworks is much deeper. In addition, the process of a project, such as pre-requirements, prototype implementation, coding, testing, on-line also have a clearer understanding of what is going on. I think I'm stepping into the door of the industry. Best PracticesAs for the technical thinking of programming, there are also many improvements. For example, the use of some techniques to know what is the same thing. Like DTOs, and the difference and usage of a Query two object that encapsulates the front-end request data, these are best practices. When it comes to best practices, this internship also exercises the thought of finding the cause of my problems, but there is not much advanced knowledge here. For example, encountered a bug, first run the entire process, to see if the actual function can run through, and then observe the front-end transmission of the data there is no error, the invocation of the request is really called, these steps are correct, see the backend Controller to accept the data situation, and further data processing, and this backend observation can be used in debug (Enhanced my Eclipse debug capability), this process should be able to quickly locate the problem where problems occur. These are the big aspects of the content, the other harvest are some of the details of the technical content, such as file upload download implementation, paging object principle and implementation, some jQuery plug-in use, and so on, do not start speaking. then finally, a rough plan that requires learning knowledge:
- Data structure and algorithms
- In-depth study of MySQL database (learn the database technology series · MySQL Technology insider: InnoDB Storage Engine ")
- Java Fundamentals and knowledge of JVM, multithreading, and more (Learn more about Java Virtual machines: JVM advanced features and best practices, Java Concurrency Programming Combat)
- Continue to learn more about the SSM framework, and learn about the Spring Boot Framework ("Spring Combat" and related video learning)
- Network Programming related knowledge
Java Back-end Engineer Internship Summary