Great video! Thank you for that It would be very nice of you, if you could hint how the $el->render() works in Form class. Although I understand what the recursive functions are and how they function, this part of the code is still not 100% clear. render() of which class is actually called and what does it do? Thank you once more. The effort that you are putting in your channel is absolutely worth it
All your videos are very helpful, I wanted to know is that how can we find/develop popup widgets which gets popped up on left bottom side of the website as it can be anything like offer banner, etc. Any suggestions would be helpful...
What is the need to build such a complex code? It's a form after all I couldn't follow the full video because I need to study more about oop, but if it's just a form that gets post data, why do we need to make it so complex? And it's not an offensive question, I just don't understand why.
Because the form is not just input. The form more often includes labels, error messages, hints and so on. And if you have all this in form html for each input might be multiple lines. Such kind of form widget will help you to reduce code and have reusable peace of code for every form. If you want to know about OOP I have a full playlost about Object Oriented PHP on my channel