I haven't seen everyone for a long time. Today I took the time to record what happened in two weeks.

Source: Internet
Author: User

I haven't been on csdn for two weeks. In fact, I keep thinking about the friends here ...... However, in two weeks, I have gained a lot. I have been excited, worried, desperate, and confused ...... In the past two weeks, I have never experienced many things before.

During the past two weeks, I have been working on a small "project". In fact, now it is clear that struts2 and Hibernate are used to implement a user login, registration, and query, the extended functions use ajax to verify whether a user exists. I have just received this task. For me who have never used struts2 or hibernate, there are challenges and temptations.

After receiving the task for the first time, I came back to do it. In four days, I set up a framework, connected to the database, and then queried the database. It was the first time I got back to the task, and it was also the most silly. Why was it silly? Because at that time, I didn't know which version of the Framework I was going to use, so I saw which book I was going to use, just starting from above, I was in a hurry and didn't have any design or plan. I thought of any functions and functions. However, the whole process was quite smooth. In two and a half days, after connecting to the database, understanding how to configure the file, and understanding one of the principles, I was so happy that I suddenly found that I used struts1, and the task was to use struts2, i'm dizzy! I learned a lot, so I started to look for materials, read books, and access the Internet in one day. Then, all the previous work had been changed ...... I remember very deeply that night, I suffered from insomnia ......

Although the first task was a little hasty in the process of completion, it still had some gains and a sense of accomplishment. Therefore, when I took the second task, soon I decided on the functions to be implemented: search, paging, verification, and writing SQL statements to another file. The architecture of the class should be abstract. After some explanations, I basically understand and have some ideas. This time, it should be four days. This time, I had too many first times: The first time I went to Miss Ye's class, I sat next to my computer for three hours and didn't know what to do. The first time I went to bed after, I felt that Program Confusions and helplessness brought to me ...... The result is obvious: I did not complete the task, but I still went to the agreed time. After I went there, I asked my senior brother to check the progress of the program and function implementation. The result is: The program is messy, function is not implemented. In this way, I once again realized another major mistake I made: action is not separated, and all of them write methods in an action ...... Now let's think about it. It's silly to be home ...... What does this mean? -- Redo all! However, this time I got a lot of information from my brother. For example, to implement a function in a program, I need to write an action. I need to separate the tool class and the specific implementation class, design the program before writing ...... In this way, I changed the program again and completed the unimplemented functions. I met my mentor in the most chaotic time. Coincidentally, the teacher gave me a pen. Maybe the teacher didn't feel the support for me, but I told myself with a pen, this pen can only be used for projects! Don't worry. Come on, everything will be clear! Come on !"

In this way, the third task is followed by the second task. The time is two days. Fortunately, these two days are weekends, and I think there is a lot of time. This time, the project was re-built and all the frameworks were re-built. However, we were lucky because we had experience in the past, so they all went smoothly. This time I did not write the program, but spent a whole day thinking about the overall architecture. I think this day is also my most painful time. Finally, on the second day of work, on the evening of the next day, I suddenly felt a clear feeling, because I finally seemed to understand how to use the framework ......

I was in a hurry and finished writing the program. I should have accepted the test today. But the teacher has something to do. I will go tomorrow. I believe that there will be a lot of new tasks and new knowledge to learn tomorrow, but at least now, my mind is clear.

I am very grateful to ye Jun for his help. Without him, many of my things will take more detours, and I cannot write my pages. However, based on the program he wrote, I changed some pages and added some pages. However, I still have a big problem, as ye said: mispositioning is too slow ......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.