[TYPO3-ect] getFrondEnd() ??

Elmar Hinz elmar07 at googlemail.com
Thu Aug 9 18:06:02 CEST 2007


Philip Almeida wrote:

> Files in attach:
> MODEL_EXAMPLE.PHP <?ik=86829090e4&view=att&th=1144b37162c4a283&attid=0.1>
> TEMPLATEFILE.PHP <?ik=86829090e4&view=att&th=1144b37162c4a283&attid=0.2>
>
FUNCTION_FOR_APPRECIATION.PHP<?ik=86829090e4&view=att&th=1144b37162c4a283&attid=0.3>
> 
> Elmar,
> 
> I send for consideration a method or a conceptual ideia if you prefer to
> be used in MODEL.
> 
> The method retrieves a complete update query based on defined values from
> template file:
> 
> sdd  -> string data definition
> idd   -> integer data definition
> tdd   -> table data definition
> sud  -> string unique data
> iud   -> integer unique data
> 
> (usage example: <input name="sdd_databasefieldname" value="myValue">)
> 


Hi Philip,

unfortunately the list doesn't deliver attachments, but you could file them
in with a bugtracker ticket: http://bugs.typo3.org. 

Year idea sounds interesting. I can imagine that many people would like it. 

Advantages: 

 * easy to understand
 * easy to implemnt
 
Disadvantages: 

 * mixes view and control of the model

You could offer it as an addon extension for lib.

http://typo3.org/documentation/document-library/extension-manuals/ect/0.1.1/view/1/3/

That would also be the first test, if the addon mechanism works with the
lib/div loaders.

Hint:

The dataformats (string, integer, etc.) are already configured in the $TCA.
If you read the $TCA, the user does not need to prefix the fieldnames. But
that's not so easy to implement.


Regards

Elmar



































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