What is the best architecture in a microservices ecosystem for a dynamic page that its data is provided by other services?

How do we achieve loose coupling in the below scenario:

We have a web store which sells finite types of products (e.g. Movie, Music and Book) which we adopted a microservices architecture for it. The web has a different page for each type of products (One for movies, one for musics and one for books). We want to have separate teams which each focuses on one of these products and has all authority on its business concerns. The problem lays in the designing of home page. Our home page is a dynamic page which has different rows that each may contain one of these products. For example in a day we may have a “New Movies” row at top and then a “Most Selling Books” under it and another day first row is about musics and so on. Which service and which team should have control over the home page? Should we have a separate service (and probably a team by Conway’s Law) for it?


internal page eaten by dog

One internal page of my Indian passport containing a schengen Visa stamp ( I completed the travel last year) – got ripped apart completely while I was trying to snatch the passport from my dog’s mouth. The page has come out clean without any damage to any other pages or cover. Do I need to apply for a new passport for further travels? or can I travel with one visa page missing.

Why is Google giving me Page with Redirect error when trying to index the page?

I’m trying to index a landing page through the Google Search Console. The result I get is error Page with redirect: The URL is a redirect, and therefore was not added to the index. The error explanation which Google gives is:

If you link to an old version of a URL that redirects to a new one, Google will still detect that URL and include it in the Coverage Report. Consider updating any link using the old version of the URL so search engines aren’t forced to go through a redirect to discover your content.

I have not created any redirects for the page and when I used redirect-checker.org I got: CONGRATULATION. Everything seems to be fine. There is no old version of the URL.

The page was created with WordPress.

Can you throw any light on this?

Creating a child page with the parent set as the front page results in strange permalink

I’m not sure if this is a bug by the theme author but when I try to create a sub page (child page) with the front page as the parent, the resulting permalink includes the name of the template. This only happens when the parent of the page is set as the front page.

So for example, I have “Work” set as the front page. When I try to create a child page with “Work” as the parent, the permalink turns into this: https://example.com/template-name/pagename

But even when I don’t specify a template, the template name still gets inserted into the permalink.

I would like it if the permalink became this: https://example.com/work/pagename

I tried reaching out to the theme author but he is unresponsive. Any idea what I can do to fix this?

Exposed filters in Block for Page View do not filter results

I have below content types with following related fields setup in a Drupal7 setup.

Activity Fields: Name, Body and Image.

Event Fields:

  • Date
  • Location: Term Reference for Taxonomy Location
  • Activity : Term Reference for Taxonomy Location
  • Organiser: Entity Reference for Organizer node (as 1 event will have only 1 organizer)

Organiser Fields:

  • Location: Term reference for Location taxonomy
  • Activity: Entity Reference for node Activity.

I have setup a Page View named Experience, with Listing of Events on right sidebar and on left sidebar i want to display the Filters.

I have managed to Expose the filter with BEF, however these filters don’t give any result after changing value. Though they are set to Use Ajax.

You can check this at the link: http://dev.adventureex.com/experience

Also other filters like Organiser and Location are autocomplete fields, these fields do not show-up any value on entering text.

Kindly help

UPDATE: Here’s the SQL Query

SELECT node.nid AS nid, node.title AS node_title, node.created AS node_created, 'node' AS field_data_field_event_date_node_entity_type, 'node' AS field_data_field_event_image_node_entity_type, 'node' AS field_data_field_event_location_node_entity_type, 'node' AS field_data_field_event_amount_node_entity_type FROM  {node} node LEFT JOIN {field_data_field_event_club} field_data_field_event_club ON node.nid = field_data_field_event_club.entity_id AND (field_data_field_event_club.entity_type = 'node' AND field_data_field_event_club.deleted = '0') WHERE (( (node.status = '1') AND (node.type IN  ('event')) AND (field_data_field_event_club.field_event_club_target_id IS NOT NULL ) )) ORDER BY node_created DESC LIMIT 12 OFFSET 0 

Grab Node ID from URL of Current Page?

How do I grab the Node ID in the URL of the current page and pass it through a link?

1) The URL on the current page is in the format: website.com/parameter/parameter/parameter and the third parameter is the Node ID. 2) I want to grab that Node ID and put it into a link on that page like Link

The screen capture illustrates this.

enter image description here

screen capture