Organize with Context, Manage with Features
Context and Features are two of my favorite modules.
Context is really helpful for defining the structure of your site. I’ll show you how to divide your site into sections, assign blocks to those sections, create section based body classes and lots of other cool tricks. I’ll also explain how stacking contexts works with more complex sites.
Features can serve several purposes. I like to use it to export certain objects from the database to a structured array in a file that can then be versioned. This practice greatly simplifies the process of migrating changes from one server to another. next we’ll go over how to take your features to the next level by adding just about anything to the features module file. Lastly, we’ll go over the kit specification, which describes how to avoid conflicts when working with features.
If we have time I’ll talk about how to extend these modules to add support for your own stuff.
- Login to post comments
Comments
Wow! Very interesting. So, if
Wow! Very interesting. So, if I create a feature out of various entities, do I then remove those entities from my site, since they’re now in a module?
Thanks for presenting, Andrew.