135,240 views
The dates of the next TechTrain festival will be announced later. More about TechTrain: https://jrg.su/YR8JKw — How many design patterns do you know? 24? 36? 100? And how many of them do you use in real life? 3? 5? 10? In this talk, Evgeniy will show how to easily and simply implement the most popular patterns that we encounter in everyday life using Spring. Chain of responsibility, strategy, command, lazy initialization, scala traits, AOP, proxy, decorator and other patterns and concepts implemented using Spring will make your code soft and silky. And the dandruff of your boilerplate in the form of switches, static methods, inheritance, and other outdated chaff will fall from your project to the joyful cries of sonar. The code will become more readable, flexible and maintainable. Such code is easier to cover with tests and, finally, it is simply beautiful. In this report, we will not pick at the insides of Spring or try to customize it. We will not even write a single bin post processor or starter (except perhaps a custom classloader). Only practical tasks and the most ordinary, simple, good, fifth Spring.