dowload the source code here:
http://shop.comicn.cn/MRPetShop_SourceCode_16082006.rar
the demo website:
http://shop.comicn.cn/
i didn't do any changes on the database structure and the face of every page, just try to simulate the same functions as MS PetShop3 using monorail framework. However, there are some functions i didn't code including the WebService and Search.
there are some problems I found during the refashionment:
1. I failed to configure the ActiveRecode for 2 database. Originally there are 2 databases of MS PetShop3 in the purpose of demo distrubuted feature. Eventually, i put the 2 dbs together.
2. It's the usage of Components. Suppose to use a componet view more than twice in a page, the elements of the compoent render thwice or more with the same ID. so how to distinguish them?
3. i forgot something due to long time not touch it, anyway, Monorail is a very good framework i wanna lastly say.
if something, tell me here. thanks.