Jump to content

n-tier & multiple stores


merilan

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...