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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:46:02+00:00 2026-06-08T23:46:02+00:00

I am developing web application and using codeIgniter framework. I have one module which

  • 0

I am developing web application and using codeIgniter framework. I have one module which is called many times say function “get_small_profile_info”.

My doubt is: If I keep this function in profile library which is very big. each time when i called this function will the whole profile library get executed?

is it good idea of keeping most frequently used functions in separate library.

Is it good idea of having many libraries with fewer functions or less libraries with many function?

  • 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-08T23:46:04+00:00Added an answer on June 8, 2026 at 11:46 pm

    At first cramming a lot of functions into one library sounds good, but a lot of programmers and engineers prefer many libraries depending on the functions they offer, since they can be reused for other projects.

    There really aren’t any downsides using many libraries, but there are a lot of benefits. Often your code is cleaner because you have to think of things in logical units.

    Here we see two competing goals, and the proper balance is dependent on how you will be using the libraries for yourself or for others.

    • Less separation (fewer libraries) usually leads to easier development
      and easier maintenance.
    • More separation (more libraries) leads to more flexibility, and potentially smaller deployments as different products can pick and choose what they want.

    I tend to favor having as few libraries as possible, provided each library’s functionality is generally unique and not repeated. Why are project references bad? Why is it bad to have micro-libraries that each handle their own unique task? The answer is that it’s not bad at all. We should embrace separation of concerns and dry principles.

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

Sidebar

Related Questions

Ok, I have been thinking of developing a web application using the play framework
I am developing a web application using Java/JSP. One class, say Student, has a
I am developing a web application using zend framework. For select statements I have
I am developing an web application using php. One of the requirement is the
We are developing a web application using Spring framework and Hibernate ORM. As far
I have 5 years of work experience in developing WEB and WIN application using
I am developing a web application in java using the Vaadin framework. I am
I am developing an ASP.Net MVC 3 Web application using Razor Views. I have
I'm developing a web application using asp.net. There is a text box which contains
I am developing a web application using JSF on Netbeans 7.0. I have created

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.