loading...

re: Handling complex MVC applications - How to scale and avoid Controller chaos VIEW POST

FULL DISCUSSION
 

Shouldn't

} catch (Exception $e)

be

} catch (\Exception $e)

?

Relating the article, I agree, though I just leave in the Manager real complex shared logic, I've all the rest in the repo class.

 

You are right! However, the puprose of the code snippets are not to be syntactiaclly correct, but to give an overview of the architecture.

code of conduct - report abuse