Hello. I work in a small company, where in fact I work alone with the Laravel framework, the rest for Drupal and layout designers.

Interested in the following, general, interconnected, questions on the correct approach to the development of the project, for example, on the Laravel framework:

1) Do you use a CRUD generator, boilerplate, ready admin panel (with front and back end), cms (for example, october CMS) to create a new project on the framework? Or do you create functionality from scratch on each project using the framework itself and php-packages?

2) Do you make separate tables and models for each such entity (for example, News, Articles, Products), or is it all stored in one (for example, Nodes as in Drupal), with an indication of the type, and each type has its own set, for example configs of the field (katinki, text, ...)?

3) Should I do it myself and use it for myself, based on Laravel, some kind of universal solution, such as an admin? Or is it not possible to create a functional and universal at the same time, and it is better to write on the framework from scratch? ... and don’t waste time building your bikes

4) For example, on most sites, you need functionality to manage users, their rights, upload files, images, catheterization (taxonomy such as Drupal), meta tags, variables. And it's all to write, that even installing and configuring ready-made packages does not come out very quickly. How do you do it?

ps. I would like to see the answers of people who have already passed this.

  • Always doing everything from scratch. Deciding how to use the database is definitely yours. Do not forget that drupal is a cms, and Laravel is a freymork. As for the admin, if it is meant to reuse it, I would have written my own in your place, so that you can understand it well and add sections as needed. Users also do hands, as needed. - StereoFlo
  • I do everything from scratch, but there are components on vuejs datagrid, datacreate, data-view-edit, I’m doing a rest API for them via api routes, there is respectively a fractal + entrust for giving out models for rights and roles - Orange_shadow

1 answer 1

Why would every races reinvent the wheel with square wheels ... ??? To do this, they invented the concept of code reuse, etc., so that the developer does not need to waste time on trivial things, but focuses on a specific task. Soon you will have a list of packages that you will connect for 10 minutes. If you are not satisfied with something in them, you can fork them and remake them as you like. The result of all this is saving a huge amount of time in your life that no one will return to you.