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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:06:45+00:00 2026-05-20T00:06:45+00:00

I googled, and was informed that a library is made up of multiple relevant

  • 0

I googled, and was informed that a library is made up of multiple relevant classes. But in Codeigniter, I found that there is virtually only one Class in every Library. Sorry for my limited knowledge for this, but I would appreciate it if you could enlighten me a little bit on this. Thank you very much!

  • 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-20T00:06:46+00:00Added an answer on May 20, 2026 at 12:06 am

    The difference is a semantic one.

    A Class is an implementation of a specific piece of functionality (usually completely encapsulating the functionality.

    A Library is a collection of units of functionality (or just one) that add functionality. Notice I tried to stay away from the word class in that definition. Libraries can be procedural, functional or OOP. That doesn’t detract from the fact that it’s a library. Classes just help the abstraction when dealing with OOP.

    A Framework is a library that imparts architecture choices on how you write code.

    Every framework is therefore a library. Not every library is a framework. CodeIgniter itself can be used as a framework or a library. The difference is if you let the libraries direct your architecture, you’re using a framework. If you do not use the architecture bit, it’s a library.

    It’s definitely a pedantic difference, but a significant one. As a gross-over-simplification, if you’re doing a formal architecture and understand why everything is layered out how it is for your application specifically, you’re using it as a library. If instead you’re building it that way because that’s how CI does it, that’s using a framework. Both have significant benfits, but it’s worth understanding the difference.

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

Sidebar

Related Questions

Googled for a Xml Dom open source library that ships with unit tests, but
Googled a little bit, but still not sure whether there is some standard library
I googled as hard as I can, but I found nothing. What I want
I googled CLR and found out what it is from wikipedia, but I wanted
I googled it but couldn't really find one. Anybody aware of one?
I googled and someone found the answer and linked but it was dead. How
I googled a while, unfortuantely I found that the emacs mode for d is
I googled it but nothing is that straight forward, I am sure others must
I Googled and searched here for the solution, the only thing I've found it
I googled a bit but in vain. I want to know if there is

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.