How can I develop ThinkPHP ??? In this case, our team intends to make such a big site (in the nature of Enterprise Products ):
Large sites such as 58 cities, group purchasing networks, and SouFun,
First, there is a main station, and then each province's city has a second-level substation, each city substation website layout is unified, the content is different. Can think be used?
This is my idea. please correct me and thank you!
1. use an independent group to complete the entire project.
2. the Home page is in the default Home group.
3. each city exists as an independent group, and each independent group is added as many cities.
Then I think about the database design as follows:
My main site has N tables, and each sub-station in each city copies the structure of the N tables, and then adds its own data. if there are M cities, so I will have N * M tables, and it will be a huge project. I don't know if I have any problems with this design? Please kindly advise! Thank you!
Reply to discussion (solution)
1. The website layout of each sub-station in each city is uniform and the content is different
Can the substation share a set of templates?
2. copy the N table structures of each city substation
Can the processing process for the N tables be considered the same?
3. each city exists as an independent group.
Can I think that m sets of identical codes need to be assigned a value?
I think this should be a data storage problem and it has nothing to do with the code template.