Skip to main content

xtext

Generating Drupal content types, part 2

Yesterday I wrote about my first draft version of a PHP code generator for custom Drupal content types written with Xtext and Xpand. Today I added some more features to the generator.

Generating Drupal content types with Xtext and Xpand

I have implemented a domain specific language (DSL) for defining custom content types for the Drupal content management system using the Xtext framework. The PHP-code required by Drupal for the new defined content types is generated (using Xpand).

Syndicate content