Drupal and structured content

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

Drupal is already well prepared for structured content.

All of the principles that are being used when reviewing code that is being proposed for Drupal core inclusion, are a superset of the principles applied to structured content. Drupal demands full separation of concerns at every level. Everything must be overridable/alterable. Separation of concerns for CSS files, to ensure clean overriding of styling without having to duplicate all CSS. Content may never contain CSS nor depend on CSS. And so on.

Five features in particular stand out with regards to structured content and content reuse:

  1. Structured content: Field API.
    It allows content to be modeled as granularly as desired.
  2. Clean content: Filter system.
    Ensures fancy mark-up is only added on output, and the stored content is as clean as possible. e.g. the fancy typographic features in this very piece of text is automatically added by Typogrify.
  3. Different presentations of the same content: view modes.
    A view mode defines the order of the fields and the field formatter & label of each field.
  4. Internal reuse of content (within the website): Views module.
    To create lists, grids, tables, galleries etc. of content, while showing related content. A listing can be configured to use a specific view mode.
  5. External reuse of content (outside the website): REST module.
    To provide JSON, XML, HAL, JSON-LD, YourCustomMarkupLanguage output.

Comments

macnpcsoftware's picture

Hi everyone I am a new bee to Drupal 8. I have created some basic page contents and would like to display in block region but after created a custom view block and place it in the block region and the content of the block doesn't show. Any suggestions or advise appreciated. I am totally lost.