[TYPO3-mvc] Thinking of the extbase-way fpr something like comments, ratings

Xavier Perseguers typo3 at perseguers.ch
Sat Jun 6 13:59:45 CEST 2009


Hi,

> till now i have programmed with extbase zero lines ;-) But i think about 
> the possibilities.
> 
> In TER are the nice extensions comments and ratings (for example). If i 
> understand the principles for FLOW3 and extbase right, the way these two 
> extensions are working not so nice for the future.

They have been developed before Extbase, this is why they don't use the 
new framework, but this is true for nearly 100% of extension you find in 
TER now.

> Maybe I'm wrong, but as i understand the thing with the Domain Model, it 
> says that (for example) "comments" have to be in the Domain and not an 
> new extension?
> 
> Am i right? Or is there a way to solve this challenge?

Which challenge? Comments and ratings should be part of the "page" 
domain model if it makes sense for your application. But being part of 
the domain model does not mean that core itself should include this in 
its domain model.

If you need comments and ratings for your pages, then you may extend the 
existing domain model and add new objects to your model. And you do this 
with an extension, this won't change. What will change for many 
extensions moving to Extbase or developed from ground up with Extbase 
(and Fluid) is that they will have a domain model that is easily 
recognizable and easily extensible.

But many extensions already have good use of MVC paradigm even before 
Extbase was out, just take a look at quite recent extensions written by 
Dmitry Dulepov for instance.

I hope I could answer your question.

Regards


-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-project-typo3v4mvc mailing list