What is the best way to implement a view layer logic?
Mohammed Samgan Khan

Mohammed Samgan Khan @msamgan

About: Love to code with a DRY KISS

Location:
USA
Joined:
Apr 23, 2019

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

Publish Date: Jul 6 '19
6 6

What's the best way to implement a view layer login like a graph or something that is to be used in more than one place in laravel?

Comments 6 total

  • John Alcher
    John AlcherJul 7, 2019

    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?

    • Mohammed Samgan Khan
      Mohammed Samgan KhanJul 7, 2019

      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.

  • Mohammed Samgan Khan
    Mohammed Samgan KhanJul 7, 2019

    thanks, Dainius.
    BTW do you have any working example of the same?

  • Mohammed Samgan Khan
    Mohammed Samgan KhanJul 7, 2019

    thanks a lot.
    I guess I can work on this. thanks a lot and I will be waiting for the article...
    :P

Add comment