Feature #84928

Introduce JavaScript templating engine

Added by Oliver Hader 7 months ago. Updated 7 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2018-05-04
Due date:
% Done:

0%

PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:

Description

Most client side processing in TYPO3 use jQuery to build new DOM elements dynamically. While this is fine for tiny adjustments it becomes pretty difficult for applications that required much more templating and logic such as conditional rendering or iterations.

In order to improve transparency of templating and easy the possibility to adjust that behavior on the client side a new JavaScript templating engine shall be introduced. Handlebars.js provides a slim and extensible API to just provide template rendering.

Rich application frameworks (e.g. Angular, Vue, Polymer, React, ...) would simply be too much for the first step, besides that it would raise requirements on the build chain and lower the possibility of extensibility through extensions at the same time. For the future it could be considered to introduce a lightweight data-binding framework as well - e.g. Rivet.js or similar solutions.

History

#1 Updated by Gerrit Code Review 7 months ago

  • Status changed from New to Under Review

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56857

#2 Updated by Gerrit Code Review 7 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56857

#3 Updated by Gerrit Code Review 7 months ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56857

Also available in: Atom PDF