Feature #17970

Consistent interface for AJAX calls in the TYPO3 Backend

Added by Benjamin Mack over 5 years ago. Updated almost 3 years ago.

Status:Closed Start date:2008-01-07
Priority:Should have Due date:
Assignee:Benjamin Mack % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.2 Complexity:
PHP Version:5.0
Votes: 0

Description

Hey all,

this is 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 an 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 to work with the new interface as a first example.

A small introduction, more detailed information and an example on how to write more AJAX code is also attached.

What is missing:
  • Filetree is still using old code and therefore is not working.
  • Nice error outputting (with a generic notification area in the Backend) is still missing.
    I am waiting for the first feedback until I fix these two things, which should be both trivial.
    (issue imported from #M7096)

20080107_ajax_interface.patch (21.6 kB) Administrator Admin, 2008-01-07 12:11

ajax_manual.txt (6.6 kB) Administrator Admin, 2008-01-07 12:11

20080109_ajax_interface_final.patch (31.7 kB) Administrator Admin, 2008-01-09 15:58

ajax_manual_v2.txt (7.5 kB) Administrator Admin, 2008-01-09 16:07

20080110_ajax_interface_commit.patch (32 kB) Administrator Admin, 2008-01-10 23:00

ajax_manual_v3.txt (7.7 kB) Administrator Admin, 2008-01-10 23:05


Related issues

related to Core - Feature #17979: Implement TYPO3AJAX handler for Inline Relational Record ... Closed 2008-01-11
related to Core - Bug #18006: Page tree is not working in IE6/IE7 Closed 2008-01-16

Also available in: Atom PDF