Always want to do e-commerce software, but really do not want to learn PHP, so around the two open source e-commerce system. One is produced by the Chinese, and one is said to have been written by the Russians (I don't know right). At present, two open source software are learning to understand, the following blog post may be related to these two systems, I hope to compare learning, can learn from each other and complement.
Brnshop:http://www.cnblogs.com/wheretime/p/3793979.html (Introductory article: Brnshop Open source Online mall first: architecture design)
nopcommerce:http://www.cnblogs.com/babietongtianta/p/4659381.html (Nopcommerce Source code architecture detailed--initial knowledge of high-performance open-source mall system CMS)
By reading the source code and learning the above two articles, we have found a few similarities and differences in comparison.
(i) the same point:
A. Two sets of source code structure is very close to the division, there are library Presentation Plugins, the library also has core Data Service. Are the two consulted, or who will learn?
B. The presentation layer follows a typical MVC structure, and each plugin is a small MVC structure
C. Architecture for extensibility is also more reasonable design
(b) different points:
A.brnshop Code Structure Division also has a policy classification, is the implementation of the specific interface, it carried it out alone.
B.nopcommerce foreigners pay more attention to unit testing, also attached to the tests unit test supporting projects, a complex e-commerce website, often change, traverse testing seems to be an important means to ensure quality, but domestic do projects generally feel that also write test cases and unit testing waste time.
C.nopcommerce database access is EF, which is a hurdle for small partners who are not accustomed to EF. I have used ef some, feeling still not very good, may be habit and level of reason. Brnshop does not use EF, uses Dotnet's standard database to access objects plus some helper classes (doing some object conversions, etc.). If you can use a lightweight dapper frame here, maybe you can do some exploring later.
D. There is also a problem of internationalization, Nopcommerce is excellent in this respect, support the interface of multi-language switching. Brnshop this aspect abandoned did not consider, now do software if from the market, start whether to aim at the international market, is also a strategic and tactical double choice.
E. also vaguely sensed that the Nopcommerce plugin seemed more mature and rich
The first analysis of the day is here first, and then the time to read it later. If you are willing to communicate and make friends, you can add my qq:9200118.
(1) dotnet Open source e-commerce system-brnshop&brnmall and foreigners developed Nopcommerce (dotnet two sets of e-commerce to pk--the first article)