[TYPO3-ect] lib/div 1.0 - it's time to say thank you
Steffen Kamper
steffen at dislabs.de
Sat Jan 6 13:21:59 CET 2007
Hi,
"Elmar HInz" <elmar.DOT.hinz at team.MINUS.red.DOT.net> schrieb im Newsbeitrag
news:mailman.1.1168022046.9405.typo3-team-extension-coordination at lists.netfielders.de...
> Hey Ries,
>
>> Hey Elmar,
>>
>> today I took a quick glance at the tx_lib library and tx_div library...
>>
>> tx_div seems to be very minimalistic and provides almost the same
>> functions as
>> t3lib_div:: I currently don't see a real advantage of tx_lib, specially
>> that api_macmade
>> as a magnitude more usefull functions (+16000 downloads....)
>>
>>
>
> You need to see them as team. The one depends on the other. As soon as you
> start to use them you will understand the concept. tx_div is a kind of
> peer to tx_lib.
>
>> tx_lib seems interesting and I need to read upon the whole MVC thing, I
>> do understand
>> teh concept, it's just not yet in my head...
>>
>
> In a few lines:
>
> Model > Controller > View
> MySQL > PHP > Smarty
>
> The best visualization I know:
>
> http://www.typo3-calendar.org/typo3temp/pics/31a2845330.jpg
> http://www.typo3-calendar.org/1576.0.html
>
this is one of the best concepts for Extensions ! It should be the default
model for future Extensions - that needs integration for kickstarter to
support this way.
>
>>
>> One thing that surprises me is the way templates work... Why all the php
>> magic in
>> a php template?? I think that is hard to understand for people that er
>> not
>> technical skilled... Is it theoretically possible to archive the same
>> with smarty templates?
>
> It's possible to extend lib/div with any rendering system. I needed
> to take the shortest way to come to results for the beginning. Please feel
> free to write a smarty connectro for the view.
>
I say +1 for smarty, but know you need to integrate smarty as another
extension.
I vote for integrating smarty as default template engine for typo3 - just my
vision. Then it's no problem to use it in templates.
What do you think ?
vg Steffen
> As for the learningcurve. Smarty is also a complex system that offers
> conditions and iterators. So it's similar. And: PHP knowlage you can reuse
> for other tasks. So what investment to decide for?
>
> Regards
>
> Elmar
>
>
>
>
>
>
>
>
>
>
>
>
>
>
More information about the TYPO3-team-extension-coordination
mailing list