I am still in development state of making a yii-based forum.
You see… in every forum there is a topic containing a list of posts.
In my understanding to display the posts, we just need to call renderPartial function in a loop to display the posts one by one in the Controller.
I’ve stumbled upon this website just now:
A person says that "calling a render partial inside a loop would request the rendering engine for each run.", hence I assume that it will slow the process.
If calling render partial inside a loop is not a good practice, then how do we handle this in Yii Framework?