Headless Websites: Những vấn đề lớn là gì?

Headless Websites: Những vấn đề lớn là gì?

Headless website architecture is gaining traction and popularity. Nearly every developer I’ve spoken to in the past six months is excited about the potential, and with good reason — the headless model allows breakthrough user-experiences and innovation.

>> Headless Websites: Ý kiến và bổ sung nội dung cho Headless Drupal

This is the first in a series of posts devoted to this important emerging topic.

Introducing The Headless Website

Headless Websites: Những vấn đề lớn là gì?

There’s nothing supernatural or haunted about the idea of a headless website, so no need to worry about adding “Demon Hunting for Dummies” to your list of books to purchase.

The notion of a “headless” website refers to a situation where:

  1. There is a traditional database-driven CMS which editors use to maintain the content for the site, usually via the same old admin interface as always.

  2. The content for the site is accessible via a web-service API, usually in a RESTful manner and in a mashup-friendly format such as JSON.

  3. The end-user experience is delivered by a Javascript application rendering the output of this API into HTML, frequently making use of a modern application framework like Backbone, Ember, Angular, or Knockout.

In practice, this adds an additional layer of abstraction between your end user and your website, extending an existing trend. The rise of CMSs introduced a separation of content and display on the back-end starting over 10 years ago; the headless web continues this development:

The headless model is already being used today by developers in both Drupal and WordPress, and future releases will deepen support. WordPress 4.0, currently in beta, has a JSON REST API built-into its core, as does Drupal 8.0, currently in alpha. Expect to see further developments to drive headless architecture.

Why Does It Matter?

By shifting responsibility for the user experience completely into the browser, the headless model provides a number of benefits:

  • Set front-end developers free from the conventions and structures of the back-end. Headless development not only eliminates “div-itis”, it gives front-end specialists full control over the user experience using their native tools.

  • Speed up the site by shifting display logic to the client-side and streamlining the back-end. An application focused on delivering content can be much more responsive than one assembles completely formatted responses based on complex rules.

  • Build true interactive experiences for users by using your website to power fully functional in-browser applications. The back-end becomes the system of record and “state machine”, but back-and-forth interaction happens real-time in the browser.

To sum up, headless website development has the potential to unleash the creative power of front-end developers to deliver faster, more responsive, and richer user experiences. You can see why everyone is so excited.

In upcoming posts we’ll dig into specific use-cases and techniques for building headless websites, as well as the known risks and downsides.

Bạn thấy bài viết này như thế nào?: 
Average: 2 (5 votes)
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Seo top

Bảng giá SEO top 1 - 3 Google

Dịch vụ quang bá (SEO) website của chúng tôi bao gồm các bước sau:

Showing a Twitter Feed in a Drupal Block

Hiển thị Twitter Feed với một Drupal Block

In this tutorial we'll show you how to place a Twitter feed inside a block. You can then display that Twitter feed anywhere around your theme. There are many different Twitter options out there but most have a couple of limitations:

Hướng dẫn cho bạn Migration Drupal 6 thành Drupal 8

Hướng dẫn cho bạn Migration Drupal 6 thành Drupal 8

Have you ever tried to make major changes to a Drupal site using update.php and a few update_N hooks

Công ty diệt chuột T&C

 

Diet con trung