[TYPO3-ect] lib/div with services - would that be an option?
Steffen Kamper
steffen at dislabs.de
Thu Feb 1 10:53:46 CET 2007
"Franz Koch" <typo at fx.MINUS.graefix.DOT.de> schrieb im Newsbeitrag
news:mailman.1.1170317035.16912.typo3-team-extension-coordination at lists.netfielders.de...
> Hi list,
>
> I know that most of you might be snowboarding now - however I got a little
> question. Lately I used tx_cal a lot and got used to the way it works. As
> you might know it's also a MVC but it's mainly based on services. I found
> this way very interesting and it came handy when I had to modify/extend
> some parts of tx_cal.
>
> Now my question: what do you think about also base lib/div on services?
> Would that be a good option or would it have more disadvantages (slower or
> whatever)?
>
> As example I was thinking of maybe a rendering-service. This way a
> developer could simply override the default php-template system in general
> with his preferred one and doesn't have to write extension_addons for
> every extension from TER he uses? Don't know if this makes sense at all -
> but sounds at least good to me ;)
>
> --
> Kind regards,
> Franz Koch
Hi Franz,
the main reason for doing this with services (they are part of model) is to
be flexible about Data storage. So it's very easy to install a service that
overwrites a method reading the data.
May be a diagram of cal is helpful to understand the architecture:
http://www.sk-typo3.de/cal-Funktionsdiagramm.273.0.html
vg Steffen
More information about the TYPO3-team-extension-coordination
mailing list