I have been programming with PRADO for about two years already and decided to migrate to YII. My question regards the use of themes in YII.
When using prado I used to have all my images and css classes in the themes folder and my HTML forms and "views" under protected. Whenever I needed to change my html structure or my forms I just had to change the desired file and the theme will always mount itself on top of it…but in YII I see that I also have to place my views files into the themes folder as well.
Why do I have to duplicate my view files in the theme folder? doesnt it means that I have to modify all these files in the case i wish to make any changes to my html structure? what if i have 200 themes? does it means that I have modify 200 html structures as well?
Maybe i am missunderstanding the themes engine of YII but, is there is way that my themes folder could read all the views from a common location?
I think that sentence of yours is they key for this issue…then if i dont user a view folder within themes, my views will always be takken from protected…
I am sure there is a reason for "duplicating" the views within themes but, comming from a PRADO backgound, it is easier for me to simplify things at this point