W
W
WQP2017-01-04 13:08:45
Laravel
WQP, 2017-01-04 13:08:45

Is this file structure suitable for the admin panel?

Hello, is this file structure suitable for expanding the site in the future?
273a5770363e479382cef72cc72aad31.png
PS I am making the first site on laravel, first I decided to make an admin panel, and after that a template for the site

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Aksentiev, 2017-01-04
@Sanasol

Use it if it suits you.
There is no magic recipe for how to decompose templates.
And what's the point of getting so hung up on how the templates are laid out? It would be better to write code, instead of philosophizing about folders.

A
Andrzej Wielski, 2017-01-04
@wielski

I have so:

views
   -- errors
   -- emails

   -- back
       -- crud
           -- add.blade.php
           -- edit.blade.php
           -- list.blade.php
       -- entities
           -- pages
             -- add.blade.php
             -- edit.blade.php
             -- list.blade.php
       -- layouts
          -- admin.blade.php

--front
   -- entities
      -- pages
         -- page.blade.php
   -- layouts
      -- app.blade.php

E
evnuh, 2017-06-13
@evnuh

Translated by Google translator (here is a link to it - translate.google.ru ):

Withdrawal notice ./../php/php-gettext/streams.php#84
Methods with the same name as their class will not be constructors in a future version of PHP; FileReader has a deprecated constructor

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question