Solution
The first and simple solution is to place manual checks to validate data coming from the user's end. This is simple but it is a lot of work. That means it will work but we can miss something, and if we do not miss any check, it will be a lot of low level detail to deal with.
So a better way is to utilize some open source package or tool already available in the community. We will look and use such tools or packages in the upcoming chapters. We will also use such packages to validate data in the upcoming chapters.
In fact, this is not only true about validation, but there is still a lot of low level work that we are doing by ourselves in this chapter. So, we will look at how we can minimize our efforts on low level stuff by using ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access