叶子的家

~●    ~●  ~●          ~●   ~●~●                           ○
    离成功还很远,距离长着叻,Fighting!
posts - 44, comments - 694, trackbacks - 17, articles - 1
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

公告

MonoRail PetShop Source Code Released

Posted on 2006-08-16 21:41 绿叶 阅读(...) 评论(...) 编辑 收藏
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.