Understand YMP Framework
YMP was officially released on October 25, 2014. It has been widely used in actual projects before this. From initially only to internal team use, to the development team of partners, to friends around you, and friends of friends, I have also begun to invest YMP in actual projects. So here I would like to express my sincere thanks to my colleagues and friends who have always helped and supported me! It is everyone's trust and recognition that YMP has grown rapidly. During the process of change, it has been constantly improving and optimizing until it is finally released to the public.
There is no perfect framework, only suitable ones are good. In order to make YMP simpler and easier to use, the development of v2 version was started on January 26, 2015. It took a whole year to refactor YMP. The new version contains a large number of new features, functional improvements and code optimizations collected during the use of v1. It will not change the original intention. Making development work as easy as building blocks is our goal!
Of course, the framework still has many shortcomings and needs to be continuously improved. If you think YMP can help you, I sincerely hope to get your support, put forward your needs, ideas, opinions and suggestions to discuss them together, and make it better together!
The main technical features of YMP:
Overall framework structure diagram:
Download and compile YMP framework code
Since the current YMP v2 version has not officially released its JAR package resources to the Maven central library, this section mainly introduces how to manually install and compile the YMP framework into the local Maven library.
Step 1: Open the YMP project address http://git.oschina.net/suninformation/ymate-platform-v2 in the browser and click to copy the GIT resource path, as shown in Figure-1:
Step 2: Open the terminal and enter the target directory, execute the git clone command to complete the YMP framework source code download, as shown in Figure-2:
git clone https://git.oschina.net/suninformation/ymate-platform-v2.git
Step 3: After the source code is downloaded, enter the project directory and execute the Maven compilation and installation commands, as shown in Figure-3:
cd ymate-platform-v2mvn clean source:jar install
At this point, we have successfully completed the manual compilation and installation of the YMP framework package into the local Maven library.
summary:
Even if this article is the beginning of the YMP series, it is just a few hundred words, and it is all about the thoughts in my heart. Next, we will update the usage methods of the YMP framework from time to time and explain some functional implementation details.