Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9221521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:35:51+00:00 2026-06-18T03:35:51+00:00

I have a site where multiple applications for one business live. There are multiple

  • 0

I have a site where multiple applications for one business live.
There are multiple models that they all share, but each one have a clear distinction between their functionalities.
For instance, one of the apps allows the user to make quotes of the products for the clients. Another app is a shopping cart. Another is for tracking products.
They do different things, for a different audience, but they both use the product, and user models, among others.

My question is, when working with a framework like codeigniter for php or RoR, what is the best architectural decision:

  1. Build only one application with all the functionalities stuffed into
    it.

  2. Build multiple applications and handle the common models and
    libraries in one “master app” (my choice)

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T03:35:52+00:00Added an answer on June 18, 2026 at 3:35 am

    We are working with the same scenario as well. Our solution is in .NET but technology is not the issue to worry about, at least for the most part.

    Our common application commponents are: Customer Account Management, Shopping Cart and Authentication models, shared across 3 distinct client web applications. There are a couple of ways that you may want to investigate to solve this problem. The goal is to share common components across all your websites.

    The approach that we chose was to make all our applications share the same codebase. We extracted and the Customer Account Management, Shopping Cart and Authentication models from all three applications and create a common code base first. The key is to ensure that the common shared models have no clue about the applications that were using it services. In some cases we used injections specific to the applications but the main common components for the most part only cared about which application database to write othe miscelleanous settings common but different for each application.

    The disadvantage is that is each application had it’s own binaries thus when running on the same web server, the code that was loaded into memory was three times as big as each application loaded same common models. But this is a price we knew upfront as memory now a days is quite cheap.

    The advantage is that we have common separations of concerns and if at some point the applications become different enough, they can evolve to become differnt animals.

    Another approach is to separate the common models into web services. But this approach is a bit frigile from a deployment perspective.

    I hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site with multiple pages, and each page has a table that
There have been multiple discussions on this topic in the site but I am
I have three different applications, they all share the ASP.NET membership aspect of the
I have a site in multiple languages. I have a method that returns me
I have a web application that runs multiple websites from one codebase. I have
I have an ASP.NET web site that responds with multiple skins depending on the
I have a system with multiple databases and client applications. All databases are at
Let's say I have a site with multiple links as follows: www.example.com/product/1 www.example.com/product/2 www.example.com/product/3
I have multiple Projects(site) in my Solution (visual studio 2010). when i run my
I have a problem with my site. The site has multiple entities: Articles, Posts,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.