Home > Backend Development > PHP Tutorial > Where does laravel write this method, in the model class? Another layer of MVC?

Where does laravel write this method, in the model class? Another layer of MVC?

WBOY
Release: 2016-08-04 09:21:20
Original
1040 people have browsed it

It’s not suitable in the Model class
Where does laravel write this method, in the model class? Another layer of MVC?

Reply content:

It’s not suitable in the Model class
Where does laravel write this method, in the model class? Another layer of MVC?

service logic repoise lamp

Of course the model directly deals with the database, and the logical things can be abstracted into a logic layer

Don’t bring in TP’s thoughts

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template