# Backend¶

The folder EXT:my_extension/Configuration/Backend/ may contain configuration that is important within the TYPO3 Backend.

All files in this directory are automatically included during the TYPO3 bootstrap.

## AjaxRoutes.php¶

Complete path: EXT:my_extension/Configuration/Backend/AjaxRoutes.php

In this file routes for AJAX requests that should be used in the backend can be defined.

EXT:my_extension/Configuration/Backend/BackendAjaxRoutes.php
<?php
return [
'example_dosomething' => [
'path' => '/example/do-something',
'target' => \Vendor\MyExtension\Controller\ExampleController::class . '::doSomethingAction',
],
];


## Routes.php¶

Complete path: EXT:my_extension/Configuration/Backend/Routes.php

This file maps from paths used in the backend to the controller that should be used.

Most backend routes defined in the TYPO3 core can be found in the following file, which you can use as example:

typo3/sysext/backend/Configuration/Backend/Routes.php