I am developing Symfony-Doctrine based application. I used Concrete Table Inheritance strategy.But now I faced with some problems. I have following tables:
Product : has some properites
Computer : Extends product.
Notebook : extends Computer.
Ipad : extends Computer.
....an so on.. many tables with different categories.I have following questions.Can anyone help or give a source please?
In my main page I have search box which does search according to product name. For which table I have to write search query?
Second question. Again in my main page I have viewed some products from different table.Then user clicks one of these product. How I will decide which table ID its?