F
F
Flaker2014-06-07 19:00:58
Yii
Flaker, 2014-06-07 19:00:58

(Yii2) Why separate backend into Backend and Frontend?

I started to get acquainted with Yii2 and I just can’t understand why there is a division into backend , frontend and common in yii2-app-advanced . What exactly is in each of these folders and how are they related? What kind of projects should use this division?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
p4s8x, 2014-06-07
@Flaker

We have a similar structure, for the first version of the
backend framework - the admin panel and everything for it.
frontend - the public part of the site.
common - common extensions\components\models.

V
VaNnOrus, 2014-10-07
@VaNnOrus

What's the point?
Why can't you just deny access to everyone, except for exceptions, at specific urls like /admin/?

S
Snewer, 2014-06-07
@Snewer

backend - server side of the site
frontend - front end (html, css, js)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question