Framework, macro-framework for the development of the portal?

Gained experience (though small) in PHP programming. Now I want to write a full-fledged website and send it to conquer the vastness of the Internet, but was faced with the following problem.

In the first his previous "projects" have used the concept of "home - index.php blog - blog.php contact contacts.php" and combined them with references href="blog.php" etc.
Further, for convenience and CNC discovered America and did everything using case/switch and requires certain pages, depending on ORL La, but was a shit concept, so it remained.

In a new project I want to do everything to the max right (as possible) and stick to at least the MVC concept. On github found macro-Framework Mini, which implemented the mvc model, and it seems like all it is clear. But plagued by doubts, and maybe still do on the framework, a La larval or yii, but knowledge of them is a complete zero.

On this basis, please give an advice what to do: to do based on the macro-framework or to spend a couple of months and study a Framework or something?

A project purely for me, bad code, no one will not see and go with me to the grave.
In fact I only need mvc processing, authorization and other things I will write myself.

Thanks in advance for your answers.
June 5th 19 at 21:06
8 answers
June 5th 19 at 21:08
Yes, good to do on microframework. The most popular one is slim. The rest of the necessary functionality to collect from libraries. But it is advisable to have an understanding of n-tier architecture otherwise it will be spaghetti code. Without experience, it is better to choose yii or laravel. Since documentation will answer all your questions from start to release of the site. But as the documentation describes RAD (rapid application development) be prepared that the outcome will be spaghetti code. But microframework without experience will be even worse.

Choose any. No particular difference. Yii have a strong Russian-speaking community. The developer and the community sometimes share information about how to build a multi-tier architecture. Get the experience and come to the conscious understanding that it is enough microframework.

The usual way developer: plain php -> mvc framework -> microframework -> plain php
the couple have not seen sverrisson past the last stage ) - lily.Kozey commented on June 5th 19 at 21:11
June 5th 19 at 21:10
It is not necessary to write "authorization, and other things." To do this, and there are frameworks and modules.

Recommend Laravel. It is not complicated and very thoughtful, "right".
June 5th 19 at 21:12
Laravel is the best that I have seen in frameworks "for beginners". Yes, I have a week or two to sort out what and how, but a bunch of videos, articles and manuals. The Symphony is not advised, as it, in my opinion, more difficult.
June 5th 19 at 21:14
to do based on the macro-framework or to spend a couple of months and study a Framework or something?

If there is understanding of the basics of OOP and understanding of the basic mechanism MVC a couple of months on a framework that's a lot. As here already wrote - there is the same larabel, he's not brilliantly built, learn a few unconventional approach to the code and models, but for a beginner with the task to quickly get into a topic and write something of their own -quite good. When you feel that grew out of it - move on to something portney, IOU /Symphony/Zend.

In any case, is to write his crutches, not Gud, problems are interesting and complicated on a big project and so are usually a lot, you need to have to use codebase, which was developed quite sensible progeny for quite a long time.
When you feel that grew out of it - move on to something portney, IOU /Symphony/Zend

Why component Larabel you less serious than the monolith Yii2? - lily.Kozey commented on June 5th 19 at 21:17
slightly unconventional approach to the code and models

What is it? - Mohamed_Lind75 commented on June 5th 19 at 21:20
, when was the last time I worked with him, the models was really a dump, and the model and collection of this model - all in a single object. There's also pagination(wtf?). A man accustomed to collection class object Collection as if slightly uncomfortable(very mildly).

And facades... everywhere bitch facades... For a newbie it all looks like magic and statics. Many inside did not climb, but then trying to build something of their own, and make STATIC. There were cases raked over the craftsmen. By the way, sometimes there really is static, and to change something in the basic things hard to Bo beaten rusty crooked nails.

PS: routing is also ... kind of, but this is purely an improvement. - noe commented on June 5th 19 at 21:23
June 5th 19 at 21:16
Try to read the guide framework Yii2 up to and including the section "QUERY PROCESSING". At the time it helped me much more than a bunch of articles and attempts to dazzle your mvc.
June 5th 19 at 21:18
Try Lumen such that laravel on minimal, good for small projects, and does not weigh much
June 5th 19 at 21:20
Laravel, Yii, Phalcon
June 5th 19 at 21:22
Symfony or Laravel 4. Two of the top framework.

Find more questions by tags PHP