M
M
MetalJerry2019-03-01 12:34:42
Yii
MetalJerry, 2019-03-01 12:34:42

Yii basic for a simple site with an admin panel is shit code?

I am trying to get into the web on my own and, having got to the frameworks, I started with simple ones. I realized that Yii2, unlike CodeIgniter, allows you not to code the authentication system shitty and switched to it. Now there is a need to make a simple business card site for a friend, where it is assumed that a couple of sections will be updated over time. But I'm not so familiar with Yii yet. Therefore, I ask myself the question: to make a modest site with a tiny admin panel on the basic version, and not on the advanced one - is it haraam or will it work?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Pavel, 2019-03-01
@MetalJerry

If you do not need a complex content management system, but simply the ability to add / edit sections / texts, and at the same time there is a desire to learn a little, then write. But cut wisely, when planning a site, try to look at it "from above" more often as a single system, because frameworks provide too much freedom, and without practice, you can easily code in the language.

V
Vladislav, 2019-03-01
@vos_50

Author, look towards Laravel. This framework is much easier to learn for beginners, and authentication with the admin panel (albeit empty) is done there in 1 console command.

S
Saboteur, 2019-03-01
@saboteur_kiev

It's not shitcode. It may be overengineering for this task, but if it involves gaining experience for you, and a friend can do it, then cut it.

K
Kirill Arutyunov, 2019-03-01
@arutyunov

If your goal is to learn, then collect on basic / advanced. The difference is not fundamental, it will be a little more difficult to figure it out in advanced, but you will get used to it. It’s even better to take advanced, because as the complexity of projects grows, you will switch to it anyway.
If the goal is to make a website for a friend and do the task well, then it’s better to take WordPress, for example. It's faster, and then it will be easier for a friend to manage the site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question