Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295636

Re-evaluate use of Backbone.js in core

$
0
0

Problem/Motivation

Backbone JS is used in core by

  • contextual links
  • ckeditor toolbar configuration
  • tour
  • toolbar
  • quickedit

However Backbone has only had two releases since 2016, and none since Feb 2019. In addition we're using it in a fashion that is tightly bound to jQuery.

If we're aiming to move away from jQuery by Drupal 10 - should we be evaluating whether Backbone is the right solution for complex core Javascript.

Developers with knowledge of Backbone are few and far between and interest in it is very low

Proposed resolution

  • Decide if we still want to use Backbone for our complex Javascript in Drupal 10.
  • If we do decide to then:
    • Chose an alternative or migrate to something more Vanilla.
    • Port existing code uses in core
    • Deprecate the core library
  • If we decide to stay put, nothing to do.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 295636


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>