merilan Posted August 29, 2011 Report Share Posted August 29, 2011 hi, I am building a web application for my dad's & uncle's 7 jewelry stores. I am adding a small social component to them, and i do not want to build seven different web app. Would it make sense to use an n-tier application to centralize some of the databases (user, images, etc). Are there any specific pitfalls i should worry about. Thank you in advance Quote Link to comment Share on other sites More sharing options...
newseed Posted August 30, 2011 Report Share Posted August 30, 2011 You most certainly can run as many sites on the same database as you want including the social component. Some will use subdomains for each store location. Others use subfolders. Quote Link to comment Share on other sites More sharing options...
merilan Posted August 30, 2011 Author Report Share Posted August 30, 2011 Will I be able to create the illusion that the sites are not using sub-domains? I prefer: store1.com & store2.com Not: store1.main.com & store2.main.com Will I need to use REST or other web services to do that? I basically want to create the illusion that the sites are independent of each other on the back end, but I want the users to log in with only one Username and Pass? But thank you for the reassurance. Quote Link to comment Share on other sites More sharing options...
newseed Posted August 30, 2011 Report Share Posted August 30, 2011 The domain you prefer will require registering a domain for each (i.e. store1.com is one; store2.com is two; etc.) No matter which method you use to display our domains/subdomains/folders you can connect all those sites to the same database that stores the user id and password so that no matter what site you are on you should be able to login in for each one with only one account registration. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted August 31, 2011 Report Share Posted August 31, 2011 If you want separate domains, you'll probably need to create one core application, then duplicate it on each domain. You can use one central database, so all sites share the same core data. I'd really suggest that you look into some sort of version control system (like Git, Subversion, etc.) to help organize your progress as you develop the core application. Definitely take some extra time at the start of the process to ensure your application is structured correctly/logically, and test thoroughly, since any bugs will affect all seven sites, not just one. Quote Link to comment Share on other sites More sharing options...
merilan Posted September 10, 2011 Author Report Share Posted September 10, 2011 Hey thank you very much guys.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.