Re: Package Proposal: MVCnPHP

From: Date: Mon, 07 Apr 2003 14:08:12 +0000
Subject: Re: Package Proposal: MVCnPHP
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14976@lists.php.net to get a copy of this message
I agree with Stig, there does need to be a careful balance. I feel this package is an example of what he was talking about. The MVCnPHP package is relatively small and in no way monolithic. I honestly feel there should be a place for things like this in PEAR granted they can stay small and compartmentalized. While this may be considered a type of framework, I don't believe it is a framework in the sense that Stig was thinking in that email (though I could very well be wrong). In fact this is no more a framework than things like HTML_Template_Flexy and other template systems. I say so because just like those template libraries, MVCnPHP has no real value until an application starts using it. To address an earlier question, you can still use any PEAR form or template library you want. The views you create that would extend the BaseView class would simply need to include the appropriate libraries and then begin using them. Jeroen, once you get it working I'd be interested to know exactly what you had to change to get it working. I did notice that I had to tweak some path's in various files because I had the path to the base MVCnPHP package in my include_path so I need to iron all those out. I hope some of the rest of you get a chance to take a closer look. In addition to handling program flow, the other benefit which merit's all your attention is the fact that the code needed to process a request is loaded on the fly as needed. --Tony On Mon, 7 Apr 2003 rocha@i-node.com.br wrote: > > this package or not. The way I understand it, is that this package is > > just a way of gluing the different components together in an > > application. You can do it with your own page controller like > > > > if ($action == 'update') { > > > > } elseif ($action == 'delete') { > > > > } > > bla > So I can use only the controller? Can I use it with a different view from > what comes with it. Another form, like Quick_form, oohforms? > > S.Rocha > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > -- Tony Bibbs "I guess you have to remember that those who don't tony@tonybibbs.com hunt or fish often see those of us who do as harmlessly strange and sort of amusing. When you think about it, that might be a fair assessment." --Unknown

« previous php.pear.dev (#14976) next »