Ecshop Source Code Reading

Reading ECSHOP

ECSHOP is a popular Chinese EC Site open sourced software suite.
Read ECShop is very helpful to learn Chinese EC flow.



  • ECShop is a rather simple EC site suite.
  • ECShop template is a modified smarty.
  • Front controller layer is not clearly seperated from model layer, the flow controlled by php page
  • Database layer of ECShop is not clearly seperated from business logic layer
  • Original ECShop source code perhaps build with several functions, so the data access components (db sqls) place all of the functions of the suite.
  • Classes are used combine functions to a bundle.