php - What is the best solution for 2 sites integrated to each other -


i have 2 sites integrated one, wordpress second site under subdirectory of first site "mysite/community" have integrated registration , login. being hesitant combining tables 1 database since uses both of native sessions. install database of wordpress separate 1 or can combine them? i'm confused of combining them since first site ecommerce site.

what point of integrating them?

do want users impression on using 1 site? if having 1 login , 1 , feel important things.

do want ease administration? merging databases might helpful. when talking 2 databases, won't worry it.

update:

speed: depends on lot if things if 2 or single database faster. way tell try it. , remember tuning worth effort when performance become problem.

reliability single database db problem 1 site becomes automatically problem both sites.

security: similar reliability: vulnerability in 1 site might punch through other site, bad if 1 ecommerce site.

maintainability: if have 1 db have upgrade one, backup one, work effort should reduced. but: can't upgrade 1 while leaving other alone.

usability (for developer): 1 database easier use when have transactions spanning both sites. if don't have those, doesn't matter much.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -