As drupal_goto is deprecated in drupal 8, we can still achieve this.
Pre condition: you already have all these setup locally or some where in your server to run these. or you can see some example to setup composer, jenkins on your server. https://modess.io/jenkins-php/
Drupal 8 Deployment can be setup by using following setup:
Drupalcamp Ruhr was one of the nicer camp I have ever enjoyed.
A lot of nice people with much of courage to share ideas and discussion. I really like it.
Another nice thing I have notices was, Camps in Germany are usually more German talks, but this was first camp where everyone was willing to talk/present share ideas discussion in English. I does not mean only English should be there but atleast I saw some respect of the audience.
And than last but not the least my talk about decoupled Drupal and presentation
Technology and nature can travell togather?
Last week I got a chance to visit Germany's north area near Hamburg: Schwerin for drupalcamp Schwerin.
Schwerin Haus am See
Trivianight was the best drupal social event I have ever visited.
That was amazing night with amazing people and QA sessions.
It was amazing drupalcon in Vienna, have alot of informative sessions and stories.
I love it.
Alot to learn and share ideas and get ideas from drupalers.
Here is also how many people participated:
After upgrading Checkout system from simple php application to drupal 8, we had our product informations into another drupal 7 based system.
This toolbox system in drupal 7 offer marketing Landing pages by content editors. Setting their headers, footers and product combinations as it was magazine site.
After Product selection we have to post this product information to drupal 8 checkout system, so on form_submit we redirect to a gateway php which translate everything into an searlized object encode and post to drupal 8 checkout system.
There are many solutions now to build Minimum viable product using Drupal 8, using rest api, Json
Drupal 8 actually provides a lot of capabilities for decouple frontend using headless Drupal.
But what was with Drupal 7? not straight forward solution with Drupal 7.
With Drupal 7, using paragraph and field collection Content modeled as Entities.
With custom Drupal modules and entities to generate Json for each Entity and moving these files to frontend.
For decoupled Drupal Frontend, it is really a challage to Schedule your content by Scheduler Module cron. But Rules module makes it event easier and gives alot of possibilties to schedule your content even decouple drupal frontend.
Create Rule Action with hook_rules_action_info and do whatever in callback, for me I created json files for my decoupled frontend source.
Use this action to be triggered in Drupal Rule module when content is published or unpublished by scheduler cron... thats it :)
Copyright © 2020. All rights reserved.