Skip to main content

Bugli Lorenzo

Member since Jul 13, 2012

Recent Blog Comments By Bugli Lorenzo

  • How Do You Populate Shared Views In A Complex Layout Using MVC?

    Posted on Jul 15, 2012 at 9:14 AM

    @David, yes it's true. I've the same opinion, but there are some cases (like this one) where this pattern helps more than the MVC. It's wrong use it always in programming, but have few view_helpers helps a lot to me.... read more »

  • How Do You Populate Shared Views In A Complex Layout Using MVC?

    Posted on Jul 15, 2012 at 9:09 AM

    If there are ansynchronous part to show the best way to implement is use a View_Helper http://www.corej2eepatterns.com/Patterns2ndEd/images/VHMainClass.gif It bypass controller and get data from the model to display it. http://www.corej2eepatterns.com/Patterns2ndEd/ViewHelper.htm... read more »

  • How Do You Populate Shared Views In A Complex Layout Using MVC?

    Posted on Jul 13, 2012 at 3:33 AM

    There's no need of another controller. What you need is something like Zend_View_Helper design pattern. See http://www.javaworld.com/javaworld/jw-11-2004/jw-1101-viewhelper.html This pattern provides the way to present content dinamically and can be put everywhere in the view. It's like a short... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel