Artikel zu "Drupal"

Alle Tags anzeigen

02.11.2009

Generating Drupal content types with Xtext and Xpand, part 1

Teaser-Bild fuer den Artikel Generating Drupal content types with Xtext and Xpand, part 1

Recently I've implemented a module for the Drupal CMS that contributes some custom content types for Drupal. While this is a pretty straightforwad task, a lot of (technical) PHP-code is required. For example you have to write code for the database schema, for accessing the database, for the editor form etc. After implementing the first custom type I didn't want to do it again manually and tried to implement a domain specific language (DSL) that allows me to describe my content types in a more compact way, leaving out the code generation to a generator.

Mehr...