Headless Drupal - Inline edit : Ví dụ một dạng Angular forms

Headless Drupal - Inline edit : Ví dụ một dạng Angular forms

In our last example we showed how to create node using an angular form served from Drupal itself. This time we are taking one big step further and create the node from a completely decoupled web app.
And if that's not enough for the readers excited by the idea of a decoupled Drupal, we've also added inline editing to the example!

>> Angular forms, một dạng khác của Form API trong Drupal 7

Enjoy the live demo

Headless Drupal - Inline edit : Ví dụ một dạng Angular forms

If you know Form API's pains, you should be excited now

Note that the authentication and access isn't done by cookies, but rather provided by an access token thanks to RESTful token auth module. This means the app maybe served from any domain - making Drupal a truly RESTful server. Also, since Entity validator module is enabled, we get the validation errors for both POST, and PATCH http requests.

I believe the implications of this example are pretty big, when you think about how can the UX be greatly improved, while keeping Drupal as the content repository. Go ahead, jump into the RESTful project and start using it today.

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ả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

 
Cách Installation profiles cho Drupal 7 site

Cách Installation profiles cho Drupal 7 site

Installing one of our new install profiles is as easy as installing Drupal itself. Assuming you have the basic requirements for installing Drupal

Bước 3: Widening Your Net of team Drupal

Bước 3: Widening Your Net of team Drupal

Eric Gaffen, Global Manager, Talent Acquisition at Acquia, is constantly getting requests for new hires from the leadership at Acquia. His previous company grew from 1600 to 3000 in six years, and from that experience, Eric knows larger companies have a very standardized approach to job descriptions which match compensation and evaluation. Things are quite different here. 

Những tips cần thiết đọc đề làm việc với Drupal 8

Những tips cần thiết đọc đề làm việc với Drupal 8

One useful thing during my D8 learning that I came across is that you can find out whether a certain function has 'gone away' or has been replaced by something else in D8.

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

 

Diet con trung