DEV Community

Discussion on: What is the best way to implement a view layer logic?

Collapse
 
alchermd profile image
John Alcher

Would you further clarify what exactly are you trying to do? On the surface, I feel like you're looking for reusable components in your Blade templates. This could be cleanly done with components and slots. Or perhaps you're looking for something else?

Collapse
 
msamgan profile image
Mohammed Samgan Khan

Thanks for the response, John. Components and slots do the work but not quite what I have in mind. I am looking more like Cell from CakePHP.