• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is loading views within views a good mvc practice?

#3
[eluser]jedd[/eluser]
[quote author="jleequeen" date="1251153363"]Is loading a view from within a view a good mvc practice? Or should I be loading views only from within controllers?[/quote]

It kind of leads you to have two levels of views, and one of them becomes an ersatz controller. I find that kind of confusing, but some people around here find it works really well for them.

I think that by using the 'load->view third parameter set to TRUE' feature, you don't really need to head down this path anyway.


Messages In This Thread
Is loading views within views a good mvc practice? - by El Forum - 08-24-2009, 11:36 AM
Is loading views within views a good mvc practice? - by El Forum - 08-24-2009, 11:56 AM
Is loading views within views a good mvc practice? - by El Forum - 08-24-2009, 12:19 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.