[Free] Creating Validators Using Dependency Injection And Tuples.
Design and implement validators using Dependency Injection(interface oriented design) and Tuples(functional interfaces). – Free Course
What you’ll learn
- Writing custom validations using Dependency Injection and Tuples.
Requirements
- Be able to code in Java and know basic Dependency Injection.
Description
Welcome to Creating Validators using Dependency Injection and Tuples course.
The aim of this course is to teach you to design and implement the validators using the Dependency Injection and Tuples.
Using the tool set that I have provided in this course, you can do:
-
Request Validations
-
Response Validations
-
Business Logic Validations
-
And several other validations too.
Validators using Dependency Injection:
In this approach we will use dependency injection of Spring. I will teach how to use interface oriented design to implement validators and how to sequence the Spring beans. We will use FunctionalInterface to write different validators. Then combine them together and execute them using List interface.
Validator using Tuples:
Tuples are fascinating data bags can accommodate data elements of any different types. I teach you how to implement Tuple with two elements. Then I will teach how to implement lazy validators using Tuple. The best part about this approach is there will be only one if condition in the entire code.
At the end of this course:
-
You will know how to design validators using interface oriented design.
-
You will know how to sequence the execution of all validators.
-
You will know how to write Spring Unit tests without Mockito.
-
You will know what is tuples are its advanced methods.
-
You will know why is deferred(lazy) execution a better idea.