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

 
Samsung tung ra phiên bản Galaxy S III dành riêng cho Olympic

Samsung tung ra phiên bản Galaxy S III dành riêng cho Olympic

Có vẻ như để chào đón thế vận hội đang diễn ra tại London nước Anh, Samsung đã tung ra phiên bản smartphone mang đầy màu sắc và hơi thở của Olympic.

Tự động cho user vô danh checkout trong Drupal Commerce

Tự động cho user vô danh checkout trong Drupal Commerce

Here's a quick howto on how to log in a new user right after the point of purchase in the case of an anonymous checkout in Drupal Commerce

Social Network, Social Media giúp doanh nghiệp vượt qua đối thủ

Social Network, Social Media giúp doanh nghiệp vượt qua đối thủ

Mạng xã hội sẽ có thể giúp doanh nghiệp của bạn kinh doanh hiệu quả trên Internet và vượt qua những đối thủ cạnh tranh...

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

 

Diet con trung