This is a spin-off of https://github.com/backdrop-ops/backdropcms.org/issues/46 specifically for proposing a new project type for Backdrop: recipes.
With Backdrop supporting modules for functionality, themes for styling, layouts for, well, layout and install profiles for the initial configuration and setup of a site, I see the addition of a 'recipe' as combining all these separate things into a bundled package of sorts.
Use cases include: - Making it possible to port certain (cough, WordPress) themes to Backdrop - ones that include styling, a custom layout, and features like sliders, etc. (e.g. a theme, a layout and one or more modules). - Providing a full demo site to go along with a tutorial (users install the recipe and get all the modules, content types, themes, etc. setup automatically). - Setting up a new site with things installed and configured the way you (as a developer) normally like them (e.g. simplifying the initial setup of multiple, similar sites).
The reason I like the term 'recipe' (which @klonos originally suggested in the issue linked above) is that 'package' (my original suggestion) implies something that you open to find other things inside, whereas 'recipe' is a bunch of ingredients which, when combined, create something new. I think recipes could be as simple as a single info file, such as:
name = My demo
description = Sets up a Backdrop site for demoing.
backdrop = 1.x # Not sure if this line is necessary...
type = recipe
modules[] = devel
modules[] = webform
modules[] = flexible_layout
themes[] = summer_fun
layouts[] = flexible_template
profiles[] = demo_profile
Or maybe even a JSON file and use it in config somehow... Either way, a simple text file should suffice. And as per info files you should be able to optionally specify versions too.
So modules provide the features/functionality, themes the styling, layouts the layout and profiles the setup (install modules, set theme as default, add blocks to a layout, add custom content types, etc.). Of course all of these would be optional (you could have a recipe of just modules, or a theme and matching layout, etc.).
Wiki Page Summary Related META Issue: https://github.com/backdrop/backdrop-issues/issues/5240
Recent comments
Oof. Just hit this part of my converstion to Backdrop. I'm surprised that there's no smooth path for this since, I thought, Media module was pretty commonly used in D7. Nothing from me,...
Upgrade from Drupal 7 with Media CKEditor
Thanks for the response and probably good info for someone, but you're correct that it's not really what I was looking for. I need to be able to run code and that code determines which...
How to programmatically change layout?
I ran into this problem again, now I understand, I can simply edit View and changing the filter option „Remember the Last Selection“. Unlike Drupal, Backdrop use Views for the Content page, I...
Incorrect filter behavior on the /admin/content page