SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Headless Drupal

6 years 1 week ago #116556 by Juc2
Headless Drupal was created by Juc2
HI all,

I get that "headless Drupal" means using Drupal for the "back end" but not the "front end" but what exactly do these terms mean / include?

My Drupal sites generally use the Omega 4 theme and Panels - I think a headless Drupal site means no theme so does that also mean no Panels?

Thanks...

Please Log in to join the conversation.

6 years 1 week ago #116558 by steve
Replied by steve on topic Headless Drupal
Hi Juc2

Yes, no Omega, no Panels. Drupal is simply used as a data store. It has no control over the layout at all.

www.ostraining.com/blog/drupal/what-is-headless-drupal/

Please Log in to join the conversation.

6 years 1 week ago #116608 by Juc2
Replied by Juc2 on topic Headless Drupal
@ Steve ok but can you please explain the terms "front end" and "back end"?

Thanks...

Please Log in to join the conversation.

6 years 1 week ago #116616 by Valentin
Replied by Valentin on topic Headless Drupal
Hi Juc2,

The frontend is the public content, what your users see while they navigate your site.
The backend is the admin area, where you have the control of the information displayed in the frontend. Only specific users have access to it.

Hopes this helps

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

6 years 1 week ago #116630 by steve
Replied by steve on topic Headless Drupal
Hi Juc2

In short, Headless Drupal means that Drupal is only use for the back-end, for data storage.

Please Log in to join the conversation.

6 years 1 week ago #116633 by Juc2
Replied by Juc2 on topic Headless Drupal

steve wrote: Hi Juc2

In short, Headless Drupal means that Drupal is only use for the back-end, for data storage.


@ Steve ok but I am still unclear about the terms "front end" and "back end" - with Valentin's definition above...

Valentin wrote: Hi Juc2,

The frontend is the public content, what your users see while they navigate your site.
The backend is the admin area, where you have the control of the information displayed in the frontend. Only specific users have access to it.


...Panels is part of the admin area and so would be part of the back end.

Please Log in to join the conversation.

6 years 1 week ago #116634 by steve
Replied by steve on topic Headless Drupal
Ah, I see the confusion.

No, Panels is really a layout and presentation tool. The whole focus of Panels is on how a site appears. So, it counts as the front-end.

Headless Drupal means that Drupal is only used for data storage.

Please Log in to join the conversation.

6 years 1 week ago #116637 by Juc2
Replied by Juc2 on topic Headless Drupal

steve wrote: Ah, I see the confusion.

No, Panels is really a layout and presentation tool. The whole focus of Panels is on how a site appears. So, it counts as the front-end.

OK but leaving aside headless Drupal for now, can you give a definition for "front end" and "back end"?

Thanks...

Please Log in to join the conversation.

6 years 1 week ago #116643 by Nick
Replied by Nick on topic Headless Drupal
Hi Juc2,

Great questions!

The front-end is anything that regular users see on your site. For example, someone that goes to www.yourwebsite.com will see your front-end. They initially won't be logged in and they'll only see publicly available content.

Once they create a regular account, they'll still see the front-end when logged in, but it will be slightly different for them (for example, they might have a profile, a list of recently ordered items, messages, ect).

That's all the front-end.

The back-end is whatever controls the front-end. It's the control center that determines whatever appears in the front-end. That's its main purpose.

In a regular Drupal 7 site, when you're logged in as an admin, you see the backend. The admin menu/toolbar appears at the top giving you control over your front-end.

Let's use Panels as an example. When you're logged in as an admin and you go to Structure -> Panels, that's the backend of Panels.

When you create a new panel page, the end result is a modification of the front-end. Behind the scenes, Panel's code modifies the HTML output for the front-end.

So in the backend, if you modified your homepage using Panels, the front-end user would see the end result (i.e. a new layout for the home page).

Without the backend of Panels, the front-end homepage would still be the same as usual. So the back-end controls the front-end.

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

6 years 1 week ago #116807 by Juc2
Replied by Juc2 on topic Headless Drupal
@ Nick,

I wonder if there are different contexts and so different meanings for front end vs back end. I think your explanation agrees with Valentin above = #116616

Nick wrote:
Without the backend of Panels, the front-end homepage would still be the same as usual. So the back-end controls the front-end...


So in this sense the backend is the admin / content control panel area of a site and panels is part of the backend.

But steve writes above:

steve wrote:
Panels is really a layout and presentation tool...So, it counts as the front-end...


...and in the Headless Drupal question - a headless Drupal site has no front end and Panels is part of the front end so a headless Drupal site has no Panels.

So i think in the Nick / Valentin definition Panels is part of the back end but in the steve / headless Drupal definition, Panels is part of the front end.

Thanks...

Please Log in to join the conversation.

6 years 1 week ago #116815 by steve
Replied by steve on topic Headless Drupal
Yes, this part is tricky. Panels can be both part of the back-end and the front-end, depending on how your definition works.

I know that some developers using "Headless Drupal" do use Panels, but others ignore it entirely. That is a grey area.

Please Log in to join the conversation.

6 years 6 days ago #116869 by Juc2
Replied by Juc2 on topic Headless Drupal
@ steve

ok thanks. Can I suggest that a headless Drupal site in action would be a good subject for a video tutorial some time. No hurry and maybe after Drupal 8 if that makes it easier.

Thanks...

Please Log in to join the conversation.

6 years 6 days ago #116874 by steve
Replied by steve on topic Headless Drupal
Yes, it will be much easier with Drupal 8. Compare these two tutorials:

D7: www.ostraining.com/blog/drupal/services/
D8: www.ostraining.com/blog/drupal/d8-rest-api/

Please Log in to join the conversation.

5 years 11 months ago - 5 years 11 months ago #117673 by Juc2
Replied by Juc2 on topic Headless Drupal
I like Panels etc so I doubt I will be going down the headless route but this looks more interesting buytaert.net/the-future-of-decoupled-drupal "Progressive decoupling is the future"

Please Log in to join the conversation.

5 years 11 months ago #117677 by Nick
Replied by Nick on topic Headless Drupal
Hi Juc2,

Yes, there's a lot of innovation and experimenting going on to bring life to those concepts. It's going to be interesting to see how it all unfolds :)

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!