S
S
Sergei2016-04-16 23:45:56
Laravel
Sergei, 2016-04-16 23:45:56

Where in laravel to take out complex repetitive logic that requires data from several tables or does not require access to the database at all?

Hello. I am considering laravel as a framework for writing a project. At the moment, the question remains a mystery where to take out a method that requires receiving and processing data from several database tables? or, for example, I would like to have a method that will accept an array of URLs, access them with a curl, process the received information and return a properly formulated resulting array, while in this case the method does not perform any database queries at all

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2016-04-16
@Nc_Soft

REPOSITORY pattern

S
Silm, 2016-04-17
@Silm

The model is not required to work with the database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question