[TYPO3-core] RFC: Feature Request #7124: Add some more functionality to new AJAX interface in the TYPO3 back-end

Steffen Kamper steffen at sk-typo3.de
Fri Jan 11 12:36:14 CET 2008


"Oliver Hader" <oh at inpublica.de> schrieb im Newsbeitrag 
news:mailman.1.1200049857.12432.typo3-team-core at lists.netfielders.de...
> This is a SVN patch request.
>
> Changes:
> * changing namespace of ajaxIds from e.g. "foldertree_ExpandCollapse"
>   to "SC_alt_db_navframe::ExpandCollapse"
> * add TYPO3AJAX::setContent($content) to completely overwrite the
>   data array
> * add the possibility to use a non-associative content array by
>   addContent(null, 'whatever')
> * add the missing format types "jsonhead" and "jsonbody"
> * fix some phpdoc related things
>
> Comments:
> The change for the namespace, e.g. "SC_alt_db_navframe::ExpandCollapse"
> has to possibility to see AJAX request as part of a module since "::" is
> used as delimiter for "<module>::<action>". This makes it easier to
> determine the initial module (the origin) of an AJAX request if multiple
> other classes are involved.
> If this namespace scheme is accepted, I'm going to write an add-on for
> the documentation showing developers how to find a good ajaxId.
>
> I'd like to get these modifications into the Core very soon, because the
> changes for IRRE to use the new AJAX interface depend on this patch.
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=7124
>
> Branch: Trunk
>
>
> olly
> -- 

Hi olly,

looks good, +1 by reading. Syntax with :: is a good identifier, setContent 
is a useful addition.

Can you give a short description, what the types jsonhead and jsonbody are 
for?

vg  Steffen 




More information about the TYPO3-team-core mailing list