A
A
AStek2015-10-28 16:51:42
symfony
AStek, 2015-10-28 16:51:42

How to correctly implement several blocks with different functionality?

I have an interesting question for the community.
I worked with several MVC frameworks (Symfony, Laravel), but for none of them I found a description of how to correctly implement the following case.
There is a page with several functional blocks (let's say profile info, microblog, etc.).
All the tutorials I've studied suggest implementing a powerful controller for this page.
It seems to me that for this case it would be better to divide the page into several independent blocks according to functionality (such as components, widgets or plugins).
Are there any examples of implementing this approach for these frameworks?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Evgrafovich, 2015-10-28
@AStek

https://github.com/greabock/widget-system

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question