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 206697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:40:09+00:00 2026-05-11T17:40:09+00:00

I’ve been working on an application for a little over two years and have

  • 0

I’ve been working on an application for a little over two years and have developed a lot of useful helpers, utilities, features, setup conventions, etc.

I want to start building a similar application and think I could reuse a lot of the functionality built into the existing application with the new application.

I’ve always heard is it best to extract a framework from an application but not heard much about best practices on going about it. It’s even better knowing changes to the framework could benefit all the similar applications I will be building (there could be a dozen).

Where do I start? Any best practices? Any pitfalls or areas to watch out for?

EDIT: I should clarify a bit, I’m not doing this for anyone but myself. I’m developing similar applications for different industries so the core is 90% the same, the differences are in the details.

  • 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-05-11T17:40:09+00:00Added an answer on May 11, 2026 at 5:40 pm

    Here’s what we at Starling Software have learned from doing this for QAM and QWeb.

    Our approach is to treat this as a refactoring job spread across all the projects using the framework or proto-framework. We separate the framework code within each project into something that’s built separately, so that, e.g., src/myapp contains the application-specific code, and src/qam contains the framework itself. Each project has its own copy of the application-specific code, and there’s also a separate project that contains just the latest version of the framework itself. When we identify something within a specific project that wants to be in the framework, we:

    1. refactor within the project to generalize the code (based on our understanding of both this application and all the others using the framework);
    2. refactor within the project to move the genealized code from the application-specific part to the framework part;
    3. apply this update to the project that contains the “master copy” of the framework;
    4. merge the changes from that master copy into other projects that are also using the framework; and then
    5. refactor within the other projects to use that part of the framework rather than their similar application-specific code.

    This requires a fair amount of discipline to move the changes around quickly. If you’ve just finished developing a new feature and are immediately bringing it into other projects, the integration is easy. Projects that don’t get updated for some time become much more difficult to update to use the latest version of the framework. If you don’t bring changes into the master copy quickly, you may end up with different (and worse yet, conflicting) changes in the framework copies within two projects, and the merge can become quite a pain. You definitely want to update any particular project to the latest version of the framework before you start changing the framework.

    Doing this needs a certain amount of practical support in terms of tools and so on. You’ll want a way to move changes back and forth between the various copies of the framework easily and quickly. We have a custom tool to do this (qu), but I would imagine that one could also use a revision control system, particularly a distributed one that works by moving patches around, to help with this.

    Having a comprehensive test suite for each application helps greatly; I’m not sure I’d want to attempt this without that.

    For sanity, it’s important to keep the changes small. Again, it’s all a matter of how hard it is to merge and move updates. If it’s always quick, and something you’ve been working on very recently, things stay easy. The large the changes are, and the longer it’s been since you worked on that bit of the framework, the harder things become.

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

Sidebar

Ask A Question

Stats

  • Questions 123k
  • Answers 123k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Statics tend to hurt testability. In particular, you'll find it… May 12, 2026 at 1:06 am
  • Editorial Team
    Editorial Team added an answer Are you using System.Linq; ? Distinct is an extension method… May 12, 2026 at 1:06 am
  • Editorial Team
    Editorial Team added an answer Not a fully featured implementation, but it should get you… May 12, 2026 at 1:06 am

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.