Posted by -enzo- on January 7, 2015 at 10:09pm
I want to share with you the project Yeoman Generator for Marionette and Drupal
Marionette Drupal is an opinionated yeoman generator for a Drupal7/8 backend with RESTful, using Backbone MarionetteJS, and Jasmine Behavior-Driven Test.
Current version: 0.1.7 and is in continue development.
This generator enable you to create a Front End application with following features
- HTML5 Boilerplate
- jQuery
- Backbone.js
- Backbone.Drupal
- Backform
- Marionette.js
- Underscore.js
- Twig.js
- RequireJS
- Bootstrap
- Jasmine - Behavior-Driven Unit Test
Scaffold Commands
- Model: Generate a Backbone model, custom endpoint optional
- Collection: Generate a Backbone Collection with custom Endpoint
- Template: Generate a template view for a Model or Collection
- View: Generate a MarionetteJS ItemView
- Form: Generate a form based in Drupal Content Type (Drupal 8 Only) (Submit pending)
- Action: Generate a Route and Controller to render a View related with a model, collection or form
- Region: Generate a new region to render views or forms inside.
- Settings: Command to enable overwrite application main settings