Answer the question
In order to leave comments, you need to log in
Which framework to disassemble or how to get in-depth knowledge of MVC?
At interviews, they often ask you to do a test task, but not on a framework. The same guest book, or an analogue of pastebin, or a URL shortener or a simple blog.
On modern frameworks, this is done quickly. Yes, and in the company itself, most likely they write in frameworks, and the applicant in the future will have to write in them, but at the interview they ask for naked php.
I mean that those who hire want to see not just the procedural style of implementing a simple application, but the way of thinking, application extensibility, security, etc.
That is, they want to see their own implementation of MVC. Of course, these are my guesses, but if I were the employer, I would do just that, I would look at the most successful (in my opinion) implementation.
Which microframework is suitable for a beginner to take it apart and understand how it works, to look under its hood and not be horrified (from complexity and misunderstanding), to collect ideas from there and implement your own microframework on which to do simple test tasks without noodle code and bicycles ?
The same Laravel is not simple, it has a lot under the hood and it is not so easy for a beginner to understand how it works from the inside. Therefore, fancy modern frameworks will not work: Laravel, Symphony, Yii.
And in video tutorials, authors often implement MVC in their own way, that is, the structure of folders, classes and files is different for everyone. Probably the authors write "their own framework" having picked up various features from various simple and not very frameworks.
Answer the question
In order to leave comments, you need to log in
I think it's worth watching a series of video tutorials on learning PSR-7 microframeworks. As a result, you will learn how to create your own component framework from scratch.
https://elisdn.ru/blog/113/psr7-framework-http
By the way, there are sources that can be studied.
What the fuck... asks to implement his MVC as a test task, especially for a junior?
Maybe there is also a garden to plow?
If of course it will be a paid task, then ok.
Without a framework, they may be asked to solve some specific problem, such as flipping an array / string (if we are talking about June), maybe some algorithm or some task from the target area.
And charlatans who conduct courses usually offer to sell their bike.
Of course, with experience, you'll be diving into the insides of the framework to understand why some crap is going on, but not in order to learn MVC.
Well, and most importantly, the framework is called MVC, since it seems to call for writing code like this, but apart from some kind of URL mapping to the controller, it does nothing from MVC, your code already refers to the model (yes, there are usually some tools to work with it, but this is different), then you yourself specify how to display. Framework for another!!!
collect ideas from there and implement your own microframework
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question