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

 
Giới thiệu RESTful Web Services trong Drupal 8

Giới thiệu RESTful Web Services trong Drupal 8

REST is one of the most popular ways of making Web Services work. There are other formats such as SOAP or XML-RPC, but we are only going to focus on REST because it is the Drupal standard. REST utilizes HTTP methods, such as GET, POST, and DELETE.

 Instant Demo - Phần mềm ghi lại màn hình

Instant Demo - Phần mềm ghi lại màn hình

Chắc hẳn đã hơn một lần bạn gặp khó khăn khi trợ giúp khác hàng sử  dụng các chương trình phần mềm. Phải Print screen từng bản giao diện một, và viết từng comment một và trong trường hợp phần mềm quá lớn với nhiều tình huống sử dụng. Bạn sẽ mệt mỏi và tốn nhiều thời gian hơn.

Cách vào Facebook, Facebook, Facebook Messenger, Facebook Timeline, Profile Facebook

Facebook đã “bốc hơi” mất 20 tỉ USD

Cổ phiếu Facebook đã giảm giá tới 18% khiến giá trị thị trường của mạng xã hội lớn nhất thế giới tiếp tục “bốc hơi” gần 20 tỉ USD.

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

 

Diet con trung