Why do we need to generate code in Drupal 8 ?

eme

Letting scripts generate standard code for us (developpers) is not new in Web Development. Symfony does it for a long time with the Console Component, and Drupal community is currently working on it with the Console project.

Even in Drupal 7, modules like features, code generator, schema and others are doing just that as well, saving us hours of work.

A new project has been launched at the beginning of the year with Generator UI. Its objective is to generate clean code by just filling easy forms inside Drupal.

The objective is to develop faster by generating standard code (.info.yml file, blocks, forms, etc.) and leverage the ability of Drupal for nice and efficient ajaxified UI for everybody.

This session is from beginner to advanced developers, even with little knowledge in Drupal 8 development, as Generator UI is intended not only to help advanced coder to save precious time, but also, with the "help mode", demonstrate and help newer developers to understand how Drupal 8 works inside !

Link to the module on Drupal.org : https://www.drupal.org/project/generator_ui
Note that the module is under heavy development !

Session Track

Coding and Development

Experience Level

Beginner

Drupal Version