![]() ![]() This would mean if we would use the default endpoints, we would be needing multiple requests for a single push. The content that needed to get pushed was relating to a lot of other content (multiple sorts of entities) that were also required in the push. Drupal 8 has by default REST endpoints available for each type of entity that could be used to sync data. A good example of why this architecture was the way to go was the performance. Of course, we have looked into different architecture approaches, but the conclusion was clear, a custom client and API would give us the most flexibility and efficiency in the content push mechanism. The way to go is APIĪ big part of this functionality was working on the custom client and REST API, which represented the content push mechanism. ![]() The internet is the owner of its content, this way of thinking was also translated in the architecture, by a one-way automated push mechanism that leverages CRUD functions (create, read, update and delete). The intranet wanted to have the ability to selectively synchronize content from the internet website, which then could be used inside the intranet. Due to its security reasons, the internet and intranet were split up in two server environments but were sharing the same codebase to be able to reuse functionality but most importantly to share content between the sites. A successful case with Drupal 8įor a client, the Youwe Drupal team worked to replace their old internet and intranet website with Drupal 8. Drupal 8 now can be utilized as a REST API, this can be its single responsibility, but it can also offer Drupal platforms (with a Drupal frontend) the possibility to expose their data by REST API. API-first is all about making a central web service available that offers exchangeable data by a network to websites, mobile applications, wearables, etc. ![]() It is a set of clearly defined methods of communication between various software components (e.g.: Twitter has an API that makes it possible to post your tweets and present them on your website). API stands for Applications Programming Interface. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |