Majority of our projects are still done in Drupal 7, simply because of stability and the number of available modules. Even though everyone in Drupal community is talking only about Drupal 8, it will definitely need even more time to catch up.
Meanwhile, it's finally time for me to seriously start picking up Drupal 8. This will be the fourth time: I started working with D5, shortly after moved to D6 and finally D7, with which I spent the most time. So far, the biggest change was D6 -> D7, but that is still nowhere near the number of changes D8 brings.
During this learning process, I'll post here segments of what I find important for D8 development.
As I post more articles, this page will be updated with links and some comments.
Here's the initial structure of future articles:
- Basic and most used modules.
- Custom installation profile.
- Initial config: disable caching, error reporting and trusted hosts.
- Empty boilerplate for a custom module.
- Restarting the development on a website.
- Custom module development:
- Custom module structure and boilerplate.
- Custom pages.
- Theming and templating.
- Custom blocks.
- Cron integration.
- Custom hooks.
- Custom forms.
- Administration forms.
- Adding custom tables.
- Update hooks.
- Batch processes.
- Send email.
- Overtaking page from another module.
- Integration with other modules:
- Custom theme development:
- Theme settings.
- Responsive design.
- Integration with contrib modules.
- Site building practices.
- Useful snippets:
- Querying the database.
- Fetching custom settings.
- Theming elements.
- Providing variables to templates.
- Overriding themed elements.
Here's the Git repository where I will place all modules.