Designing a backend with mvc framework in php

I do not know how to create a backend for my application. Of course, I can always just create simple CRUD operations, but recently I came across the concept of scaffolding and some more “technical methods” for your backend that will be mapped to your database schema.

Any ideas on how I can use these "scaffolding" and other "backend technologies"?

Of course, I assume that we use MVC framewoek here (I use the Kohana PHP framework in version 2.3.4)

So, the best question is: are there frameworks or recommendations for creating a backend CMS in mvc frames (for production, that is)?

I recently saw the Django firewall interface ... something similar to any of the PHP frameworks?

+3
source share
1 answer

Forests are a method or functionality often provided by modern MVC frames such as CakePHP and ZendFramework, which allow developers to quickly create a temporary platform on which they can build their application on top.

This usually means writing a minimal amount of code to come up with CRUD functionality.

For example, in CakePHP you only need to write the following code and wallah!

<?php

class FooController extends AppController {
    var $scaffold;
}

?>

However, note that scaffolding should be temporary , and you should replace them with actual CRUD screens, especially when your application goes into production.

, , . , . , .

Kohana PHP

John Heathco

+2

Source: https://habr.com/ru/post/1722068/


All Articles