[TYPO3-ect] lib/div: Next to last milestone to beta release
Franz Koch
typo.removeformessage at fx-graefix.de
Wed Aug 8 12:53:38 CEST 2007
Hi Daniel,
> If you have more in mind about this topic, then please extend the
> wiki-page (or write here).
Some other stuff that came into my mind:
Pre- and Post-Action calls
---------------------------
I'm not sure if this is completely given by the TS-Action chain anyway,
but maybe standard calls to pre- and post-action "actions" that listen
to hooks (when the ext is completely php based) and the TS-action chain.
SQL-Wrapper
----------------------------
Another idea which is not well thought-out is a SQL-wrapper to the
TYPO3-Wrapper that enables extensions to modify SQL calls, to:
- add fields to a otherwise limited SELECT statement
- add a additional WHERE clause
- maybe perform JOINS
- MM-statements
- whatever
This might come handy if someone wants to add custom fields to the
extensions db-table which would otherwise not be fetched due to a
limited SQL-statement of the extension.
The additional statements could be added with a hook or with TS.
Marker-based Method-Calls
----------------------------
What I use myself and is also used in cal are marker-based method calls
that allow to extend everything - but might not be suitable for MVC -
but maybe it is.
The template is parsed for markers, the result of the found markers
get's processed by the model. For the markers the model does not know
about, Hookes are searched for by a special term based on the marker. If
there are no hooks, the method looks for rendering definitions in TS and
processes them with cObjGetSingle - if there are none, the name of the
marker get's transformed to 'getMarkerNameOfMarker' and the model looks
if that method is available and calls it. If everything fails - the
marker get's filled empty.
Same with Subparts.
With that functionality - extensions would almost have no limitation.
That's all for now :)
--
Kind regards,
Franz Koch
More information about the TYPO3-team-extension-coordination
mailing list