[TYPO3-ect] lib supports Presentation-Abstraction-Control (PAC) WAS: Subcontrollers

Daniel Brüßler info at -remove-patchworking.de
Mon Aug 6 12:47:46 CEST 2007


Hello Elmar,

sorry, I just saw it.

With that concept we can handle extended functionality in extensions in 
a very convenient way.

At first it looks like the widget-pattern (1 view + 1 controller + 1 
model). Struts does use this (HTMLbutton + JSPview + Struts mapping + 
Java class with function actionPerformed).

Very important is that connections between the subcontrollers/ "agents" 
are VERY simple in standard-case, because just so many developers will 
use it. We can achieve this, when the standard-configuration is done in 
TypoScript and just needs to be overwritten when one needs more. Or we 
can use pre-configured code:

The kickstarter__mvc could have some selectable standard-configuration, 
so that it's easier to jump into the lib/div/MVC/PAC - world:

* a) a list with search-widget (view=a list of apples and a search-box, 
control=search function and database-query, model=list of apples and useage)
* b) rich content (view=AJAX'ed view of content e.g. in a tab-view, 
control=an ajax-framework, model=list of tt_content - texts)
* c) main with 2 plugins (main=example "dr_wiki", subcontroller 
1="Search", subcontroller 2="RecentChanges")
* d) main with 2 services (main=example "cal", subcontroller 
1="CategoryService", subcontroller 2="RightsService"
* e) ... (many more possible)

What do you think about that way?

kind regards
Daniel



Elmar Hinz wrote:
> Elmar Hinz wrote:
> 
>>
>> Now we have the words to communicate it:
>>
>> lib supports the Presentation-Abstraction-Control (PAC) Pattern!
> 
> I forgot to add a link showing the PAC tree:
> 
> http://en.wikipedia.org/wiki/Presentation-abstraction-control
> 
> 


More information about the TYPO3-team-extension-coordination mailing list