I am working on webshop which has a number of categories and each
product can be shown in different categories.
The great thing about MVC and konstrukt is that a controller can be
implemented as a subcontroller to many controllers. E.g.:
This is great as it is possible very easy to create links back to the
category by just adding url('../'). Also it is easy to create good
bread crump tails.
But this does not fit to REST principles which says that every
resource should have only one unique URI. And also it does not fit to
the principles of SEO as it is not good to have duplicate content (it
would be possible to solve this by adding meta-tag to tell search
engines one unique uri to the content).
Now my customer has asked me to add a "Previous" and "Next" button
when showing a product, so that it is easy to browse through the
products in a category. This would also be very easy if with the /shop/
category/balls/yellow-football way to do it, as I would be able to
find the previous and next product by simply fetching them from the
product list, which could be obtained by $this->context->getProducts()
Does anyone have any suggestions on how to solve this problem?
You received this message because you are subscribed to the Google Groups "Konstrukt" group.
To post to this group, send email to kons...@googlegroups.com
To unsubscribe from this group, send email to konstrukt+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/konstrukt?hl=en