Began to study MVC. The essence of this design pattern is clear. I am trying to master this by video tutorials, where my own framework is ultimately obtained.
The problem is that by rewriting all the code, creating the same folder structure, nothing works for me. Then I began to think that I was doing wrong.
I found out: all the authors of the videos, after creating the folder structure, the files, first upload them to a remote server (they don’t tell why, how it is done), and only then they start coding. I continued to do everything on localhost. Thus, the address bar is modified. In my case it is: "localhost / dir / dir / dir / index.php", and in their "myframework.loc / index.php". Could this be a problem?
There is nothing besides localhost. I decided to do ftp with my local IP. Through Netbeans I try to upload folders and files, but upload does not happen. Error 550.
I can not deal with this issue for a month. I do not know how to move forward. And I don’t want to immediately study the finished framework, since it is necessary to understand how he spelled with his hands. Tell me, please, the correct algorithm of actions when developing MVC in PHP.