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

  • Home
  • SEARCH
  • 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 6616869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:38:07+00:00 2026-05-25T20:38:07+00:00

I have some experience with asp.net. When the business logic gets complicated, you want

  • 0

I have some experience with asp.net. When the business logic gets complicated, you want to keep the repositories and other business class separated from the main ui project. You don’t want to change the ui project if you need to change the business logic.

In .net I would create a library project and push the business logic in there, this way I can change the library without affecting the ui project.

Where should I put my business logic? If I keep it with my models, it seems to get very messy very fast because there are a lot of classes.

How do you structure rails application that require many classes with business logic ?

  • 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-25T20:38:07+00:00Added an answer on May 25, 2026 at 8:38 pm

    The common wisdom when developing rails application is to put classes and modules that are not directly related to the views, models or controllers in the lib directory.

    Note that rails 3 doesn’t autoload it by default, you will have to put the following in config/application.rb:

    config.autoload_paths += %W(#{config.root}/lib)
    

    Creating a gem could be another option if you want to share your business logic between multiple apps, but it is more involved than simply putting everything into lib.

    This answer would be a good start if you’d like to know more about that.

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

Sidebar

Related Questions

I have some experience in ASP.Net and can work my way around it without
I have very little experience with ASP.NET and I am doing some self-training before
I am new to JSF, but I have some experience with ASP.NET and its
I am a novice with JavaEE but have some experience with ASP.NET MVC. With
I have some experience in developing business logic and database logic and primarily work
I have some experience with ASP.NET MVC, but since a couple of weeks I
Hello I am new to WPF and i do have some experience in ASP.NET
I don't have much experience with ASP.NET and IIS - But I created some
I have some experience using parallel extensions in .Net development, but I was looking
I have some experience writing web applications in Java for class projects. My first

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.