You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a big fan of the Orchard Core project, have followed multiple projects/examples/tutorials and have been formulating an approach of utilizing it for a customize product with some custom modules that would be able to serve up custom pages based upon a product database of my own design. I'd like to write a router/interceptor of requests that would utilize a product cache to determine content to display/module to utilize, but I'm not quite sure what the best approach to this would be, with the Core underpinning.
The thought would be to accept the request, find a matching product, category or other associated module, then route the data to the appropriate module for processing/usage. I'm not sure if I should go as deep as utilizing the GetRouteData on the HubRoute class, or where would be the most appropriate place to insert such an implementation.
Any thoughts on the best place to handle this, in order to determine module selection/association based upon passed in route data? Any examples of similar implementations that have a similar mindset/approach? The goal is to deliver more dynamic content with route data in mind, backed by cached db info for product/category/other model display that would likely be updated by a backend job or service.
Thank you for your time, thoughts and suggestions!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I'm a big fan of the Orchard Core project, have followed multiple projects/examples/tutorials and have been formulating an approach of utilizing it for a customize product with some custom modules that would be able to serve up custom pages based upon a product database of my own design. I'd like to write a router/interceptor of requests that would utilize a product cache to determine content to display/module to utilize, but I'm not quite sure what the best approach to this would be, with the Core underpinning.
The thought would be to accept the request, find a matching product, category or other associated module, then route the data to the appropriate module for processing/usage. I'm not sure if I should go as deep as utilizing the GetRouteData on the HubRoute class, or where would be the most appropriate place to insert such an implementation.
Any thoughts on the best place to handle this, in order to determine module selection/association based upon passed in route data? Any examples of similar implementations that have a similar mindset/approach? The goal is to deliver more dynamic content with route data in mind, backed by cached db info for product/category/other model display that would likely be updated by a backend job or service.
Thank you for your time, thoughts and suggestions!
Beta Was this translation helpful? Give feedback.
All reactions