[TYPO3-core] RFC: Bug #7096: Consistent interface for AJAX calls in the TYPO3 Backend

Steffen Kamper steffen at sk-typo3.de
Tue Jan 8 17:04:51 CET 2008


Hi,

"Benjamin Mack" <mack at xnos.org> schrieb im Newsbeitrag 
news:mailman.2148.1199707496.5304.typo3-team-core at lists.netfielders.de...
> Hey all,
>
> this is a SVN patch request.
>
> Type: feature
>
> Branches: trunk only
>
> BT Reference: http://bugs.typo3.org/view.php?id=7096
>
> Problem:
> Whenever people wanted to have AJAX in the Backend, they had to reinvent
> the wheel (with an ajax=1 param or something like that). This is very
> problematic once we have more and more parts in the Backend that are
> AJAXified.
>
> Solution:
> A new interface as a first step into consistency for AJAX calls in the
> TYPO3 Backend. It consists of two parts. The server-side component
> (typo3/ajax.php with a TYPO3AJAX instance from
> typo3/classes/class.typo3ajax.php) and a client-side part, connected to
> the AJAX objects of the prototype framework that is extended by generic
> responders (typo3/js/common.js) to handle errors. I also rewrote the
> pagetree AJAX part to work with the new interface as a first example.
>
> Notes:
> There is a documentation part that I wrote, we can create a new document
> for this or add it to TYPO3 Core APIs, after we shaped it right :)
>
> Yes, it's not perfect yet, that's why I need some feedback, then I will
> fix the missing parts:
> * Filetree is still using old code and therefore is not working properly
> right now, will be fixed for final commit.
> * Nice error outputting (with a generic notification area in the
> Backend) is still missing, but the alert() output is IMHO working for now.
>
>
> -- 
> greetings,
> benni.
> -SDG-
>
> www.xnos.de // www.xnos.org
>
I studied it and have to say: well done!

I really like a common interface for that, so it will be easy to provide new 
ajax-functionality to the BE (in a common and more easy to understand way)
many thanks also for the documentation. i pasted it in my private Wiki and 
it's a good step-by-step-tutorial how to use.

So from me it's a +1 (sure, pagetree has to be finished) - i will try to use 
that in the next days.

vg  Steffen




More information about the TYPO3-team-core mailing list