~/talk

JavaScript in Custom Backend Controls and TypeScript Compiling

TalkinGermanat TYPO3camp RheinRuhr 2019 · 2019-11-01..11-03· [typescript]
links:none on file
slides:none on file

A TYPO3 extension implements a backend image-map form control that loads its JavaScript only when the form element appears by using TYPO3 resources/public/javascript path mapping and AMD module names like Typo3/CMS/imagenmap/element.js with require(...). The build pipeline uses gulp and TypeScript (tsc 5) with an AMD-target tsconfig to compile per-file TypeScript projects into single output files. The approach reduces frontend payload, provides stronger typing to avoid monkey-patching, and yields a usable editor image-map control.

AI-written summary · about

  1. 0:00JavaScript in TYPO3
  2. 3:06Custom form controls
  3. 10:32Backend module loading
  4. 13:45TypeScript compiling
  5. 26:20Gulp build config
  6. 36:54Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.