Blog Posts

The Old and New Field API in Drupal 8 (DrupalCon Portland Session Notes)

Session Link

New Field Types

  • More power for site builders out of the box. Moved contrib fields into core.
  • EntityReference in core!
  • Date and Time fields (Date repeat still in contrib)
  • Link
  • Email/Phone

CMI

  • No more field_config or field_config_instance tables
  • Field and instance definitions in YAML files
  • Deployment between environments is much easier (No Features module)
  • New rule for Drupal 8: "Don't have core" is now "Don't hack your active config"
  • field_create_field(), etc functions are gone.
  • Create fields with entity_create(). Field configs are entities.

The Old and New Field API in Drupal 8 (DrupalCon Portland Session Notes)

Session Link

New Field Types

  • More power for site builders out of the box. Moved contrib fields into core.
  • EntityReference in core!
  • Date and Time fields (Date repeat still in contrib)
  • Link
  • Email/Phone

CMI

  • No more field_config or field_config_instance tables
  • Field and instance definitions in YAML files
  • Deployment between environments is much easier (No Features module)
  • New rule for Drupal 8: "Don't have core" is now "Don't hack your active config"
  • field_create_field(), etc functions are gone.
  • Create fields with entity_create(). Field configs are entities.

Using Backbone.js with Drupal 7 and 8 (DrupalCon Session Notes)

Session Link

What's new in JS?

  • HTML5: LocalStorage, pushState
  • JS templating engines: Mustache.js, Twig.js
  • Representative State Transfer (REST)

In Drupal core now, with AHAH, FormAPI, etc. you write AJAX callback code in PHP.

Backbone.js

URL: http://backbonejs.org/
Based on Underscore

Features:

  • Minimalistic
  • Modular
  • Perfect OOP design
  • Lots of exentions: over 100

Using Backbone.js with Drupal 7 and 8 (DrupalCon Session Notes)

Session Link

What's new in JS?

  • HTML5: LocalStorage, pushState
  • JS templating engines: Mustache.js, Twig.js
  • Representative State Transfer (REST)

In Drupal core now, with AHAH, FormAPI, etc. you write AJAX callback code in PHP.

Backbone.js

URL: http://backbonejs.org/
Based on Underscore

Features:

  • Minimalistic
  • Modular
  • Perfect OOP design
  • Lots of exentions: over 100

Pages

Subscribe to Blog Posts