[TYPO3-ect] Controller for Typo3
Michael Scharkow
mscharkow at gmx.net
Thu Mar 23 21:05:25 CET 2006
Elmar Hinz wrote:
> Joerg Schoppet schrieb:
>
>>Hi all,
>>
>>shortly I'm ready with a MVC-concept implementation, which was inspired
>>a very, very little bit from the Zend Framework [1][2] and a lot from
>>Michael Scharkow's implementation of a simple controller [3].
>>Actually I'm at the point, that the only thing you have to do for a
>>"normal" output (e.g. no ajax) is to define the pi1-class, which extends
>>a lib-class, set the three variables (scriptRelPath, prefixId, extKey)
>>and define a specialized controller-class.
>>The complete execution is encapsulated.
>>My last thing is the view-implementation.
>>
>
>
> Hello Joerg,
>
> we are doing this in parallel. So we can compare ideas and combine the
> best of both in the end. My model is not so much inspired by Michaels
> implementation but a little more by Zend Framework [1][2].
Hi you both ;)
I think I don't want to write yet another proposal in parallel to you
but I do have some ideas on how to do stuff. I'd very much appreciate a
more collaborative approach and not end up in the usual I-wrote-my-own
situation.
So please publish your code early and often, and let's have a virtual or
real meeting at some point where we can discuss the basics.
Elmar, you're already working on too many issues simultaneously, like
models or different view methods. Why not concentrate on a reliable
controller that
a) is easy to deploy and extend (by using hooks for actions and
"controller recursion")
b) uses a class naming and autoloading scheme so we get rid of require
and include crap.
c) works in BE and FE
That is easy simple enough but needs to be done before we think about
views (I'd like a smarty view though ;)) and models.
Two questions still:
1. Joerg, where is your code?
2. Elmar, what's the difference between front and action controllers?
Why bother with PHP4?
Greetings,
Michael
Greetings,
Michael
More information about the TYPO3-team-extension-coordination
mailing list