We have a controller that manages sales.
We need to display a snipped of those sales on a dashboard. No more logic is involved.
What should that snipped be ?
A clip ? A partial ? Or a Widget ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you should prefer widget for this requirement. We had some discussion over widget & renderPartial here
What should I prefer to use widget or renderPartial in Yii's view?
I hope you will get your answer.