Spring+SpringMVC+MyBatis+easyUI Integration Fundamentals (1) Project Brief and Technical Selection Introduction

budding stage

I started planning to organize my technical blog a long time ago. Due to various reasons (excuses can always be found), I really can't find time, so the plan has been shelved, it has always been just a small bud in my heart, day after day The long years of the sun are like the sand in my hands, silently draining away, but this little life is also growing up under the watering of my longing and expectation.

The article is born by nature, and it is obtained by chance

Recently, the progress of the project has gradually slowed down, and it is not so busy. Therefore, I started to prepare my own blog. When it comes to the protagonist of this blog, I also found it by accident. The ideas and codes come from a project I wrote more than two years ago. , ready to go.

The beginning of everything is difficult, and writing a blog has also driven me crazy for a while, because I don’t know where to start, and my original intention is to share technology, so I don’t know where to start. It’s a coincidence, last week. When I was sorting out the files, I stumbled upon a small project two years ago. Looking at the code at that time was really emotional. Is this the code I wrote? (serious face)

The project is a very basic JavaWeb project. At that time, the development editor was still eclipse, and maven was not used to manage the project. It should be very friendly to beginners. With this project and the experience of the past two years, I want to start from the most basic project, build and optimize this project step by step, and also take this opportunity to sort out my knowledge points. Friends who are studying would be better off with a little help.

It was an accidental start.

 

Project plan (1)

The plan is like this. For the time being, it is planned to be divided into three sections, each of which will contain about a dozen blog posts, all around this project, making a working note and thinking about the project.

  • The basic chapter starts with writing about the construction of the project and the realization of its functions, followed by the introduction of some development tools to improve work efficiency, which will be expanded in conjunction with the project itself.
  • The optimization chapter is to write some optimizations about the project, focusing on functions, so more focus is on the code.
  • The advanced chapter is to split the development and deployment of the project, and briefly explain the high availability and scalability of the project. This chapter will involve the separation of front-end and back-end, the construction of Web cache server, tomcat cluster, etc.

Project plan (2)

There will be further optimization of the project later, with the following plans:

  • Development of search engines.
  • The serviceization of the project will be expanded on two lines. One is to use dubbo to split the service of the project, and the other is to use the recently popular springcloud to reasonably split the business. This article will see Time is not allowed, because there are a lot of knowledge points in the first three articles, so we can only update them slowly.
  • Use of message queues.

Introduction to technology selection

The basic knowledge points involved are as follows:

  • Spring
  • SpringMVC
  • mybatis
  • easyUI
  • mysql
  • project management tool maven
  • Version control tool SVN
  • version control tool git

The knowledge points involved in the optimization chapter are as follows:

  • Database optimization
  • Code optimization
  • Alibaba open source data source druid
  • Rich text editor UEditor
  • RESTful API
  • Cache integration
  • Redis

The knowledge points involved in the advanced chapter are as follows:

  • Front and rear separation
  • cents
  • nginx
  • tomcat cluster
  • ...

Epilogue

GitHub repository address .

Open source China warehouse address .

Let’s write so much for the time being. The next knowledge points are Dubbo, ZooKeeper and springcloud technology stacks. After updating these articles listed above, fill in the service-oriented pits. After all, updating these articles is not an easy task. Son.

Since this is the first article, the epilogue is to be continued...

(On the evening of July 23, 2017, the article was re-edited and formatted)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325821741&siteId=291194637